|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.security.authorize.Service
public class Service
An abstract definition of service as related to
Service Level Authorization for Hadoop.
Each service defines it's configuration key and also the necessary
Permission
required to access the service.
Constructor Summary | |
---|---|
Service(java.lang.String key,
java.lang.Class<?> protocol)
|
Method Summary | |
---|---|
java.security.Permission |
getPermission()
Get the Permission required to access the service. |
java.lang.String |
getServiceKey()
Get the configuration key for the service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Service(java.lang.String key, java.lang.Class<?> protocol)
Method Detail |
---|
public java.lang.String getServiceKey()
public java.security.Permission getPermission()
Permission
required to access the service.
Permission
required to access the service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |