Uses of Class
org.apache.storm.generated.WorkerTokenServiceType
-
Packages that use WorkerTokenServiceType Package Description org.apache.storm.cluster org.apache.storm.generated org.apache.storm.security.auth org.apache.storm.security.auth.workertoken -
-
Uses of WorkerTokenServiceType in org.apache.storm.cluster
Methods in org.apache.storm.cluster with parameters of type WorkerTokenServiceType Modifier and Type Method Description voidIStormClusterState. 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)PrivateWorkerKeyIStormClusterState. getPrivateWorkerKey(WorkerTokenServiceType type, String topologyId, long keyVersion)Get a private key used to validate a token is correct.PrivateWorkerKeyStormClusterStateImpl. 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 WorkerTokenServiceType Modifier and Type Method Description static WorkerTokenServiceTypeWorkerTokenServiceType. findByValue(int value)Find a the enum type by its integer value, as defined in the Thrift IDL.WorkerTokenServiceTypeWorkerToken. get_serviceType()static WorkerTokenServiceTypeWorkerTokenServiceType. valueOf(String name)Returns the enum constant of this type with the specified name.static WorkerTokenServiceType[]WorkerTokenServiceType. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.storm.generated with parameters of type WorkerTokenServiceType Modifier and Type Method Description voidWorkerToken. set_serviceType(WorkerTokenServiceType serviceType)Constructors in org.apache.storm.generated with parameters of type WorkerTokenServiceType Constructor Description WorkerToken(WorkerTokenServiceType serviceType, ByteBuffer info, ByteBuffer signature) -
Uses of WorkerTokenServiceType in org.apache.storm.security.auth
Methods in org.apache.storm.security.auth that return WorkerTokenServiceType Modifier and Type Method Description WorkerTokenServiceTypeThriftConnectionType. getWtType()Get the corresponding worker token type for this thrift connection.Methods in org.apache.storm.security.auth with parameters of type WorkerTokenServiceType Modifier and Type Method Description static 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 WorkerTokenServiceType Modifier and Type Method Description WorkerTokenWorkerTokenManager. createOrUpdateTokenFor(WorkerTokenServiceType serviceType, String user, String topologyId)Create or update an existing key.booleanWorkerTokenManager. shouldRenewWorkerToken(Map<String,String> creds, WorkerTokenServiceType type)
-