|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.security.authorize.ServiceAuthorizationManager
public class ServiceAuthorizationManager
An authorization manager which handles service-level authorization for incoming service requests.
Field Summary | |
---|---|
static java.lang.String |
SERVICE_AUTHORIZATION_CONFIG
Configuration key for controlling service-level authorization for Hadoop. |
Constructor Summary | |
---|---|
ServiceAuthorizationManager()
|
Method Summary | |
---|---|
static void |
authorize(javax.security.auth.Subject user,
java.lang.Class<?> protocol)
Authorize the user to access the protocol being used. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SERVICE_AUTHORIZATION_CONFIG
Constructor Detail |
---|
public ServiceAuthorizationManager()
Method Detail |
---|
public static void authorize(javax.security.auth.Subject user, java.lang.Class<?> protocol) throws AuthorizationException
user
- user accessing the serviceprotocol
- service being accessed
AuthorizationException
- on authorization failure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |