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.AbstractExtendableRevisionedcachedWith
 
- 
 - 
Constructor SummaryConstructors Constructor Description CachedUser(Long revision, RealmModel realm, UserModel user, int notBefore)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MultivaluedHashMap<String,String>getAttributes(Supplier<UserModel> userModel)LonggetCreatedTimestamp()StringgetEmail()StringgetFederationLink()StringgetFirstAttribute(String name, Supplier<UserModel> userModel)Set<String>getGroups(Supplier<UserModel> userModel)intgetNotBefore()StringgetRealm()Set<String>getRequiredActions(Supplier<UserModel> userModel)Set<String>getRoleMappings(Supplier<UserModel> userModel)StringgetServiceAccountClientLink()List<CredentialModel>getStoredCredentials(Supplier<UserModel> userModel)StringgetUsername()booleanisEmailVerified()booleanisEnabled()- 
Methods inherited from class org.keycloak.models.cache.infinispan.entities.AbstractExtendableRevisionedgetCachedWith
 - 
Methods inherited from class org.keycloak.models.cache.infinispan.entities.AbstractRevisionedgetCacheTimestamp, getId, getRevision, setRevision
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.models.cache.infinispan.entities.RevisionedgetId, getRevision, setRevision
 
- 
 
- 
- 
- 
Constructor Detail- 
CachedUserpublic CachedUser(Long revision, RealmModel realm, UserModel user, int notBefore) 
 
- 
 - 
Method Detail- 
getUsernamepublic String getUsername() 
 - 
getCreatedTimestamppublic Long getCreatedTimestamp() 
 - 
getEmailpublic String getEmail() 
 - 
isEmailVerifiedpublic boolean isEmailVerified() 
 - 
isEnabledpublic boolean isEnabled() 
 - 
getAttributespublic MultivaluedHashMap<String,String> getAttributes(Supplier<UserModel> userModel) 
 - 
getFederationLinkpublic String getFederationLink() 
 - 
getServiceAccountClientLinkpublic String getServiceAccountClientLink() 
 - 
getNotBeforepublic int getNotBefore() 
 - 
getStoredCredentialspublic List<CredentialModel> getStoredCredentials(Supplier<UserModel> userModel) 
 
- 
 
-