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 TypeMethodDescriptionvoidIStormClusterState.addPrivateWorkerKey(WorkerTokenServiceType type, String topologyId, long keyVersion, PrivateWorkerKey key) Store a new version of a private key.voidStormClusterStateImpl.addPrivateWorkerKey(WorkerTokenServiceType type, String topologyId, long keyVersion, PrivateWorkerKey key) longIStormClusterState.getNextPrivateWorkerKeyVersion(WorkerTokenServiceType type, String topologyId) Get the next key version number that should be used for this topology id.longStormClusterStateImpl.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 StringClusterUtils.secretKeysPath(WorkerTokenServiceType type) Get the base path where secret keys are stored for a given service.static StringClusterUtils.secretKeysPath(WorkerTokenServiceType type, String topologyId) Get the path to secret keys for a specific topology.static StringClusterUtils.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 WorkerTokenServiceTypeWorkerTokenServiceType.findByValue(int value) Find a the enum type by its integer value, as defined in the Thrift IDL.WorkerToken.get_serviceType()static WorkerTokenServiceTypeReturns 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 TypeMethodDescriptionvoidWorkerToken.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 WorkerTokenClientAuthUtils.findWorkerToken(Subject subject, WorkerTokenServiceType type) Find a worker token in a given subject with a given token type.static WorkerTokenClientAuthUtils.readWorkerToken(Map<String, String> credentials, WorkerTokenServiceType type) Read a WorkerToken out of credentials for the given type.static StringClientAuthUtils.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.booleanWorkerTokenManager.shouldRenewWorkerToken(Map<String, String> creds, WorkerTokenServiceType type)