# Uses of Class
org.apache.storm.generated.WorkerToken

Packages that use WorkerToken
Package
Description
org.apache.storm.generated
org.apache.storm.security.auth
org.apache.storm.security.auth.workertoken

- ## Uses of WorkerToken in org.apache.storm.generated

  Methods in org.apache.storm.generated that return WorkerToken
  Modifier and Type
  Method
  Description
  `WorkerToken`
  WorkerToken.`deepCopy()`
  Methods in org.apache.storm.generated with parameters of type WorkerToken
  Modifier and Type
  Method
  Description
  `int`
  WorkerToken.`compareTo(WorkerToken other)`
  `boolean`
  WorkerToken.`equals(WorkerToken that)`
  Constructors in org.apache.storm.generated with parameters of type WorkerToken
  Modifier
  Constructor
  Description
  ``
  `WorkerToken(WorkerToken other)`
  Performs a deep copy on other.

- ## Uses of WorkerToken in org.apache.storm.security.auth

  Methods in org.apache.storm.security.auth that return WorkerToken
  Modifier and Type
  Method
  Description
  `static WorkerToken`
  ClientAuthUtils.`findWorkerToken(Subject subject, WorkerTokenServiceType type)`
  Find a worker token in a given subject with a given token type.
  `static WorkerToken`
  ClientAuthUtils.`readWorkerToken(Map<String,String> credentials, WorkerTokenServiceType type)`
  Read a WorkerToken out of credentials for the given type.
  Methods in org.apache.storm.security.auth with parameters of type WorkerToken
  Modifier and Type
  Method
  Description
  `static WorkerTokenInfo`
  ClientAuthUtils.`getWorkerTokenInfo(WorkerToken wt)`
  Get and deserialize the WorkerTokenInfo in the worker token.
  `static void`
  ClientAuthUtils.`setWorkerToken(Map<String,String> credentials, WorkerToken token)`
  Store a worker token in some credentials.

- ## Uses of WorkerToken in org.apache.storm.security.auth.workertoken

  Methods in org.apache.storm.security.auth.workertoken that return WorkerToken
  Modifier and Type
  Method
  Description
  `WorkerToken`
  WorkerTokenManager.`createOrUpdateTokenFor(WorkerTokenServiceType serviceType, String user, String topologyId)`
  Create or update an existing key.
  `static WorkerToken`
  WorkerTokenClientCallbackHandler.`findWorkerTokenInSubject(ThriftConnectionType type)`
  Look in the current subject for a WorkerToken.
  Constructors in org.apache.storm.security.auth.workertoken with parameters of type WorkerToken
  Modifier
  Constructor
  Description
  ``
  `WorkerTokenClientCallbackHandler(WorkerToken token)`
  Constructor.