Package org.keycloak.models
Class UserModel.SearchableFields
- java.lang.Object
-
- org.keycloak.models.UserModel.SearchableFields
-
-
Field Summary
Fields Modifier and Type Field Description static SearchableModelField<UserModel>
ASSIGNED_GROUP
static SearchableModelField<UserModel>
ASSIGNED_ROLE
static SearchableModelField<UserModel>
ATTRIBUTE
Search for attribute value.static SearchableModelField<UserModel>
CONSENT_CLIENT_FEDERATION_LINK
Search for users that have consent set for a particular client that originates in the given client provider.static SearchableModelField<UserModel>
CONSENT_FOR_CLIENT
Search for users that have consent set for a particular client.static SearchableModelField<UserModel>
CONSENT_WITH_CLIENT_SCOPE
Search for users that have consent that has given client scope.static SearchableModelField<UserModel>
EMAIL
static SearchableModelField<UserModel>
EMAIL_VERIFIED
static SearchableModelField<UserModel>
ENABLED
static SearchableModelField<UserModel>
FEDERATION_LINK
static SearchableModelField<UserModel>
FIRST_NAME
static SearchableModelField<UserModel>
ID
static SearchableModelField<UserModel>
IDP_AND_USER
This field can only searched either for users coming from an IDP, then the operand is (idp_alias), or as user coming from a particular IDP with given username there, then the operand is a pair (idp_alias, idp_user_id).static SearchableModelField<UserModel>
LAST_NAME
static SearchableModelField<UserModel>
REALM_ID
static SearchableModelField<UserModel>
SERVICE_ACCOUNT_CLIENT
ID of the client corresponding to the service accountstatic SearchableModelField<UserModel>
USERNAME
Search for user's username in case sensitive mode.static SearchableModelField<UserModel>
USERNAME_CASE_INSENSITIVE
Search for user's username in case insensitive mode.
-
Constructor Summary
Constructors Constructor Description SearchableFields()
-
-
-
Field Detail
-
ID
public static final SearchableModelField<UserModel> ID
-
REALM_ID
public static final SearchableModelField<UserModel> REALM_ID
-
FIRST_NAME
public static final SearchableModelField<UserModel> FIRST_NAME
-
LAST_NAME
public static final SearchableModelField<UserModel> LAST_NAME
-
EMAIL
public static final SearchableModelField<UserModel> EMAIL
-
ENABLED
public static final SearchableModelField<UserModel> ENABLED
-
EMAIL_VERIFIED
public static final SearchableModelField<UserModel> EMAIL_VERIFIED
-
FEDERATION_LINK
public static final SearchableModelField<UserModel> FEDERATION_LINK
-
USERNAME
public static final SearchableModelField<UserModel> USERNAME
Search for user's username in case sensitive mode.
-
USERNAME_CASE_INSENSITIVE
public static final SearchableModelField<UserModel> USERNAME_CASE_INSENSITIVE
Search for user's username in case insensitive mode.
-
IDP_AND_USER
public static final SearchableModelField<UserModel> IDP_AND_USER
This field can only searched either for users coming from an IDP, then the operand is (idp_alias), or as user coming from a particular IDP with given username there, then the operand is a pair (idp_alias, idp_user_id). It is also possible to search regardless ofidp_alias
, then the pair is(null, idp_user_id)
.
-
ASSIGNED_ROLE
public static final SearchableModelField<UserModel> ASSIGNED_ROLE
-
ASSIGNED_GROUP
public static final SearchableModelField<UserModel> ASSIGNED_GROUP
-
CONSENT_FOR_CLIENT
public static final SearchableModelField<UserModel> CONSENT_FOR_CLIENT
Search for users that have consent set for a particular client.
-
CONSENT_CLIENT_FEDERATION_LINK
public static final SearchableModelField<UserModel> CONSENT_CLIENT_FEDERATION_LINK
Search for users that have consent set for a particular client that originates in the given client provider.
-
CONSENT_WITH_CLIENT_SCOPE
public static final SearchableModelField<UserModel> CONSENT_WITH_CLIENT_SCOPE
Search for users that have consent that has given client scope.
-
SERVICE_ACCOUNT_CLIENT
public static final SearchableModelField<UserModel> SERVICE_ACCOUNT_CLIENT
ID of the client corresponding to the service account
-
ATTRIBUTE
public static final SearchableModelField<UserModel> ATTRIBUTE
Search for attribute value. The parameters is a pair(attribute_name, values...)
whereattribute_name
is always checked for equality, and the value (which can be any numbert of values, none for operators like EXISTS or potentially many for e.g. IN) is checked per the operator.
-
-