public interface Authorizor
| Modifier and Type | Method and Description |
|---|---|
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 |
isValidAuthorizations(String user,
List<ByteBuffer> list)
Used to check if a user has valid auths.
|
boolean |
validSecurityHandlers(Authenticator auth,
PermissionHandler pm)
Used to validate that the Authorizor, Authenticator, and permission handler can coexist
|
void initialize(String instanceId, boolean initialize)
boolean validSecurityHandlers(Authenticator auth, PermissionHandler pm)
void initializeSecurity(TCredentials credentials, String rootuser) throws AccumuloSecurityException, ThriftSecurityException
void changeAuthorizations(String user, Authorizations authorizations) throws AccumuloSecurityException
AccumuloSecurityExceptionAuthorizations getCachedUserAuthorizations(String user) throws AccumuloSecurityException
AccumuloSecurityExceptionboolean isValidAuthorizations(String user, List<ByteBuffer> list) throws AccumuloSecurityException
AccumuloSecurityExceptionvoid initUser(String user) throws AccumuloSecurityException
AccumuloSecurityExceptionvoid dropUser(String user) throws AccumuloSecurityException
AccumuloSecurityExceptionCopyright © 2015 Apache Accumulo Project. All rights reserved.