@InterfaceAudience.LimitedPrivate(value="Authentication") @InterfaceStability.Evolving public class SaslAuthMethod extends Object
SaslClientAuthenticationProvider
authenticates over SASL.Constructor and Description |
---|
SaslAuthMethod(String name,
byte code,
String saslMech,
org.apache.hadoop.security.UserGroupInformation.AuthenticationMethod method) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
org.apache.hadoop.security.UserGroupInformation.AuthenticationMethod |
getAuthMethod()
Returns the Hadoop
UserGroupInformation.AuthenticationMethod for this method. |
byte |
getCode()
Returns the unique value to identify this authentication method among other HBase auth methods.
|
String |
getName()
Returns the unique name to identify this authentication method among other HBase auth methods.
|
String |
getSaslMechanism()
Returns the SASL mechanism used by this authentication method.
|
int |
hashCode() |
public String getName()
public byte getCode()
public String getSaslMechanism()
public org.apache.hadoop.security.UserGroupInformation.AuthenticationMethod getAuthMethod()
UserGroupInformation.AuthenticationMethod
for this method.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.