public interface BaseAuth
| Modifier and Type | Method and Description |
|---|---|
void |
assignRole(String user,
String role) |
void |
createRole(String role,
boolean active) |
void |
createUser(String user,
String password,
String email,
String name,
boolean active) |
void |
deleteRole(String role) |
void |
deleteUser(String user) |
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 |
removeRole(String user,
String role) |
void |
revokeRole(String nodeId,
String role,
int permissions,
boolean recursive) |
void |
revokeUser(String nodeId,
String user,
int permissions,
boolean recursive) |
void |
updateRole(String role,
boolean active) |
void |
updateUser(String user,
String password,
String email,
String name,
boolean active) |
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
void createUser(String user, String password, String email, String name, boolean active) throws PrincipalAdapterException, UnknowException, WebserviceException
void deleteUser(String user) throws PrincipalAdapterException, UnknowException, WebserviceException
void updateUser(String user, String password, String email, String name, boolean active) throws PrincipalAdapterException, UnknowException, WebserviceException
void createRole(String role, boolean active) throws PrincipalAdapterException, UnknowException, WebserviceException
void deleteRole(String role) throws PrincipalAdapterException, UnknowException, WebserviceException
void updateRole(String role, boolean active) throws PrincipalAdapterException, UnknowException, WebserviceException
void assignRole(String user, String role) throws PrincipalAdapterException, UnknowException, WebserviceException
void removeRole(String user, String role) throws PrincipalAdapterException, UnknowException, WebserviceException
Copyright © 2015 Open Knowledge Management System S.L.. All rights reserved.