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
  • Field Details

    • VERSION

      public static final int VERSION
      See Also:
    • 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
    • requiredActions

      @ProtoField(number=14) public Set<String> requiredActions
    • 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
    • groupsMembership

      @Basic(sortable=true) @ProtoField(number=18) public Set<String> groupsMembership
    • rolesMembership

      @Basic(sortable=true) @ProtoField(number=19) public Set<String> rolesMembership
    • notBefore

      @ProtoField(number=22) public Long notBefore
  • Constructor Details

    • HotRodUserEntity

      public HotRodUserEntity()
  • Method Details