PolicyProvider (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.security.authorize, class: PolicyProvider

Package org.apache.hadoop.security.authorize

# Class PolicyProvider

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

@LimitedPrivate({"HDFS","MapReduce"}) @Evolving public abstract class PolicyProvider extends Object
`PolicyProvider` provides the `Service` definitions to the security `Policy` in effect for Hadoop.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final PolicyProvider`
  `DEFAULT_POLICY_PROVIDER`
  A default `PolicyProvider` without any defined services.
  `static final String`
  `POLICY_PROVIDER_CONFIG`
  Configuration key for the `PolicyProvider` implementation.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PolicyProvider()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract Service[]`
  `getServices()`
  Get the `Service` definitions from the `PolicyProvider`.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### POLICY_PROVIDER_CONFIG

    public static final String POLICY_PROVIDER_CONFIG
    Configuration key for the `PolicyProvider` implementation.
    See Also:
      - Constant Field Values

  - ### DEFAULT_POLICY_PROVIDER

    public static final PolicyProvider DEFAULT_POLICY_PROVIDER
    A default `PolicyProvider` without any defined services.

- ## Constructor Details

  - ### PolicyProvider

    public PolicyProvider()

- ## Method Details

  - ### getServices

    public abstract Service[] getServices()
    Get the `Service` definitions from the `PolicyProvider`.
    Returns:
      the `Service` definitions