public interface BaseAuth
Modifier and Type | Method and Description |
---|---|
Map<String,Integer> |
getGrantedRoles(String nodeId) |
Map<String,Integer> |
getGrantedUsers(String nodeId) |
String |
getMail(String user) |
String |
getName(String user) |
List<String> |
getRoles() |
List<String> |
getRolesByUser(String user) |
List<String> |
getUsers() |
List<String> |
getUsersByRole(String role) |
void |
grantRole(String nodeId,
String role,
int permissions,
boolean recursive) |
void |
grantUser(String nodeId,
String role,
int permissions,
boolean recursive) |
void |
revokeRole(String nodeId,
String role,
int permissions,
boolean recursive) |
void |
revokeUser(String nodeId,
String user,
int permissions,
boolean recursive) |
Map<String,Integer> getGrantedRoles(String nodeId) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknowException, WebserviceException
Map<String,Integer> getGrantedUsers(String nodeId) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknowException, WebserviceException
String getMail(String user) throws PrincipalAdapterException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
String getName(String user) throws DatabaseException, RepositoryException, PrincipalAdapterException, AccessDeniedException, UnknowException, WebserviceException
List<String> getRoles() throws AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, UnknowException, WebserviceException
List<String> getRolesByUser(String user) throws AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, UnknowException, WebserviceException
List<String> getUsers() throws AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, UnknowException, WebserviceException
List<String> getUsersByRole(String role) throws AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, UnknowException, WebserviceException
void revokeRole(String nodeId, String role, int permissions, boolean recursive) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknowException, WebserviceException
void revokeUser(String nodeId, String user, int permissions, boolean recursive) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknowException, WebserviceException
void grantRole(String nodeId, String role, int permissions, boolean recursive) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknowException, WebserviceException
void grantUser(String nodeId, String role, int permissions, boolean recursive) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknowException, WebserviceException
Copyright © 2015. All rights reserved.