Uses of Class
org.apache.storm.generated.WorkerToken
Package
Description
-
Uses of WorkerToken in org.apache.storm.generated
Modifier and TypeMethodDescriptionint
WorkerToken.compareTo
(WorkerToken other) boolean
WorkerToken.equals
(WorkerToken that) -
Uses of WorkerToken in org.apache.storm.security.auth
Modifier and TypeMethodDescriptionstatic 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.Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeMethodDescriptionWorkerTokenManager.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.