Class CachedUser
- java.lang.Object
-
- org.keycloak.models.cache.infinispan.entities.AbstractRevisioned
-
- org.keycloak.models.cache.infinispan.entities.AbstractExtendableRevisioned
-
- org.keycloak.models.cache.infinispan.entities.CachedUser
-
- All Implemented Interfaces:
Serializable
,CachedObject
,InRealm
,Revisioned
public class CachedUser extends AbstractExtendableRevisioned implements InRealm
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.cache.infinispan.entities.AbstractExtendableRevisioned
cachedWith
-
-
Constructor Summary
Constructors Constructor Description CachedUser(Long revision, RealmModel realm, UserModel user, int notBefore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultivaluedHashMap<String,String>
getAttributes(Supplier<UserModel> userModel)
Long
getCreatedTimestamp()
String
getEmail()
String
getFederationLink()
String
getFirstAttribute(String name, Supplier<UserModel> userModel)
Set<String>
getGroups(Supplier<UserModel> userModel)
int
getNotBefore()
String
getRealm()
Set<String>
getRequiredActions(Supplier<UserModel> userModel)
Set<String>
getRoleMappings(Supplier<UserModel> userModel)
String
getServiceAccountClientLink()
List<CredentialModel>
getStoredCredentials(Supplier<UserModel> userModel)
String
getUsername()
boolean
isEmailVerified()
boolean
isEnabled()
-
Methods inherited from class org.keycloak.models.cache.infinispan.entities.AbstractExtendableRevisioned
getCachedWith
-
Methods inherited from class org.keycloak.models.cache.infinispan.entities.AbstractRevisioned
getCacheTimestamp, getId, getRevision, setRevision
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.models.cache.infinispan.entities.Revisioned
getId, getRevision, setRevision
-
-
-
-
Constructor Detail
-
CachedUser
public CachedUser(Long revision, RealmModel realm, UserModel user, int notBefore)
-
-
Method Detail
-
getUsername
public String getUsername()
-
getCreatedTimestamp
public Long getCreatedTimestamp()
-
getEmail
public String getEmail()
-
isEmailVerified
public boolean isEmailVerified()
-
isEnabled
public boolean isEnabled()
-
getAttributes
public MultivaluedHashMap<String,String> getAttributes(Supplier<UserModel> userModel)
-
getFederationLink
public String getFederationLink()
-
getServiceAccountClientLink
public String getServiceAccountClientLink()
-
getNotBefore
public int getNotBefore()
-
getStoredCredentials
public List<CredentialModel> getStoredCredentials(Supplier<UserModel> userModel)
-
-