| Package | Description |
|---|---|
| org.apache.storm.generated | |
| org.apache.storm.security.auth | |
| org.apache.storm.security.auth.workertoken |
| Modifier and Type | Method and Description |
|---|---|
WorkerToken |
WorkerToken.deepCopy() |
| Modifier and Type | Method and Description |
|---|---|
int |
WorkerToken.compareTo(WorkerToken other) |
boolean |
WorkerToken.equals(WorkerToken that) |
| Constructor and Description |
|---|
WorkerToken(WorkerToken other)
Performs a deep copy on other.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and 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.
|
| Constructor and Description |
|---|
WorkerTokenClientCallbackHandler(WorkerToken token)
Constructor.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.