org.apache.hadoop.security.authorize
Class Service
java.lang.Object
org.apache.hadoop.security.authorize.Service
public class Service
- extends Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Service
public Service(String key,
Class<?> protocol)
getServiceKey
public String getServiceKey()
- Get the configuration key for the service.
- Returns:
- the configuration key for the service
getPermission
public Permission getPermission()
- Get the
Permission
required to access the service.
- Returns:
- the
Permission
required to access the service
Copyright © 2009 The Apache Software Foundation