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<ProfileSimple> |
getProfiles(boolean filterByActive) |
List<String> |
getRoles() |
List<String> |
getRolesByUser(String user) |
ProfileSimple |
getUserProfile(String userId) |
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) |
void |
setUserProfile(String userId,
long profileId) |
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
List<ProfileSimple> getProfiles(boolean filterByActive) throws PrincipalAdapterException, WebserviceException, UnknowException
ProfileSimple getUserProfile(String userId) throws PrincipalAdapterException, WebserviceException, UnknowException
void setUserProfile(String userId, long profileId) throws PrincipalAdapterException, WebserviceException, UnknowException
Copyright © 2015. All rights reserved.