public interface AttributeStore<T extends IdentityStoreConfiguration> extends IdentityStore<T>
A special type of IdentityStore that is also capable of providing attribute management functionality.
Modifier and Type | Method and Description |
---|---|
<V extends Serializable> |
getAttribute(IdentityContext context,
AttributedType type,
String attributeName)
Returns the Attribute value with the specified name, for the specified IdentityType
|
void |
loadAttributes(IdentityContext context,
AttributedType attributedType)
Loads all attributes for the given
AttributedType . |
void |
removeAttribute(IdentityContext context,
AttributedType type,
String attributeName)
Removes the specified Attribute value, for the specified IdentityType
|
void |
setAttribute(IdentityContext context,
AttributedType type,
Attribute<? extends Serializable> attribute)
Sets the specified Attribute value for the specified IdentityType
|
add, countQueryResults, countQueryResults, fetchQueryResults, fetchQueryResults, getConfig, remove, setup, update, updateCredential, validateCredentials
void setAttribute(IdentityContext context, AttributedType type, Attribute<? extends Serializable> attribute)
ctx
- identityType
- attribute
- <V extends Serializable> Attribute<V> getAttribute(IdentityContext context, AttributedType type, String attributeName)
ctx
- identityType
- attributeName
- void removeAttribute(IdentityContext context, AttributedType type, String attributeName)
ctx
- identityType
- attributeName
- void loadAttributes(IdentityContext context, AttributedType attributedType)
AttributedType
.context
- attributedType
- Copyright © 2018 JBoss by Red Hat. All rights reserved.