Interface DataAccessProviderPluginDescriptor<C extends Configuration>
- All Superinterfaces:
PluginDescriptor<C>
public interface DataAccessProviderPluginDescriptor<C extends Configuration>
extends PluginDescriptor<C>
A Plugin descriptor that describes implementations of
DataAccessProvider for
Attributes, credentials,
Delegation,
nonce, sessions, Token
and AccountAttributes.
Not all data access provider types need to be provided. Return null from any of the getter methods
in this interface if the data access provider returned by the getter is not implemented by this plugin
(this is what the default implementation of all getters does). If a type is not provided, it is a
runtime error to attempt to use such data source provider in configuration.
Examples of implementations of a data access provider are SQL (the data is obtained via a SQL database) and Webservice (the data is obtained from a web API).
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable Class<? extends AttributeDataAccessProvider>Gives the implementation type for theAttributeDataAccessProviderthat this plugin implements.default @Nullable Class<? extends BucketDataAccessProvider>Gives the implementation type for theBucketDataAccessProviderthat this plugin implements.default @Nullable Class<? extends CredentialDataAccessProvider>Gives the implementation type for theCredentialDataAccessProviderthat this plugin implements.default @Nullable Class<? extends DelegationDataAccessProvider>Gives the implementation type for theDelegationDataAccessProviderthat this plugin implements.default @Nullable Class<? extends DeviceDataAccessProvider>Gives the implementation type for theDeviceDataAccessProviderthat this plugin implements.default @Nullable Class<? extends DynamicallyRegisteredClientDataAccessProvider>Gives the implementation type for theDynamicallyRegisteredClientDataAccessProviderthat this plugin implements.default @Nullable Class<? extends NonceDataAccessProvider>Gives the implementation type for theNonceDataAccessProviderthat this plugin implements.default @Nullable Class<? extends SessionDataAccessProvider>Gives the implementation type for theSessionDataAccessProviderthat this plugin implements.default @Nullable Class<? extends TokenDataAccessProvider>Gives the implementation type for theTokenDataAccessProviderthat this plugin implements.default @Nullable Class<? extends UserAccountDataAccessProvider>Gives the implementation type for theUserAccountDataAccessProviderthat this plugin implements.Methods inherited from interface se.curity.identityserver.sdk.plugin.PluginDescriptor
createManagedObject, getConfigurationType, getPluginImplementationType
-
Method Details
-
getAttributeDataAccessProvider
@Nullable default @Nullable Class<? extends AttributeDataAccessProvider> getAttributeDataAccessProvider()Gives the implementation type for theAttributeDataAccessProviderthat this plugin implements.- Returns:
- The specific
AttributeDataAccessProviderclass - See Also:
-
getCredentialDataAccessProvider
@Nullable default @Nullable Class<? extends CredentialDataAccessProvider> getCredentialDataAccessProvider()Gives the implementation type for theCredentialDataAccessProviderthat this plugin implements.- Returns:
- The
CredentialDataAccessProviderimplementation class - See Also:
-
getDelegationDataAccessProvider
@Nullable default @Nullable Class<? extends DelegationDataAccessProvider> getDelegationDataAccessProvider()Gives the implementation type for theDelegationDataAccessProviderthat this plugin implements.- Returns:
- The
DelegationDataAccessProviderimplementation class - See Also:
-
getNonceDataAccessProvider
Gives the implementation type for theNonceDataAccessProviderthat this plugin implements.- Returns:
- The
NonceDataAccessProviderimplementation class - See Also:
-
getSessionDataAccessProvider
@Nullable default @Nullable Class<? extends SessionDataAccessProvider> getSessionDataAccessProvider()Gives the implementation type for theSessionDataAccessProviderthat this plugin implements.- Returns:
- The
SessionDataAccessProviderimplementation class - See Also:
-
getTokenDataAccessProvider
Gives the implementation type for theTokenDataAccessProviderthat this plugin implements.- Returns:
- The
TokenDataAccessProviderimplementation class - See Also:
-
getUserAccountDataAccessProvider
@Nullable default @Nullable Class<? extends UserAccountDataAccessProvider> getUserAccountDataAccessProvider()Gives the implementation type for theUserAccountDataAccessProviderthat this plugin implements.- Returns:
- The
UserAccountDataAccessProviderimplementation class - See Also:
-
getDeviceDataAccessProvider
Gives the implementation type for theDeviceDataAccessProviderthat this plugin implements.- Returns:
- The
DeviceDataAccessProviderimplementation class - See Also:
-
getDynamicallyRegisteredClientDataAccessProvider
@Nullable default @Nullable Class<? extends DynamicallyRegisteredClientDataAccessProvider> getDynamicallyRegisteredClientDataAccessProvider()Gives the implementation type for theDynamicallyRegisteredClientDataAccessProviderthat this plugin implements.- Returns:
- The
DynamicallyRegisteredClientDataAccessProviderimplementation class - Since:
- 2.1.0
- See Also:
-
getBucketDataAccessProvider
Gives the implementation type for theBucketDataAccessProviderthat this plugin implements.- Returns:
- The
BucketDataAccessProviderimplementation class - Since:
- 3.0.0
- See Also:
-