UserProvider (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.web.resources, class: UserProvider

Package org.apache.hadoop.hdfs.web.resources

# Class UserProvider

java.lang.Object
org.apache.hadoop.hdfs.web.resources.UserProvider

All Implemented Interfaces:
  `Supplier<org.apache.hadoop.security.UserGroupInformation>`

@Provider public class UserProvider extends Object implements Supplier<org.apache.hadoop.security.UserGroupInformation>
Inject user information to http operations.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UserProvider()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `org.apache.hadoop.security.UserGroupInformation`
  `get()`

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

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

- ## Constructor Details

  - ### UserProvider

    public UserProvider()

- ## Method Details

  - ### get

    public org.apache.hadoop.security.UserGroupInformation get()
    Specified by:
      `get` in interface `Supplier<org.apache.hadoop.security.UserGroupInformation>`