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() |
java.util.Set<RolesCategory> |
getRolesCategories() |
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
getRoles
in interface IRoles
ServerFault
public java.util.Set<RolesCategory> getRolesCategories() throws ServerFault
getRolesCategories
in interface IRoles
ServerFault
public 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.