|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.accumulo.server.security.handler.ZKAuthorizor
public class ZKAuthorizor
Constructor Summary | |
---|---|
ZKAuthorizor()
|
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 |
static Authorizor |
getInstance()
|
void |
initialize(String instanceId,
boolean initialize)
Sets up the authorizor for a new instance of Accumulo |
void |
initializeSecurity(TCredentials itw,
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZKAuthorizor()
Method Detail |
---|
public static Authorizor getInstance()
public void initialize(String instanceId, boolean initialize)
Authorizor
initialize
in interface Authorizor
public Authorizations getCachedUserAuthorizations(String user)
Authorizor
getCachedUserAuthorizations
in interface Authorizor
public boolean validSecurityHandlers(Authenticator auth, PermissionHandler pm)
Authorizor
validSecurityHandlers
in interface Authorizor
public void initializeSecurity(TCredentials itw, String rootuser) throws AccumuloSecurityException
Authorizor
initializeSecurity
in interface Authorizor
AccumuloSecurityException
public void initUser(String user) throws AccumuloSecurityException
Authorizor
initUser
in interface Authorizor
user
-
AccumuloSecurityException
public void dropUser(String user) throws AccumuloSecurityException
Authorizor
dropUser
in interface Authorizor
AccumuloSecurityException
public void changeAuthorizations(String user, Authorizations authorizations) throws AccumuloSecurityException
Authorizor
changeAuthorizations
in interface Authorizor
AccumuloSecurityException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |