|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Authorizor
This interface is used for the system which will be used for getting a users Authorizations. If the implementation does not support configuration through Accumulo, it should throw an AccumuloSecurityException with the error code UNSUPPORTED_OPERATION
Method Summary | |
---|---|
void |
changeAuthorizations(String user,
Authorizations authorizations)
Used to change the authorizations for the user |
void |
dropUser(String user)
Deletes a user |
Authorizations |
getCachedUserAuthorizations(String user)
Used to get the authorizations for the user |
void |
initialize(String instanceId,
boolean initialize)
Sets up the authorizor for a new instance of Accumulo |
void |
initializeSecurity(TCredentials credentials,
String rootuser)
Used to initialize security for the root user |
void |
initUser(String user)
Initializes a new user |
boolean |
validSecurityHandlers(Authenticator auth,
PermissionHandler pm)
Used to validate that the Authorizor, Authenticator, and permission handler can coexist |
Method Detail |
---|
void initialize(String instanceId, boolean initialize)
boolean validSecurityHandlers(Authenticator auth, PermissionHandler pm)
void initializeSecurity(TCredentials credentials, String rootuser) throws AccumuloSecurityException, ThriftSecurityException
AccumuloSecurityException
ThriftSecurityException
void changeAuthorizations(String user, Authorizations authorizations) throws AccumuloSecurityException
AccumuloSecurityException
Authorizations getCachedUserAuthorizations(String user) throws AccumuloSecurityException
AccumuloSecurityException
void initUser(String user) throws AccumuloSecurityException
AccumuloSecurityException
void dropUser(String user) throws AccumuloSecurityException
AccumuloSecurityException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |