public interface IdentityStoreConfiguration
Represents a configuration for a specific IdentityStore
.
Modifier and Type | Interface and Description |
---|---|
static class |
IdentityStoreConfiguration.IdentityOperation
Supported operations for @{AttributedType} types.
|
Modifier and Type | Method and Description |
---|---|
void |
addContextInitializer(ContextInitializer contextInitializer)
Adds a
ContextInitializer instance which will be used to initialize IdentityContext s for
this configuration. |
List<ContextInitializer> |
getContextInitializers()
Returns a List of the configured context initializers for this configuration.
|
Map<String,Object> |
getCredentialHandlerProperties()
Allows credential handler behaviour to be customized via a set of property values
|
List<Class<? extends CredentialHandler>> |
getCredentialHandlers()
Returns a
List of the CredentialHandler types configured. |
Class<? extends IdentityStore> |
getIdentityStoreType()
Returns the
IdentityStore type associated with this configuration. |
Map<Class<? extends AttributedType>,Set<IdentityStoreConfiguration.IdentityOperation>> |
getSupportedTypes() |
Map<Class<? extends AttributedType>,Set<IdentityStoreConfiguration.IdentityOperation>> |
getUnsupportedTypes() |
void |
initializeContext(IdentityContext context,
IdentityStore<?> store)
Initialize the specified
IdentityContext |
boolean |
supportsAttribute()
Indicates if ad-hoc attributes are supported.
|
boolean |
supportsCredential()
Indicates if credentials are supported.
|
boolean |
supportsPartition()
Indicates if this configuration supports partition storage.
|
boolean |
supportsPermissions()
Indicates whether this configuration supports the storing of resource permissions
|
boolean |
supportsRelationship()
Indicates if relationships are supported.
|
boolean |
supportsType(Class<? extends AttributedType> type,
IdentityStoreConfiguration.IdentityOperation operation)
Checks if the configuration supports the given
AttributedType and IdentityStoreConfiguration.IdentityOperation . |
List<ContextInitializer> getContextInitializers()
Map<Class<? extends AttributedType>,Set<IdentityStoreConfiguration.IdentityOperation>> getUnsupportedTypes()
Map<Class<? extends AttributedType>,Set<IdentityStoreConfiguration.IdentityOperation>> getSupportedTypes()
boolean supportsAttribute()
Indicates if ad-hoc attributes are supported.
boolean supportsCredential()
Indicates if credentials are supported.
boolean supportsRelationship()
Indicates if relationships are supported.
void addContextInitializer(ContextInitializer contextInitializer)
Adds a ContextInitializer
instance which will be used to initialize IdentityContext
s for
this configuration.
void initializeContext(IdentityContext context, IdentityStore<?> store)
Initialize the specified IdentityContext
context
- The IdentityContext
to initializeList<Class<? extends CredentialHandler>> getCredentialHandlers()
Returns a List
of the CredentialHandler
types configured.
Map<String,Object> getCredentialHandlerProperties()
Allows credential handler behaviour to be customized via a set of property values
boolean supportsType(Class<? extends AttributedType> type, IdentityStoreConfiguration.IdentityOperation operation)
Checks if the configuration supports the given AttributedType
and IdentityStoreConfiguration.IdentityOperation
.
type
- operation
- boolean supportsPartition()
Indicates if this configuration supports partition storage.
boolean supportsPermissions()
Class<? extends IdentityStore> getIdentityStoreType()
Returns the IdentityStore
type associated with this configuration.
Copyright © 2018 JBoss by Red Hat. All rights reserved.