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 Summary
Nested Classes Modifier and Type Class Description static class
HotRodUserEntity.AbstractHotRodUserEntityDelegate
static interface
HotRodUserEntity.HotRodUserEntitySchema
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Field Summary
Fields Modifier and Type Field Description Set<HotRodAttributeEntity>
attributes
Long
createdTimestamp
List<HotRodUserCredentialEntity>
credentials
String
email
String
emailConstraint
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 queryBoolean
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 queryInteger
entityVersion
Set<HotRodUserFederatedIdentityEntity>
federatedIdentities
String
federationLink
String
firstName
Set<String>
groupsMembership
String
id
String
lastName
Long
notBefore
String
realmId
Set<String>
requiredActions
Set<String>
rolesMembership
String
serviceAccountClientLink
Set<HotRodUserConsentEntity>
userConsents
String
username
String
usernameLowercase
static int
VERSION
-
Fields inherited from class org.keycloak.models.map.storage.hotRod.common.AbstractHotRodEntity
updated
-
-
Constructor Summary
Constructors Constructor Description HotRodUserEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
-
Methods inherited from class org.keycloak.models.map.storage.hotRod.common.AbstractHotRodEntity
clearUpdatedFlag, isUpdated
-
-
-
-
Field Detail
-
VERSION
public 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
-
-