Package org.apache.storm.security.auth
Enum Class ThriftConnectionType
- All Implemented Interfaces:
- Serializable,- Comparable<ThriftConnectionType>,- Constable
The purpose for which the Thrift server is created.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescription
- 
Method SummaryModifier and TypeMethodDescriptiongetClientCertPath(Map<String, Object> conf) getClientKeyPath(Map<String, Object> conf) getClientKeyStorePassword(Map<String, Object> conf) getClientKeyStorePath(Map<String, Object> conf) getClientTrustStorePath(Map<String, Object> conf) intgetMaxBufferSize(Map<String, Object> conf) intgetNumThreads(Map<String, Object> conf) intgetQueueSize(Map<String, Object> conf) getServerKeyStorePassword(Map<String, Object> conf) getServerKeyStorePath(Map<String, Object> conf) getServerTrustStorePath(Map<String, Object> conf) getSocketTimeOut(Map<String, Object> conf) getTransportPlugin(Map<String, Object> conf) Get the corresponding worker token type for this thrift connection.booleanisClientAuthRequired(Map<String, Object> conf) booleanisFake()booleanCheck if SASL impersonation is allowed for this transport type.booleanstatic ThriftConnectionTypeReturns the enum constant of this class with the specified name.static ThriftConnectionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
NIMBUS
- 
NIMBUS_TLS
- 
SUPERVISOR
- 
SUPERVISOR_TLS
- 
DRPC
- 
DRPC_INVOCATIONS
- 
LOCAL_FAKE
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
isFakepublic boolean isFake()
- 
getTransportPlugin
- 
getPort
- 
getQueueSize
- 
getNumThreads
- 
getMaxBufferSize
- 
getSocketTimeOut
- 
getWtTypeGet the corresponding worker token type for this thrift connection.
- 
isImpersonationAllowedpublic boolean isImpersonationAllowed()Check if SASL impersonation is allowed for this transport type.- Returns:
- true if it is else false.
 
- 
isTlsEnabledpublic boolean isTlsEnabled()
- 
isClientAuthRequired
- 
getServerKeyStorePath
- 
getServerKeyStorePassword
- 
getServerTrustStorePath
- 
getServerTrustStorePassword
- 
getClientKeyStorePath
- 
getClientKeyStorePassword
- 
getClientTrustStorePath
- 
getClientTrustStorePassword
- 
getClientKeyPath
- 
getClientCertPath
 
-