Class RoleAdapter
java.lang.Object
org.keycloak.models.cache.infinispan.RoleAdapter
- All Implemented Interfaces:
RoleModel
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.RoleModel
RoleModel.RoleNameChangeEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CachedRoleprotected RealmCacheSessionprotected booleanprotected RealmModelprotected RoleModel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCompositeRole(RoleModel role) booleangetAttributeStream(String name) getCompositesStream(String search, Integer first, Integer max) protected voidgetFirstAttribute(String name) getId()getName()inthashCode()booleanvoidbooleanbooleanprotected booleanvoidremoveAttribute(String name) voidremoveCompositeRole(RoleModel role) voidsetAttribute(String name, List<String> values) voidsetDescription(String description) voidvoidsetSingleAttribute(String name, String value)
-
Field Details
-
updated
-
cached
-
cacheSession
-
realm
-
composites
-
invalidated
protected boolean invalidated
-
-
Constructor Details
-
RoleAdapter
-
-
Method Details
-
getDelegateForUpdate
protected void getDelegateForUpdate() -
invalidate
public void invalidate() -
isUpdated
protected boolean isUpdated() -
getName
-
getDescription
- Specified by:
getDescriptionin interfaceRoleModel
-
setDescription
- Specified by:
setDescriptionin interfaceRoleModel
-
getId
-
setName
-
isComposite
public boolean isComposite()- Specified by:
isCompositein interfaceRoleModel
-
addCompositeRole
- Specified by:
addCompositeRolein interfaceRoleModel
-
removeCompositeRole
- Specified by:
removeCompositeRolein interfaceRoleModel
-
getCompositesStream
- Specified by:
getCompositesStreamin interfaceRoleModel
-
getCompositesStream
- Specified by:
getCompositesStreamin interfaceRoleModel
-
isClientRole
public boolean isClientRole()- Specified by:
isClientRolein interfaceRoleModel
-
getContainerId
- Specified by:
getContainerIdin interfaceRoleModel
-
getContainer
- Specified by:
getContainerin interfaceRoleModel
-
hasRole
-
setSingleAttribute
- Specified by:
setSingleAttributein interfaceRoleModel
-
setAttribute
- Specified by:
setAttributein interfaceRoleModel
-
removeAttribute
- Specified by:
removeAttributein interfaceRoleModel
-
getFirstAttribute
- Specified by:
getFirstAttributein interfaceRoleModel
-
getAttributeStream
- Specified by:
getAttributeStreamin interfaceRoleModel
-
getAttributes
- Specified by:
getAttributesin interfaceRoleModel
-
equals
-
hashCode
public int hashCode()
-