Uses of Enum Class
org.apache.storm.generated.WorkerTokenServiceType
Packages that use WorkerTokenServiceType
Package
Description
-
Uses of WorkerTokenServiceType in org.apache.storm.cluster
Methods in org.apache.storm.cluster with parameters of type WorkerTokenServiceTypeModifier and TypeMethodDescriptionvoid
IStormClusterState.addPrivateWorkerKey
(WorkerTokenServiceType type, String topologyId, long keyVersion, PrivateWorkerKey key) Store a new version of a private key.void
StormClusterStateImpl.addPrivateWorkerKey
(WorkerTokenServiceType type, String topologyId, long keyVersion, PrivateWorkerKey key) long
IStormClusterState.getNextPrivateWorkerKeyVersion
(WorkerTokenServiceType type, String topologyId) Get the next key version number that should be used for this topology id.long
StormClusterStateImpl.getNextPrivateWorkerKeyVersion
(WorkerTokenServiceType type, String topologyId) IStormClusterState.getPrivateWorkerKey
(WorkerTokenServiceType type, String topologyId, long keyVersion) Get a private key used to validate a token is correct.StormClusterStateImpl.getPrivateWorkerKey
(WorkerTokenServiceType type, String topologyId, long keyVersion) List<org.apache.storm.shade.org.apache.zookeeper.data.ACL>
ClusterStateContext.getZkSecretAcls
(WorkerTokenServiceType type) List<org.apache.storm.shade.org.apache.zookeeper.data.ACL>
DaemonType.getZkSecretAcls
(WorkerTokenServiceType type, Map<String, Object> conf) Get the ACLs to store a secret for a given service.static String
ClusterUtils.secretKeysPath
(WorkerTokenServiceType type) Get the base path where secret keys are stored for a given service.static String
ClusterUtils.secretKeysPath
(WorkerTokenServiceType type, String topologyId) Get the path to secret keys for a specific topology.static String
ClusterUtils.secretKeysPath
(WorkerTokenServiceType type, String topologyId, long version) Get the path to a specific secret key. -
Uses of WorkerTokenServiceType in org.apache.storm.generated
Methods in org.apache.storm.generated that return WorkerTokenServiceTypeModifier and TypeMethodDescriptionstatic WorkerTokenServiceType
WorkerTokenServiceType.findByValue
(int value) Find a the enum type by its integer value, as defined in the Thrift IDL.WorkerToken.get_serviceType()
static WorkerTokenServiceType
Returns the enum constant of this class with the specified name.static WorkerTokenServiceType[]
WorkerTokenServiceType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.storm.generated with parameters of type WorkerTokenServiceTypeModifier and TypeMethodDescriptionvoid
WorkerToken.set_serviceType
(WorkerTokenServiceType serviceType) Constructors in org.apache.storm.generated with parameters of type WorkerTokenServiceTypeModifierConstructorDescriptionWorkerToken
(WorkerTokenServiceType serviceType, ByteBuffer info, ByteBuffer signature) -
Uses of WorkerTokenServiceType in org.apache.storm.security.auth
Methods in org.apache.storm.security.auth that return WorkerTokenServiceTypeModifier and TypeMethodDescriptionThriftConnectionType.getWtType()
Get the corresponding worker token type for this thrift connection.Methods in org.apache.storm.security.auth with parameters of type WorkerTokenServiceTypeModifier 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.static String
ClientAuthUtils.workerTokenCredentialsKey
(WorkerTokenServiceType type) Get the key used to store a WorkerToken in the credentials map. -
Uses of WorkerTokenServiceType in org.apache.storm.security.auth.workertoken
Methods in org.apache.storm.security.auth.workertoken with parameters of type WorkerTokenServiceTypeModifier and TypeMethodDescriptionWorkerTokenManager.createOrUpdateTokenFor
(WorkerTokenServiceType serviceType, String user, String topologyId) Create or update an existing key.boolean
WorkerTokenManager.shouldRenewWorkerToken
(Map<String, String> creds, WorkerTokenServiceType type)