@InterfaceAudience.LimitedPrivate(value="Authentication") @InterfaceStability.Evolving public class SaslAuthMethod extends Object
SaslClientAuthenticationProvider
authenticates over SASL.Modifier and Type | Field and Description |
---|---|
private byte |
code |
private org.apache.hadoop.security.UserGroupInformation.AuthenticationMethod |
method |
private String |
name |
private String |
saslMech |
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() |
private final byte code
private final org.apache.hadoop.security.UserGroupInformation.AuthenticationMethod method
public SaslAuthMethod(String name, byte code, String saslMech, org.apache.hadoop.security.UserGroupInformation.AuthenticationMethod method)
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.