public class WorkerTokenClientCallbackHandler extends SimpleSaslClientCallbackHandler
Constructor and Description |
---|
WorkerTokenClientCallbackHandler(WorkerToken token)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static WorkerToken |
findWorkerTokenInSubject(ThriftConnectionType type)
Look in the current subject for a WorkerToken.
|
handle
public WorkerTokenClientCallbackHandler(WorkerToken token)
token
- the token to use to authenticate. This was probably retrieved by calling findWorkerTokenInSubject.public static WorkerToken findWorkerTokenInSubject(ThriftConnectionType type)
type
- the type of connection we need a token for.Copyright © 2023 The Apache Software Foundation. All rights reserved.