Class HotRodUserEntity
- java.lang.Object
- 
- org.keycloak.models.map.storage.hotRod.common.AbstractHotRodEntity
- 
- org.keycloak.models.map.storage.hotRod.user.HotRodUserEntity
 
 
- 
- All Implemented Interfaces:
- UpdatableEntity
 
 @Indexed @ProtoDoc("schema-version: 1") public class HotRodUserEntity extends AbstractHotRodEntity
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classHotRodUserEntity.AbstractHotRodUserEntityDelegatestatic interfaceHotRodUserEntity.HotRodUserEntitySchema- 
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntityUpdatableEntity.Impl
 
- 
 - 
Field SummaryFields Modifier and Type Field Description Set<HotRodAttributeEntity>attributesLongcreatedTimestampList<HotRodUserCredentialEntity>credentialsStringemailStringemailConstraintBooleanemailVerifiedTODO: Workaround for ISPN-8584 When this index is missing Ickle queries like following: FROM kc.HotRodUserEntity c WHERE (c.realmId = "admin-client-test" AND c.enabled = true AND c.email : "user*") fail with: Error: {"error":{"message":"Error executing search","cause":"Unexpected condition type (FullTextTermExpr): PROP(email):'user*'"}} In other words it is not possible to combine searching for Analyzed field and non-indexed field in one Ickle queryBooleanenabledTODO: Workaround for ISPN-8584 This index shouldn't be there as majority of object will be enabled == true When this index is missing Ickle queries like following: FROM kc.HotRodUserEntity c WHERE (c.realmId = "admin-client-test" AND c.enabled = true AND c.email : "user*") fail with: Error: {"error":{"message":"Error executing search","cause":"Unexpected condition type (FullTextTermExpr): PROP(email):'user*'"}} In other words it is not possible to combine searching for Analyzed field and non-indexed field in one Ickle queryIntegerentityVersionSet<HotRodUserFederatedIdentityEntity>federatedIdentitiesStringfederationLinkStringfirstNameSet<String>groupsMembershipStringidStringlastNameLongnotBeforeStringrealmIdSet<String>requiredActionsSet<String>rolesMembershipStringserviceAccountClientLinkSet<HotRodUserConsentEntity>userConsentsStringusernameStringusernameLowercasestatic intVERSION- 
Fields inherited from class org.keycloak.models.map.storage.hotRod.common.AbstractHotRodEntityupdated
 
- 
 - 
Constructor SummaryConstructors Constructor Description HotRodUserEntity()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()- 
Methods inherited from class org.keycloak.models.map.storage.hotRod.common.AbstractHotRodEntityclearUpdatedFlag, isUpdated
 
- 
 
- 
- 
- 
Field Detail- 
VERSIONpublic static final int VERSION - See Also:
- Constant Field Values
 
 - 
entityVersion@Basic(projectable=true) @ProtoField(number=1) public Integer entityVersion 
 - 
id@Basic(projectable=true, sortable=true) @ProtoField(number=2) public String id
 - 
realmId@Basic(sortable=true) @ProtoField(number=3) public String realmId 
 - 
username@Basic(sortable=true) @ProtoField(number=4) public String username 
 - 
usernameLowercase@Keyword(sortable=true, normalizer="lowercase") @ProtoField(number=5) public String usernameLowercase
 - 
firstName@Keyword(sortable=true, normalizer="lowercase") @ProtoField(number=6) public String firstName
 - 
createdTimestamp@ProtoField(number=7) public Long createdTimestamp 
 - 
lastName@Keyword(sortable=true, normalizer="lowercase") @ProtoField(number=8) public String lastName
 - 
email@Keyword(sortable=true, normalizer="lowercase") @ProtoField(number=9) public String email
 - 
enabled@Basic(sortable=true) @ProtoField(number=10) public Boolean enabled TODO: Workaround for ISPN-8584 This index shouldn't be there as majority of object will be enabled == true When this index is missing Ickle queries like following: FROM kc.HotRodUserEntity c WHERE (c.realmId = "admin-client-test" AND c.enabled = true AND c.email : "user*") fail with: Error: {"error":{"message":"Error executing search","cause":"Unexpected condition type (FullTextTermExpr): PROP(email):'user*'"}} In other words it is not possible to combine searching for Analyzed field and non-indexed field in one Ickle query
 - 
emailVerified@Basic(sortable=true) @ProtoField(number=11) public Boolean emailVerified TODO: Workaround for ISPN-8584 When this index is missing Ickle queries like following: FROM kc.HotRodUserEntity c WHERE (c.realmId = "admin-client-test" AND c.enabled = true AND c.email : "user*") fail with: Error: {"error":{"message":"Error executing search","cause":"Unexpected condition type (FullTextTermExpr): PROP(email):'user*'"}} In other words it is not possible to combine searching for Analyzed field and non-indexed field in one Ickle query
 - 
emailConstraint@ProtoField(number=12) public String emailConstraint 
 - 
attributes@Basic(sortable=true) @ProtoField(number=13) public Set<HotRodAttributeEntity> attributes 
 - 
credentials@ProtoField(number=15) public List<HotRodUserCredentialEntity> credentials 
 - 
federatedIdentities@Basic(sortable=true) @ProtoField(number=16) public Set<HotRodUserFederatedIdentityEntity> federatedIdentities 
 - 
userConsents@Basic(sortable=true) @ProtoField(number=17) public Set<HotRodUserConsentEntity> userConsents 
 - 
federationLink@Basic(sortable=true) @ProtoField(number=20) public String federationLink 
 - 
serviceAccountClientLink@Basic(sortable=true) @ProtoField(number=21) public String serviceAccountClientLink 
 - 
notBefore@ProtoField(number=22) public Long notBefore 
 
- 
 
-