Uses of Interface
org.keycloak.models.RoleModel
-
-
Uses of RoleModel in org.keycloak.exportimport.util
Methods in org.keycloak.exportimport.util with parameters of type RoleModel Modifier and Type Method Description static RoleRepresentation
ExportUtils. exportRole(RoleModel role)
Full export of role including composite rolesMethod parameters in org.keycloak.exportimport.util with type arguments of type RoleModel Modifier and Type Method Description static List<RoleRepresentation>
ExportUtils. exportRoles(Stream<RoleModel> roles)
-
Uses of RoleModel in org.keycloak.federation.kerberos
Methods in org.keycloak.federation.kerberos with parameters of type RoleModel Modifier and Type Method Description void
KerberosFederationProvider. preRemove(RealmModel realm, RoleModel role)
-
Uses of RoleModel in org.keycloak.federation.sssd
Methods in org.keycloak.federation.sssd with parameters of type RoleModel Modifier and Type Method Description void
SSSDFederationProvider. preRemove(RealmModel realm, RoleModel role)
-
Uses of RoleModel in org.keycloak.forms.account.freemarker.model
Methods in org.keycloak.forms.account.freemarker.model that return types with arguments of type RoleModel Modifier and Type Method Description List<RoleModel>
ApplicationsBean.ApplicationEntry. getRealmRolesAvailable()
Constructor parameters in org.keycloak.forms.account.freemarker.model with type arguments of type RoleModel Constructor Description ApplicationEntry(KeycloakSession session, List<RoleModel> realmRolesAvailable, MultivaluedHashMap<String,ApplicationsBean.ClientRoleEntry> resourceRolesAvailable, ClientModel client, List<String> clientScopesGranted, List<String> additionalGrants)
-
Uses of RoleModel in org.keycloak.models
Fields in org.keycloak.models with type parameters of type RoleModel Modifier and Type Field Description static SearchableModelField<RoleModel>
RoleModel.SearchableFields. CLIENT_ID
If client role, ID of the client (not the clientId)static SearchableModelField<RoleModel>
RoleModel.SearchableFields. COMPOSITE_ROLE
static SearchableModelField<RoleModel>
RoleModel.SearchableFields. DESCRIPTION
static SearchableModelField<RoleModel>
RoleModel.SearchableFields. ID
static SearchableModelField<RoleModel>
RoleModel.SearchableFields. IS_CLIENT_ROLE
Deprecated.Please useRoleModel.SearchableFields.CLIENT_ID
SearchableField with operators EXISTS/NOT_EXISTS to replace field IS_CLIENT_ROLE with operator EQ with value true/false.static SearchableModelField<RoleModel>
RoleModel.SearchableFields. NAME
static SearchableModelField<RoleModel>
RoleModel.SearchableFields. REALM_ID
Methods in org.keycloak.models that return RoleModel Modifier and Type Method Description default RoleModel
RealmProvider. addClientRole(RealmModel realm, ClientModel client, String name)
Deprecated.Use the corresponding method fromRoleProvider
.default RoleModel
RealmProvider. addClientRole(RealmModel realm, ClientModel client, String id, String name)
Deprecated.Use the corresponding method fromRoleProvider
.default RoleModel
RoleProvider. addClientRole(ClientModel client, String name)
Adds a client role with givenname
to the given client.RoleModel
RoleProvider. addClientRole(ClientModel client, String id, String name)
Adds a client role with given internal ID andname
to the given client.default RoleModel
RealmProvider. addRealmRole(RealmModel realm, String name)
Deprecated.Use the corresponding method fromRoleProvider
.RoleModel
RealmProvider. addRealmRole(RealmModel realm, String id, String name)
Deprecated.Use the corresponding method fromRoleProvider
.default RoleModel
RoleProvider. addRealmRole(RealmModel realm, String name)
Adds a realm role with givenname
to the given realm.RoleModel
RoleProvider. addRealmRole(RealmModel realm, String id, String name)
Adds a realm role with given internal ID andname
to the given realm.RoleModel
RoleContainerModel. addRole(String name)
RoleModel
RoleContainerModel. addRole(String id, String name)
default RoleModel
RealmProvider. getClientRole(RealmModel realm, ClientModel client, String name)
Deprecated.Use the corresponding method fromRoleProvider
.RoleModel
RealmModel. getDefaultRole()
Returns default realm role.RoleModel
RealmProvider. getRealmRole(RealmModel realm, String name)
Deprecated.Use the corresponding method fromRoleProvider
.RoleModel
RoleContainerModel. getRole(String name)
RoleModel
RoleContainerModel.RoleRemovedEvent. getRole()
RoleModel
RealmModel. getRoleById(String id)
default RoleModel
RealmProvider. getRoleById(String id, RealmModel realm)
Deprecated.Use the corresponding method fromRoleProvider
.Methods in org.keycloak.models that return types with arguments of type RoleModel Modifier and Type Method Description Stream<RoleModel>
RoleMapperModel. getClientRoleMappingsStream(ClientModel app)
Returns stream of client roles that are directly set to this object for the given client.default Set<RoleModel>
RealmProvider. getClientRoles(RealmModel realm, ClientModel client)
Deprecated.Use the corresponding method fromRoleProvider
.default Set<RoleModel>
RealmProvider. getClientRoles(RealmModel realm, ClientModel client, Integer first, Integer max)
Deprecated.Use the corresponding method fromRoleProvider
.default Stream<RoleModel>
RoleProvider. getClientRolesStream(ClientModel client)
Returns all the client roles of the given client.Stream<RoleModel>
RoleProvider. getClientRolesStream(ClientModel client, Integer first, Integer max)
Returns the client roles of the given client.default Stream<RoleModel>
RoleModel. getCompositesStream()
Returns all composite roles as a stream.Stream<RoleModel>
RoleModel. getCompositesStream(String search, Integer first, Integer max)
Returns a paginated stream of composite roles ofthis
role that contain given string in its name.Stream<RoleModel>
RoleMapperModel. getRealmRoleMappingsStream()
Returns stream of realm roles that are directly set to this object.default Set<RoleModel>
RealmProvider. getRealmRoles(RealmModel realm, Integer first, Integer max)
Deprecated.Use the corresponding method fromRoleProvider
.default Stream<RoleModel>
RoleProvider. getRealmRolesStream(RealmModel realm)
Returns all the realm roles of the given realm as a stream.Stream<RoleModel>
RoleProvider. getRealmRolesStream(RealmModel realm, Integer first, Integer max)
Returns the realm roles of the given realm as a stream.Stream<RoleModel>
ScopeContainerModel. getRealmScopeMappingsStream()
From the scope mappings returned byScopeContainerModel.getScopeMappingsStream()
returns only those that belong to the realm that owns this scope container.Stream<RoleModel>
RoleMapperModel. getRoleMappingsStream()
Returns stream of all role (both realm all client) that are directly set to this object.Stream<RoleModel>
ClientSessionContext. getRolesStream()
Returns all roles including composite ones as a stream.Stream<RoleModel>
RoleContainerModel. getRolesStream()
Returns available roles as a stream.Stream<RoleModel>
RoleContainerModel. getRolesStream(Integer firstResult, Integer maxResults)
Returns available roles as a stream.Stream<RoleModel>
RoleProvider. getRolesStream(RealmModel realm, Stream<String> ids, String search, Integer first, Integer max)
Returns a paginated stream of roles with given ids and given search value in role names.Stream<RoleModel>
ScopeContainerModel. getScopeMappingsStream()
Returns scope mappings for this scope container as a stream.default Set<RoleModel>
RealmProvider. searchForClientRoles(RealmModel realm, ClientModel client, String search, Integer first, Integer max)
Deprecated.Use the corresponding method fromRoleProvider
.default Set<RoleModel>
RealmProvider. searchForRoles(RealmModel realm, String search, Integer first, Integer max)
Deprecated.Use the corresponding method fromRoleProvider
.Stream<RoleModel>
RoleContainerModel. searchForRolesStream(String search, Integer first, Integer max)
Searches roles by the given name.Methods in org.keycloak.models with parameters of type RoleModel Modifier and Type Method Description void
RoleModel. addCompositeRole(RoleModel role)
void
ScopeContainerModel. addScopeMapping(RoleModel role)
default void
RealmModel. addToDefaultRoles(RoleModel role)
Adds a role as a composite to default role of this realm.void
RoleMapperModel. deleteRoleMapping(RoleModel role)
Removes the given role mapping from this object.void
ScopeContainerModel. deleteScopeMapping(RoleModel role)
Stream<GroupModel>
GroupProvider. getGroupsByRoleStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)
Returns groups with the given role in the given realm.void
RoleMapperModel. grantRole(RoleModel role)
Grants the given role to this object.default boolean
RoleMapperModel. hasDirectRole(RoleModel role)
Returnstrue
, if this object is directly assigned the given role.default boolean
ClientModel. hasDirectScope(RoleModel role)
default boolean
ScopeContainerModel. hasDirectScope(RoleModel role)
Returnstrue
, if this object has the given role directly in its scope.boolean
RoleMapperModel. hasRole(RoleModel role)
Returnstrue
if this object is directly or indirectly assigned the given role,false
otherwise.boolean
RoleModel. hasRole(RoleModel role)
boolean
ScopeContainerModel. hasScope(RoleModel role)
Returnstrue
, if this object has the given role directly or indirectly in its scope,false
otherwise.void
UserProvider. preRemove(RealmModel realm, RoleModel role)
Called when a role is removed.void
RoleModel. removeCompositeRole(RoleModel role)
default boolean
RealmProvider. removeRole(RealmModel realm, RoleModel role)
Deprecated.Use the corresponding method fromRoleProvider
.boolean
RoleContainerModel. removeRole(RoleModel role)
boolean
RoleProvider. removeRole(RoleModel role)
Removes given realm role from the given realm.void
RealmModel. setDefaultRole(RoleModel role)
Sets default role for this realm -
Uses of RoleModel in org.keycloak.models.cache.infinispan
Classes in org.keycloak.models.cache.infinispan that implement RoleModel Modifier and Type Class Description class
RoleAdapter
Fields in org.keycloak.models.cache.infinispan declared as RoleModel Modifier and Type Field Description protected RoleModel
RoleAdapter. updated
Fields in org.keycloak.models.cache.infinispan with type parameters of type RoleModel Modifier and Type Field Description protected Set<RoleModel>
RoleAdapter. composites
Methods in org.keycloak.models.cache.infinispan with parameters of type RoleModel Modifier and Type Method Description void
RoleAdapter. addCompositeRole(RoleModel role)
void
ClientAdapter. addScopeMapping(RoleModel role)
void
ClientScopeAdapter. addScopeMapping(RoleModel role)
void
RealmAdapter. addToDefaultRoles(RoleModel role)
void
GroupAdapter. deleteRoleMapping(RoleModel role)
void
UserAdapter. deleteRoleMapping(RoleModel role)
void
ClientAdapter. deleteScopeMapping(RoleModel role)
void
ClientScopeAdapter. deleteScopeMapping(RoleModel role)
Stream<GroupModel>
RealmCacheSession. getGroupsByRoleStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)
Stream<UserModel>
UserCacheSession. getRoleMembersStream(RealmModel realm, RoleModel role)
Stream<UserModel>
UserCacheSession. getRoleMembersStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)
void
GroupAdapter. grantRole(RoleModel role)
void
UserAdapter. grantRole(RoleModel role)
void
UserCacheSession. grantToAllUsers(RealmModel realm, RoleModel role)
boolean
GroupAdapter. hasDirectRole(RoleModel role)
boolean
UserAdapter. hasDirectRole(RoleModel role)
boolean
ClientAdapter. hasDirectScope(RoleModel role)
boolean
ClientScopeAdapter. hasDirectScope(RoleModel role)
boolean
GroupAdapter. hasRole(RoleModel role)
boolean
RoleAdapter. hasRole(RoleModel role)
boolean
UserAdapter. hasRole(RoleModel role)
boolean
ClientAdapter. hasScope(RoleModel role)
boolean
ClientScopeAdapter. hasScope(RoleModel role)
void
UserCacheSession. preRemove(RealmModel realm, RoleModel role)
void
RoleAdapter. removeCompositeRole(RoleModel role)
boolean
ClientAdapter. removeRole(RoleModel role)
boolean
RealmAdapter. removeRole(RoleModel role)
boolean
RealmCacheSession. removeRole(RoleModel role)
void
RealmAdapter. setDefaultRole(RoleModel role)
-
Uses of RoleModel in org.keycloak.models.cache.infinispan.entities
Method parameters in org.keycloak.models.cache.infinispan.entities with type arguments of type RoleModel Modifier and Type Method Description MultivaluedHashMap<String,String>
CachedRole. getAttributes(Supplier<RoleModel> roleModel)
Constructors in org.keycloak.models.cache.infinispan.entities with parameters of type RoleModel Constructor Description CachedClientRole(Long revision, String clientId, RoleModel model, RealmModel realm)
CachedRealmRole(Long revision, RoleModel model, RealmModel realm)
CachedRole(Long revision, RoleModel model, RealmModel realm)
-
Uses of RoleModel in org.keycloak.models.delegate
Methods in org.keycloak.models.delegate that return RoleModel Modifier and Type Method Description RoleModel
ClientModelLazyDelegate. addRole(String name)
RoleModel
ClientModelLazyDelegate. addRole(String id, String name)
RoleModel
ClientModelLazyDelegate. getRole(String name)
Methods in org.keycloak.models.delegate that return types with arguments of type RoleModel Modifier and Type Method Description Stream<RoleModel>
ClientModelLazyDelegate. getRealmScopeMappingsStream()
Stream<RoleModel>
ClientModelLazyDelegate. getRolesStream()
Stream<RoleModel>
ClientModelLazyDelegate. getRolesStream(Integer firstResult, Integer maxResults)
Stream<RoleModel>
ClientModelLazyDelegate. getScopeMappingsStream()
Stream<RoleModel>
ClientModelLazyDelegate. searchForRolesStream(String search, Integer first, Integer max)
Methods in org.keycloak.models.delegate with parameters of type RoleModel Modifier and Type Method Description void
ClientModelLazyDelegate. addScopeMapping(RoleModel role)
void
ClientModelLazyDelegate. deleteScopeMapping(RoleModel role)
boolean
ClientModelLazyDelegate. hasDirectScope(RoleModel role)
boolean
ClientModelLazyDelegate. hasScope(RoleModel role)
boolean
ClientModelLazyDelegate. removeRole(RoleModel role)
-
Uses of RoleModel in org.keycloak.models.jpa
Classes in org.keycloak.models.jpa that implement RoleModel Modifier and Type Class Description class
RoleAdapter
Methods in org.keycloak.models.jpa that return RoleModel Modifier and Type Method Description RoleModel
JpaRealmProvider. addClientRole(ClientModel client, String name)
RoleModel
JpaRealmProvider. addClientRole(ClientModel client, String id, String name)
RoleModel
JpaRealmProvider. addRealmRole(RealmModel realm, String name)
RoleModel
JpaRealmProvider. addRealmRole(RealmModel realm, String id, String name)
RoleModel
ClientAdapter. addRole(String name)
RoleModel
ClientAdapter. addRole(String id, String name)
RoleModel
RealmAdapter. addRole(String name)
RoleModel
RealmAdapter. addRole(String id, String name)
RoleModel
JpaRealmProvider. getClientRole(ClientModel client, String name)
RoleModel
RealmAdapter. getDefaultRole()
RoleModel
JpaRealmProvider. getRealmRole(RealmModel realm, String name)
RoleModel
ClientAdapter. getRole(String name)
RoleModel
RealmAdapter. getRole(String name)
RoleModel
JpaRealmProvider. getRoleById(RealmModel realm, String id)
RoleModel
RealmAdapter. getRoleById(String id)
Methods in org.keycloak.models.jpa with parameters of type RoleModel Modifier and Type Method Description void
RoleAdapter. addCompositeRole(RoleModel role)
void
ClientAdapter. addScopeMapping(RoleModel role)
void
ClientScopeAdapter. addScopeMapping(RoleModel role)
void
GroupAdapter. deleteRoleMapping(RoleModel role)
void
UserAdapter. deleteRoleMapping(RoleModel role)
void
ClientAdapter. deleteScopeMapping(RoleModel role)
void
ClientScopeAdapter. deleteScopeMapping(RoleModel role)
protected javax.persistence.TypedQuery<GroupRoleMappingEntity>
GroupAdapter. getGroupRoleMappingEntityTypedQuery(RoleModel role)
Stream<GroupModel>
JpaRealmProvider. getGroupsByRoleStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)
Stream<UserModel>
JpaUserProvider. getRoleMembersStream(RealmModel realm, RoleModel role)
Stream<UserModel>
JpaUserProvider. getRoleMembersStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)
protected javax.persistence.TypedQuery<UserRoleMappingEntity>
UserAdapter. getUserRoleMappingEntityTypedQuery(RoleModel role)
void
GroupAdapter. grantRole(RoleModel role)
void
UserAdapter. grantRole(RoleModel role)
void
UserAdapter. grantRoleImpl(RoleModel role)
void
JpaUserProvider. grantToAllUsers(RealmModel realm, RoleModel role)
boolean
GroupAdapter. hasRole(RoleModel role)
boolean
RoleAdapter. hasRole(RoleModel role)
boolean
UserAdapter. hasRole(RoleModel role)
boolean
ClientAdapter. hasScope(RoleModel role)
boolean
ClientScopeAdapter. hasScope(RoleModel role)
void
JpaRealmProvider. preRemove(RealmModel realm, RoleModel role)
void
JpaUserProvider. preRemove(RealmModel realm, RoleModel role)
void
RoleAdapter. removeCompositeRole(RoleModel role)
boolean
ClientAdapter. removeRole(RoleModel roleModel)
boolean
JpaRealmProvider. removeRole(RoleModel role)
boolean
RealmAdapter. removeRole(RoleModel role)
RoleContainerModel.RoleRemovedEvent
JpaRealmProvider. roleRemovedEvent(RoleModel role)
void
RealmAdapter. setDefaultRole(RoleModel role)
-
Uses of RoleModel in org.keycloak.models.map.client
Methods in org.keycloak.models.map.client that return RoleModel Modifier and Type Method Description RoleModel
AbstractClientModel. addRole(String name)
RoleModel
AbstractClientModel. addRole(String id, String name)
RoleModel
AbstractClientModel. getRole(String name)
Methods in org.keycloak.models.map.client that return types with arguments of type RoleModel Modifier and Type Method Description Stream<RoleModel>
AbstractClientModel. getRealmScopeMappingsStream()
Stream<RoleModel>
AbstractClientModel. getRolesStream()
Stream<RoleModel>
AbstractClientModel. getRolesStream(Integer firstResult, Integer maxResults)
Stream<RoleModel>
MapClientAdapter. getScopeMappingsStream()
Scopes mappingsStream<RoleModel>
AbstractClientModel. searchForRolesStream(String search, Integer first, Integer max)
Methods in org.keycloak.models.map.client with parameters of type RoleModel Modifier and Type Method Description void
MapClientAdapter. addScopeMapping(RoleModel role)
void
MapClientAdapter. deleteScopeMapping(RoleModel role)
boolean
MapClientAdapter. hasDirectScope(RoleModel role)
boolean
MapClientAdapter. hasScope(RoleModel role)
void
MapClientProvider. preRemove(RealmModel realm, RoleModel role)
boolean
AbstractClientModel. removeRole(RoleModel role)
-
Uses of RoleModel in org.keycloak.models.map.clientscope
Methods in org.keycloak.models.map.clientscope that return types with arguments of type RoleModel Modifier and Type Method Description Stream<RoleModel>
MapClientScopeAdapter. getRealmScopeMappingsStream()
Stream<RoleModel>
MapClientScopeAdapter. getScopeMappingsStream()
Scopes mappingsMethods in org.keycloak.models.map.clientscope with parameters of type RoleModel Modifier and Type Method Description void
MapClientScopeAdapter. addScopeMapping(RoleModel role)
void
MapClientScopeAdapter. deleteScopeMapping(RoleModel role)
boolean
MapClientScopeAdapter. hasScope(RoleModel role)
-
Uses of RoleModel in org.keycloak.models.map.group
Methods in org.keycloak.models.map.group that return types with arguments of type RoleModel Modifier and Type Method Description Stream<RoleModel>
MapGroupAdapter. getClientRoleMappingsStream(ClientModel app)
Stream<RoleModel>
MapGroupAdapter. getRealmRoleMappingsStream()
Stream<RoleModel>
MapGroupAdapter. getRoleMappingsStream()
Methods in org.keycloak.models.map.group with parameters of type RoleModel Modifier and Type Method Description void
MapGroupAdapter. deleteRoleMapping(RoleModel role)
Stream<GroupModel>
MapGroupProvider. getGroupsByRoleStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)
void
MapGroupAdapter. grantRole(RoleModel role)
boolean
MapGroupAdapter. hasDirectRole(RoleModel role)
boolean
MapGroupAdapter. hasRole(RoleModel role)
void
MapGroupProvider. preRemove(RealmModel realm, RoleModel role)
-
Uses of RoleModel in org.keycloak.models.map.realm
Methods in org.keycloak.models.map.realm that return RoleModel Modifier and Type Method Description RoleModel
MapRealmProvider. addClientRole(ClientModel client, String id, String name)
Deprecated.RoleModel
MapRealmProvider. addRealmRole(RealmModel realm, String id, String name)
Deprecated.RoleModel
MapRealmAdapter. addRole(String name)
RoleModel
MapRealmAdapter. addRole(String id, String name)
RoleModel
MapRealmProvider. getClientRole(ClientModel client, String name)
Deprecated.RoleModel
MapRealmAdapter. getDefaultRole()
RoleModel
MapRealmProvider. getRealmRole(RealmModel realm, String name)
Deprecated.RoleModel
MapRealmAdapter. getRole(String name)
RoleModel
MapRealmAdapter. getRoleById(String id)
RoleModel
MapRealmProvider. getRoleById(RealmModel realm, String id)
Deprecated.Methods in org.keycloak.models.map.realm that return types with arguments of type RoleModel Modifier and Type Method Description Stream<RoleModel>
MapRealmProvider. getClientRolesStream(ClientModel client, Integer first, Integer max)
Deprecated.Stream<RoleModel>
MapRealmProvider. getRealmRolesStream(RealmModel realm, Integer first, Integer max)
Deprecated.Stream<RoleModel>
MapRealmAdapter. getRolesStream()
Stream<RoleModel>
MapRealmAdapter. getRolesStream(Integer firstResult, Integer maxResults)
Stream<RoleModel>
MapRealmProvider. getRolesStream(RealmModel realm, Stream<String> ids, String search, Integer first, Integer max)
Stream<RoleModel>
MapRealmProvider. searchForClientRolesStream(ClientModel client, String search, Integer first, Integer max)
Deprecated.Stream<RoleModel>
MapRealmAdapter. searchForRolesStream(String search, Integer first, Integer max)
Stream<RoleModel>
MapRealmProvider. searchForRolesStream(RealmModel realm, String search, Integer first, Integer max)
Deprecated.Methods in org.keycloak.models.map.realm with parameters of type RoleModel Modifier and Type Method Description Stream<GroupModel>
MapRealmProvider. getGroupsByRoleStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)
Deprecated.boolean
MapRealmAdapter. removeRole(RoleModel role)
boolean
MapRealmProvider. removeRole(RoleModel role)
Deprecated.void
MapRealmAdapter. setDefaultRole(RoleModel role)
-
Uses of RoleModel in org.keycloak.models.map.role
Classes in org.keycloak.models.map.role that implement RoleModel Modifier and Type Class Description class
AbstractRoleModel<E extends AbstractEntity>
class
MapRoleAdapter
Methods in org.keycloak.models.map.role that return RoleModel Modifier and Type Method Description RoleModel
MapRoleProvider. addClientRole(ClientModel client, String id, String name)
RoleModel
MapRoleProvider. addRealmRole(RealmModel realm, String id, String name)
RoleModel
MapRoleProvider. getClientRole(ClientModel client, String name)
RoleModel
MapRoleProvider. getRealmRole(RealmModel realm, String name)
RoleModel
MapRoleProvider. getRoleById(RealmModel realm, String id)
Methods in org.keycloak.models.map.role with parameters of type RoleModel Modifier and Type Method Description void
MapRoleAdapter. addCompositeRole(RoleModel role)
boolean
MapRoleAdapter. hasRole(RoleModel role)
void
MapRoleProvider. preRemove(RealmModel realm, RoleModel role)
void
MapRoleAdapter. removeCompositeRole(RoleModel role)
boolean
MapRoleProvider. removeRole(RoleModel role)
Constructor parameters in org.keycloak.models.map.role with type arguments of type RoleModel Constructor Description MapRoleProvider(KeycloakSession session, MapStorage<MapRoleEntity,RoleModel> roleStore)
-
Uses of RoleModel in org.keycloak.models.map.storage.chm
Fields in org.keycloak.models.map.storage.chm with type parameters of type RoleModel Modifier and Type Field Description static Map<SearchableModelField<RoleModel>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapRoleEntity,RoleModel>>
MapFieldPredicates. ROLE_PREDICATES
static Map<SearchableModelField<RoleModel>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapRoleEntity,RoleModel>>
MapFieldPredicates. ROLE_PREDICATES
-
Uses of RoleModel in org.keycloak.models.map.storage.jpa.role
Method parameters in org.keycloak.models.map.storage.jpa.role with type arguments of type RoleModel Modifier and Type Method Description JpaRoleModelCriteriaBuilder
JpaRoleModelCriteriaBuilder. compare(SearchableModelField<? super RoleModel> modelField, ModelCriteriaBuilder.Operator op, Object... value)
-
Uses of RoleModel in org.keycloak.models.map.storage.ldap.role
Method parameters in org.keycloak.models.map.storage.ldap.role with type arguments of type RoleModel Modifier and Type Method Description LdapRoleModelCriteriaBuilder
LdapRoleModelCriteriaBuilder. compare(SearchableModelField<? super RoleModel> modelField, ModelCriteriaBuilder.Operator op, Object... value)
Stream<MapRoleEntity>
LdapRoleMapKeycloakTransaction. read(QueryParameters<RoleModel> queryParameters)
-
Uses of RoleModel in org.keycloak.models.map.user
Methods in org.keycloak.models.map.user that return types with arguments of type RoleModel Modifier and Type Method Description Stream<RoleModel>
MapUserAdapter. getClientRoleMappingsStream(ClientModel app)
Stream<RoleModel>
MapUserAdapter. getRealmRoleMappingsStream()
Stream<RoleModel>
MapUserAdapter. getRoleMappingsStream()
Methods in org.keycloak.models.map.user with parameters of type RoleModel Modifier and Type Method Description void
MapUserAdapter. deleteRoleMapping(RoleModel role)
Stream<UserModel>
MapUserProvider. getRoleMembersStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)
void
MapUserAdapter. grantRole(RoleModel role)
void
MapUserProvider. grantToAllUsers(RealmModel realm, RoleModel role)
boolean
MapUserAdapter. hasDirectRole(RoleModel role)
boolean
MapUserAdapter. hasRole(RoleModel role)
void
MapUserProvider. preRemove(RealmModel realm, RoleModel role)
-
Uses of RoleModel in org.keycloak.models.utils
Methods in org.keycloak.models.utils that return RoleModel Modifier and Type Method Description static RoleModel
RepresentationToModel. createRole(RealmModel newRealm, RoleRepresentation roleRep)
static RoleModel
KeycloakModelUtils. getRoleFromString(RealmModel realm, String roleName)
static RoleModel
KeycloakModelUtils. setupOfflineRole(RealmModel realm)
Methods in org.keycloak.models.utils that return types with arguments of type RoleModel Modifier and Type Method Description static Set<RoleModel>
RoleUtils. expandCompositeRoles(Set<RoleModel> roles)
static Stream<RoleModel>
RoleUtils. expandCompositeRolesStream(Stream<RoleModel> roles)
Stream<RoleModel>
UserModelDelegate. getClientRoleMappingsStream(ClientModel app)
static Set<RoleModel>
KeycloakModelUtils. getClientScopeMappings(ClientModel client, ScopeContainerModel container)
Deprecated.UseKeycloakModelUtils.getClientScopeMappingsStream(ClientModel, ScopeContainerModel)
getClientScopeMappingsStream} instead.static Stream<RoleModel>
KeycloakModelUtils. getClientScopeMappingsStream(ClientModel client, ScopeContainerModel container)
static Set<RoleModel>
RoleUtils. getDeepUserRoleMappings(UserModel user)
Stream<RoleModel>
UserModelDelegate. getRealmRoleMappingsStream()
Stream<RoleModel>
UserModelDelegate. getRoleMappingsStream()
Methods in org.keycloak.models.utils with parameters of type RoleModel Modifier and Type Method Description static void
DefaultClientScopes. createOfflineAccessClientScope(RealmModel newRealm, RoleModel offlineRole)
void
ReadOnlyUserModelDelegate. deleteRoleMapping(RoleModel role)
void
UserModelDelegate. deleteRoleMapping(RoleModel role)
void
ReadOnlyUserModelDelegate. grantRole(RoleModel role)
void
UserModelDelegate. grantRole(RoleModel role)
static boolean
RoleUtils. hasRole(Set<RoleModel> roles, RoleModel targetRole)
static boolean
RoleUtils. hasRole(Stream<RoleModel> roles, RoleModel targetRole)
boolean
UserModelDelegate. hasRole(RoleModel role)
static boolean
RoleUtils. hasRoleFromGroup(Stream<GroupModel> groups, RoleModel targetRole, boolean checkParentGroup)
Checks whether thetargetRole
is contained in any of thegroups
or their parents (if requested)static boolean
RoleUtils. hasRoleFromGroup(GroupModel group, RoleModel targetRole, boolean checkParentGroup)
Checks whether thetargetRole
is contained in the given group or its parents (if requested)static boolean
RoleUtils. isClientRole(RoleModel r, ClientModel c)
static boolean
RoleUtils. isRealmRole(RoleModel r)
static boolean
RoleUtils. isRealmRole(RoleModel r, RealmModel realm)
static boolean
KeycloakModelUtils. searchFor(RoleModel role, RoleModel composite, Set<String> visited)
Deep search if given role is descendant of composite rolestatic RoleRepresentation
ModelToRepresentation. toBriefRepresentation(RoleModel role)
static RoleRepresentation
ModelToRepresentation. toRepresentation(RoleModel role)
Method parameters in org.keycloak.models.utils with type arguments of type RoleModel Modifier and Type Method Description static Set<RoleModel>
RoleUtils. expandCompositeRoles(Set<RoleModel> roles)
static Stream<RoleModel>
RoleUtils. expandCompositeRolesStream(Stream<RoleModel> roles)
static boolean
RoleUtils. hasRole(Set<RoleModel> roles, RoleModel targetRole)
static boolean
RoleUtils. hasRole(Stream<RoleModel> roles, RoleModel targetRole)
-
Uses of RoleModel in org.keycloak.partialimport
Methods in org.keycloak.partialimport with parameters of type RoleModel Modifier and Type Method Description protected void
RealmRolesPartialImport.RoleHelper. deleteRole(RoleModel role)
-
Uses of RoleModel in org.keycloak.protocol.oidc
Methods in org.keycloak.protocol.oidc that return types with arguments of type RoleModel Modifier and Type Method Description static Set<RoleModel>
TokenManager. getAccess(UserModel user, ClientModel client, Stream<ClientScopeModel> clientScopes)
-
Uses of RoleModel in org.keycloak.protocol.saml.mappers
Methods in org.keycloak.protocol.saml.mappers with parameters of type RoleModel Modifier and Type Method Description String
RoleNameMapper. mapName(ProtocolMapperModel model, RoleModel roleModel)
String
SAMLRoleNameMapper. mapName(ProtocolMapperModel model, RoleModel role)
-
Uses of RoleModel in org.keycloak.services.resources.admin
Methods in org.keycloak.services.resources.admin that return RoleModel Modifier and Type Method Description protected RoleModel
RoleByIdResource. getRoleModel(String id)
Methods in org.keycloak.services.resources.admin with parameters of type RoleModel Modifier and Type Method Description protected void
RoleResource. addComposites(AdminPermissionEvaluator auth, AdminEventBuilder adminEvent, javax.ws.rs.core.UriInfo uriInfo, List<RoleRepresentation> roles, RoleModel role)
protected void
RoleResource. deleteComposites(AdminEventBuilder adminEvent, javax.ws.rs.core.UriInfo uriInfo, List<RoleRepresentation> roles, RoleModel role)
protected void
RoleResource. deleteRole(RoleModel role)
protected Stream<RoleRepresentation>
RoleResource. getClientRoleComposites(ClientModel app, RoleModel role)
protected Stream<RoleRepresentation>
RoleResource. getRealmRoleComposites(RoleModel role)
protected RoleRepresentation
RoleResource. getRole(RoleModel roleModel)
static ManagementPermissionReference
RoleByIdResource. toMgmtRef(RoleModel role, AdminPermissionManagement permissions)
protected void
RoleResource. updateRole(RoleRepresentation rep, RoleModel role, RealmModel realm, KeycloakSession session)
-
Uses of RoleModel in org.keycloak.services.resources.admin.permissions
Methods in org.keycloak.services.resources.admin.permissions with parameters of type RoleModel Modifier and Type Method Description boolean
RolePermissionEvaluator. canManage(RoleModel role)
boolean
RolePermissionEvaluator. canMapClientScope(RoleModel role)
boolean
RolePermissionEvaluator. canMapComposite(RoleModel role)
boolean
RolePermissionEvaluator. canMapRole(RoleModel role)
boolean
RolePermissionEvaluator. canView(RoleModel role)
Map<String,String>
RolePermissionManagement. getPermissions(RoleModel role)
boolean
RolePermissionManagement. isPermissionsEnabled(RoleModel role)
Policy
RolePermissionManagement. mapClientScopePermission(RoleModel role)
Policy
RolePermissionManagement. mapCompositePermission(RoleModel role)
Policy
RolePermissionManagement. mapRolePermission(RoleModel role)
void
RolePermissionEvaluator. requireManage(RoleModel role)
void
RolePermissionEvaluator. requireMapClientScope(RoleModel role)
void
RolePermissionEvaluator. requireMapComposite(RoleModel role)
void
RolePermissionEvaluator. requireMapRole(RoleModel role)
void
RolePermissionEvaluator. requireView(RoleModel role)
Resource
RolePermissionManagement. resource(RoleModel role)
ResourceServer
RolePermissionManagement. resourceServer(RoleModel role)
Policy
RolePermissionManagement. rolePolicy(ResourceServer server, RoleModel role)
void
RolePermissionManagement. setPermissionsEnabled(RoleModel role, boolean enable)
-
Uses of RoleModel in org.keycloak.services.util
Methods in org.keycloak.services.util that return types with arguments of type RoleModel Modifier and Type Method Description Stream<RoleModel>
DefaultClientSessionContext. getRolesStream()
-
Uses of RoleModel in org.keycloak.storage
Methods in org.keycloak.storage that return RoleModel Modifier and Type Method Description RoleModel
RoleStorageManager. addClientRole(ClientModel client, String name)
RoleModel
RoleStorageManager. addClientRole(ClientModel client, String id, String name)
RoleModel
RoleStorageManager. addRealmRole(RealmModel realm, String name)
RoleModel
RoleStorageManager. addRealmRole(RealmModel realm, String id, String name)
RoleModel
RoleStorageManager. getClientRole(ClientModel client, String name)
RoleModel
RoleStorageManager. getRealmRole(RealmModel realm, String name)
RoleModel
RoleStorageManager. getRoleById(RealmModel realm, String id)
Methods in org.keycloak.storage that return types with arguments of type RoleModel Modifier and Type Method Description Stream<RoleModel>
RoleStorageManager. getClientRolesStream(ClientModel client)
Stream<RoleModel>
RoleStorageManager. getClientRolesStream(ClientModel client, Integer first, Integer max)
Stream<RoleModel>
RoleStorageManager. getRealmRolesStream(RealmModel realm, Integer first, Integer max)
Stream<RoleModel>
RoleStorageManager. getRolesStream(RealmModel realm, Stream<String> ids, String search, Integer first, Integer max)
Stream<RoleModel>
RoleStorageManager. searchForClientRolesStream(ClientModel client, String search, Integer first, Integer max)
Obtaining roles from an external role storage is time-bounded.Stream<RoleModel>
RoleStorageManager. searchForRolesStream(RealmModel realm, String search, Integer first, Integer max)
Obtaining roles from an external role storage is time-bounded.Methods in org.keycloak.storage with parameters of type RoleModel Modifier and Type Method Description Stream<GroupModel>
GroupStorageManager. getGroupsByRoleStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)
Stream<UserModel>
UserStorageManager. getRoleMembersStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)
void
UserStorageManager. grantToAllUsers(RealmModel realm, RoleModel role)
UserQueryProvider
methods implementation end hereUserBulkUpdateProvider
methods implementation start herevoid
UserStorageManager. preRemove(RealmModel realm, RoleModel role)
default void
UserStorageProvider. preRemove(RealmModel realm, RoleModel role)
Callback when a role is removed.boolean
RoleStorageManager. removeRole(RoleModel role)
-
Uses of RoleModel in org.keycloak.storage.adapter
Methods in org.keycloak.storage.adapter that return types with arguments of type RoleModel Modifier and Type Method Description Set<RoleModel>
AbstractUserAdapter. getClientRoleMappings(ClientModel app)
Deprecated.Set<RoleModel>
AbstractUserAdapter.Streams. getClientRoleMappings(ClientModel app)
Set<RoleModel>
AbstractUserAdapterFederatedStorage. getClientRoleMappings(ClientModel app)
Deprecated.Set<RoleModel>
AbstractUserAdapterFederatedStorage.Streams. getClientRoleMappings(ClientModel app)
Stream<RoleModel>
AbstractUserAdapter. getClientRoleMappingsStream(ClientModel app)
Stream<RoleModel>
AbstractUserAdapter.Streams. getClientRoleMappingsStream(ClientModel app)
Stream<RoleModel>
AbstractUserAdapterFederatedStorage. getClientRoleMappingsStream(ClientModel app)
Stream<RoleModel>
AbstractUserAdapterFederatedStorage.Streams. getClientRoleMappingsStream(ClientModel app)
Stream<RoleModel>
InMemoryUserAdapter. getClientRoleMappingsStream(ClientModel app)
protected Set<RoleModel>
AbstractUserAdapterFederatedStorage. getFederatedRoleMappings()
Set<RoleModel>
AbstractUserAdapter. getRealmRoleMappings()
Deprecated.UseAbstractUserAdapter.getRealmRoleMappingsStream()
insteadSet<RoleModel>
AbstractUserAdapter.Streams. getRealmRoleMappings()
Set<RoleModel>
AbstractUserAdapterFederatedStorage. getRealmRoleMappings()
Deprecated.Set<RoleModel>
AbstractUserAdapterFederatedStorage.Streams. getRealmRoleMappings()
Stream<RoleModel>
AbstractUserAdapter. getRealmRoleMappingsStream()
Stream<RoleModel>
AbstractUserAdapter.Streams. getRealmRoleMappingsStream()
Stream<RoleModel>
AbstractUserAdapterFederatedStorage. getRealmRoleMappingsStream()
Stream<RoleModel>
AbstractUserAdapterFederatedStorage.Streams. getRealmRoleMappingsStream()
Stream<RoleModel>
InMemoryUserAdapter. getRealmRoleMappingsStream()
Set<RoleModel>
AbstractUserAdapter. getRoleMappings()
Deprecated.UseAbstractUserAdapter.getRoleMappingsStream()
insteadSet<RoleModel>
AbstractUserAdapter.Streams. getRoleMappings()
Set<RoleModel>
AbstractUserAdapterFederatedStorage. getRoleMappings()
Deprecated.Set<RoleModel>
AbstractUserAdapterFederatedStorage.Streams. getRoleMappings()
protected Set<RoleModel>
AbstractUserAdapter. getRoleMappingsInternal()
protected Set<RoleModel>
AbstractUserAdapterFederatedStorage. getRoleMappingsInternal()
Stream<RoleModel>
AbstractUserAdapter. getRoleMappingsStream()
Stream<RoleModel>
AbstractUserAdapter.Streams. getRoleMappingsStream()
Stream<RoleModel>
AbstractUserAdapterFederatedStorage. getRoleMappingsStream()
Stream<RoleModel>
AbstractUserAdapterFederatedStorage.Streams. getRoleMappingsStream()
Stream<RoleModel>
InMemoryUserAdapter. getRoleMappingsStream()
Methods in org.keycloak.storage.adapter with parameters of type RoleModel Modifier and Type Method Description void
AbstractUserAdapter. deleteRoleMapping(RoleModel role)
void
AbstractUserAdapterFederatedStorage. deleteRoleMapping(RoleModel role)
void
InMemoryUserAdapter. deleteRoleMapping(RoleModel role)
void
UpdateOnlyChangeUserModelDelegate. deleteRoleMapping(RoleModel role)
void
AbstractUserAdapter. grantRole(RoleModel role)
void
AbstractUserAdapterFederatedStorage. grantRole(RoleModel role)
void
InMemoryUserAdapter. grantRole(RoleModel role)
void
UpdateOnlyChangeUserModelDelegate. grantRole(RoleModel role)
boolean
AbstractUserAdapter. hasRole(RoleModel role)
boolean
AbstractUserAdapter.Streams. hasRole(RoleModel role)
boolean
AbstractUserAdapterFederatedStorage. hasRole(RoleModel role)
boolean
AbstractUserAdapterFederatedStorage.Streams. hasRole(RoleModel role)
boolean
InMemoryUserAdapter. hasRole(RoleModel role)
-
Uses of RoleModel in org.keycloak.storage.client
Methods in org.keycloak.storage.client that return RoleModel Modifier and Type Method Description RoleModel
UnsupportedOperationsClientStorageAdapter. addRole(String name)
RoleModel
UnsupportedOperationsClientStorageAdapter. addRole(String id, String name)
RoleModel
UnsupportedOperationsClientStorageAdapter. getRole(String name)
Methods in org.keycloak.storage.client that return types with arguments of type RoleModel Modifier and Type Method Description Stream<RoleModel>
UnsupportedOperationsClientStorageAdapter. getRolesStream()
Stream<RoleModel>
UnsupportedOperationsClientStorageAdapter. getRolesStream(Integer first, Integer max)
Stream<RoleModel>
UnsupportedOperationsClientStorageAdapter. searchForRolesStream(String search, Integer first, Integer max)
Methods in org.keycloak.storage.client with parameters of type RoleModel Modifier and Type Method Description void
AbstractReadOnlyClientScopeAdapter. addScopeMapping(RoleModel role)
void
AbstractReadOnlyClientStorageAdapter. addScopeMapping(RoleModel role)
void
AbstractReadOnlyClientScopeAdapter. deleteScopeMapping(RoleModel role)
void
AbstractReadOnlyClientStorageAdapter. deleteScopeMapping(RoleModel role)
default void
ClientStorageProvider. preRemove(RealmModel realm, RoleModel role)
Callback when a role is removed.boolean
UnsupportedOperationsClientStorageAdapter. removeRole(RoleModel role)
-
Uses of RoleModel in org.keycloak.storage.federated
Methods in org.keycloak.storage.federated that return types with arguments of type RoleModel Modifier and Type Method Description Set<RoleModel>
UserRoleMappingsFederatedStorage. getRoleMappings(RealmModel realm, String userId)
Deprecated.UsegetRoleMappingsStream
instead.default Set<RoleModel>
UserRoleMappingsFederatedStorage.Streams. getRoleMappings(RealmModel realm, String userId)
default Stream<RoleModel>
UserRoleMappingsFederatedStorage. getRoleMappingsStream(RealmModel realm, String userId)
Obtains the roles associated with the federated user identified byuserId
.Stream<RoleModel>
UserRoleMappingsFederatedStorage.Streams. getRoleMappingsStream(RealmModel realm, String userId)
Methods in org.keycloak.storage.federated with parameters of type RoleModel Modifier and Type Method Description void
UserRoleMappingsFederatedStorage. deleteRoleMapping(RealmModel realm, String userId, RoleModel role)
void
UserRoleMappingsFederatedStorage. grantRole(RealmModel realm, String userId, RoleModel role)
void
UserFederatedStorageProvider. preRemove(RealmModel realm, RoleModel role)
-
Uses of RoleModel in org.keycloak.storage.jpa
Methods in org.keycloak.storage.jpa that return types with arguments of type RoleModel Modifier and Type Method Description Stream<RoleModel>
JpaUserFederatedStorageProvider. getRoleMappingsStream(RealmModel realm, String userId)
Methods in org.keycloak.storage.jpa with parameters of type RoleModel Modifier and Type Method Description void
JpaUserFederatedStorageProvider. deleteRoleMapping(RealmModel realm, String userId, RoleModel role)
void
JpaUserFederatedStorageProvider. grantRole(RealmModel realm, String userId, RoleModel role)
void
JpaUserFederatedStorageProvider. preRemove(RealmModel realm, RoleModel role)
-
Uses of RoleModel in org.keycloak.storage.ldap
Methods in org.keycloak.storage.ldap with parameters of type RoleModel Modifier and Type Method Description Stream<UserModel>
LDAPStorageProvider. getRoleMembersStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)
void
LDAPStorageProvider. preRemove(RealmModel realm, RoleModel role)
-
Uses of RoleModel in org.keycloak.storage.ldap.mappers
Methods in org.keycloak.storage.ldap.mappers with parameters of type RoleModel Modifier and Type Method Description List<UserModel>
AbstractLDAPStorageMapper. getRoleMembers(RealmModel realm, RoleModel role, int firstResult, int maxResults)
List<UserModel>
LDAPStorageMapper. getRoleMembers(RealmModel realm, RoleModel role, int firstResult, int maxResults)
Return empty list if doesn't support storing of roles -
Uses of RoleModel in org.keycloak.storage.ldap.mappers.membership.group
Methods in org.keycloak.storage.ldap.mappers.membership.group with parameters of type RoleModel Modifier and Type Method Description boolean
GroupLDAPStorageMapper.LDAPGroupMappingsUserDelegate. hasRole(RoleModel role)
-
Uses of RoleModel in org.keycloak.storage.ldap.mappers.membership.role
Methods in org.keycloak.storage.ldap.mappers.membership.role that return types with arguments of type RoleModel Modifier and Type Method Description Stream<RoleModel>
RoleLDAPStorageMapper.LDAPRoleMappingsUserDelegate. getClientRoleMappingsStream(ClientModel client)
protected Stream<RoleModel>
RoleLDAPStorageMapper.LDAPRoleMappingsUserDelegate. getLDAPRoleMappingsConverted()
Stream<RoleModel>
RoleLDAPStorageMapper.LDAPRoleMappingsUserDelegate. getRealmRoleMappingsStream()
Stream<RoleModel>
RoleLDAPStorageMapper.LDAPRoleMappingsUserDelegate. getRoleMappingsStream()
Methods in org.keycloak.storage.ldap.mappers.membership.role with parameters of type RoleModel Modifier and Type Method Description void
RoleLDAPStorageMapper.LDAPRoleMappingsUserDelegate. deleteRoleMapping(RoleModel role)
List<UserModel>
RoleLDAPStorageMapper. getRoleMembers(RealmModel realm, RoleModel role, int firstResult, int maxResults)
void
RoleLDAPStorageMapper.LDAPRoleMappingsUserDelegate. grantRole(RoleModel role)
boolean
RoleLDAPStorageMapper.LDAPRoleMappingsUserDelegate. hasRole(RoleModel role)
-
Uses of RoleModel in org.keycloak.storage.openshift
Methods in org.keycloak.storage.openshift that return types with arguments of type RoleModel Modifier and Type Method Description Stream<RoleModel>
OpenshiftSAClientAdapter. getRealmScopeMappingsStream()
Stream<RoleModel>
OpenshiftSAClientAdapter. getScopeMappingsStream()
Methods in org.keycloak.storage.openshift with parameters of type RoleModel Modifier and Type Method Description boolean
OpenshiftSAClientAdapter. hasScope(RoleModel role)
-
Uses of RoleModel in org.keycloak.storage.role
Methods in org.keycloak.storage.role that return RoleModel Modifier and Type Method Description RoleModel
RoleLookupProvider. getClientRole(ClientModel client, String name)
Exact search for a client role by given name.RoleModel
RoleLookupProvider. getRealmRole(RealmModel realm, String name)
Exact search for a role by given name.RoleModel
RoleLookupProvider. getRoleById(RealmModel realm, String id)
Exact search for a role by its internal ID..Methods in org.keycloak.storage.role that return types with arguments of type RoleModel Modifier and Type Method Description Stream<RoleModel>
RoleLookupProvider. searchForClientRolesStream(ClientModel client, String search, Integer first, Integer max)
Case-insensitive search for client roles that contain the given string in their name or description.Stream<RoleModel>
RoleLookupProvider. searchForRolesStream(RealmModel realm, String search, Integer first, Integer max)
Case-insensitive search for roles that contain the given string in their name or description. -
Uses of RoleModel in org.keycloak.storage.user
Methods in org.keycloak.storage.user with parameters of type RoleModel Modifier and Type Method Description default Stream<UserModel>
UserQueryProvider. getRoleMembersStream(RealmModel realm, RoleModel role)
Obtains users that have the specified role.default Stream<UserModel>
UserQueryProvider. getRoleMembersStream(RealmModel realm, RoleModel role, Integer firstResult, Integer maxResults)
Searches for users that have the specified role.void
UserBulkUpdateProvider. grantToAllUsers(RealmModel realm, RoleModel role)
Grants the given role to all users from particular realm.
-