public class RolesService extends java.lang.Object implements IInternalRoles
Constructor and Description |
---|
RolesService(BmContext context,
java.util.List<IRolesProvider> providers,
RolesResolver resolver,
java.util.List<IRolesVerifier> validators) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
filter(java.util.Set<java.lang.String> roles) |
java.util.Set<RoleDescriptor> |
getRoles()
Get all available
RoleDescriptor . |
java.util.Set<RolesCategory> |
getRolesCategories()
Get all available
RoleCategory s. |
java.util.Set<java.lang.String> |
resolve(java.util.Set<java.lang.String> roles) |
java.util.Set<java.lang.String> |
resolveDirEntry(java.util.List<java.lang.String> roles,
DirEntry entry) |
java.util.Set<java.lang.String> |
resolveSelf(java.util.List<java.lang.String> roles) |
public RolesService(BmContext context, java.util.List<IRolesProvider> providers, RolesResolver resolver, java.util.List<IRolesVerifier> validators)
public java.util.Set<RoleDescriptor> getRoles() throws ServerFault
IRoles
RoleDescriptor
.getRoles
in interface IRoles
RoleDescriptor
sServerFault
- Common error objectpublic java.util.Set<RolesCategory> getRolesCategories() throws ServerFault
IRoles
RoleCategory
s. Roles are grouped by
RoleCategory
s.getRolesCategories
in interface IRoles
RoleCategory
sServerFault
- Common error objectpublic java.util.Set<java.lang.String> filter(java.util.Set<java.lang.String> roles) throws ServerFault
filter
in interface IInternalRoles
ServerFault
public java.util.Set<java.lang.String> resolve(java.util.Set<java.lang.String> roles)
resolve
in interface IInternalRoles
public java.util.Set<java.lang.String> resolveSelf(java.util.List<java.lang.String> roles)
resolveSelf
in interface IInternalRoles
public java.util.Set<java.lang.String> resolveDirEntry(java.util.List<java.lang.String> roles, DirEntry entry)
resolveDirEntry
in interface IInternalRoles
Copyright © 2021. All Rights Reserved.