Class Service

java.lang.Object
org.apache.hadoop.security.authorize.Service

@LimitedPrivate({"HDFS","MapReduce"}) @Evolving 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.
  • Constructor Details

    • Service

      public Service(String key, Class<?> protocol)
  • Method Details

    • getServiceKey

      public String getServiceKey()
      Get the configuration key for the service.
      Returns:
      the configuration key for the service
    • getProtocol

      public Class<?> getProtocol()
      Get the protocol for the service
      Returns:
      the Class for the protocol