Class CachedRole
java.lang.Object
org.keycloak.models.cache.infinispan.entities.AbstractRevisioned
org.keycloak.models.cache.infinispan.entities.CachedRole
- All Implemented Interfaces:
CachedObject,InRealm,Revisioned
- Direct Known Subclasses:
CachedClientRole,CachedRealmRole
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttributes(KeycloakSession session, Supplier<RoleModel> roleModel) Use this so the cache invalidation can retrieve any previously cached role mappings to determine if this items should be evicted.getComposites(KeycloakSession session, Supplier<RoleModel> roleModel) getName()getRealm()booleanMethods inherited from class org.keycloak.models.cache.infinispan.entities.AbstractRevisioned
getCacheTimestamp, getId, getRevision, setRevisionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.models.cache.infinispan.entities.Revisioned
getId, getRevision, setRevision
-
Field Details
-
name
-
realm
-
description
-
composite
protected boolean composite -
composites
-
-
Constructor Details
-
CachedRole
-
-
Method Details
-
getName
-
getRealm
-
getDescription
-
isComposite
public boolean isComposite() -
getComposites
-
getCachedComposites
Use this so the cache invalidation can retrieve any previously cached role mappings to determine if this items should be evicted. Will return an empty list if it hasn't been cached yet (and then no invalidation is necessary) -
getAttributes
public MultivaluedHashMap<String,String> getAttributes(KeycloakSession session, Supplier<RoleModel> roleModel)
-