public interface ScopeContainerModel
Modifier and Type | Method and Description |
---|---|
void |
addScopeMapping(RoleModel role) |
void |
deleteScopeMapping(RoleModel role) |
default Set<RoleModel> |
getRealmScopeMappings()
Deprecated.
Use
getRealmScopeMappingsStream instead. |
Stream<RoleModel> |
getRealmScopeMappingsStream()
From the scope mappings returned by
getScopeMappingsStream() returns only those
that belong to the realm that owns this scope container. |
default Set<RoleModel> |
getScopeMappings()
Deprecated.
Use
getScopeMappingsStream instead. |
Stream<RoleModel> |
getScopeMappingsStream()
Returns scope mappings for this scope container as a stream.
|
boolean |
hasScope(RoleModel role) |
@Deprecated default Set<RoleModel> getScopeMappings()
getScopeMappingsStream
instead.Stream<RoleModel> getScopeMappingsStream()
RoleModel
. Never returns null
.@Deprecated default Set<RoleModel> getRealmScopeMappings()
getRealmScopeMappingsStream
instead.getScopeMappings()
returns only those
that belong to the realm that owns this scope container.RealmModel
Stream<RoleModel> getRealmScopeMappingsStream()
getScopeMappingsStream()
returns only those
that belong to the realm that owns this scope container.RoleModel
. Never returns null
.void addScopeMapping(RoleModel role)
void deleteScopeMapping(RoleModel role)
boolean hasScope(RoleModel role)
Copyright © 2021 JBoss by Red Hat. All rights reserved.