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(ServerContext context,
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(ServerContext context, boolean initialize)
boolean validSecurityHandlers(Authenticator auth, PermissionHandler pm)
void initializeSecurity(TCredentials credentials, String rootuser) throws AccumuloSecurityException
AccumuloSecurityException
void changeAuthorizations(String user, Authorizations authorizations) throws AccumuloSecurityException
AccumuloSecurityException
Authorizations getCachedUserAuthorizations(String user)
boolean isValidAuthorizations(String user, List<ByteBuffer> list)
void initUser(String user) throws AccumuloSecurityException
AccumuloSecurityException
void dropUser(String user) throws AccumuloSecurityException
AccumuloSecurityException
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.