@InterfaceAudience.Private public class HBaseSaslRpcServer extends Object
org.apache.hadoop.security
Constructor and Description |
---|
HBaseSaslRpcServer(AuthMethod method,
Map<String,String> saslProps,
org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Release resources used by wrapped saslServer
|
byte[] |
evaluateResponse(byte[] response) |
org.apache.hadoop.security.UserGroupInformation |
getAttemptingUser() |
String |
getAuthorizationID() |
static <T extends org.apache.hadoop.security.token.TokenIdentifier> |
getIdentifier(String id,
org.apache.hadoop.security.token.SecretManager<T> secretManager) |
String |
getNegotiatedQop() |
boolean |
isComplete() |
byte[] |
unwrap(byte[] buf,
int off,
int len) |
byte[] |
wrap(byte[] buf,
int off,
int len) |
public HBaseSaslRpcServer(AuthMethod method, Map<String,String> saslProps, org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager) throws IOException
IOException
public boolean isComplete()
public byte[] evaluateResponse(byte[] response) throws SaslException
SaslException
public void dispose()
public org.apache.hadoop.security.UserGroupInformation getAttemptingUser()
public byte[] wrap(byte[] buf, int off, int len) throws SaslException
SaslException
public byte[] unwrap(byte[] buf, int off, int len) throws SaslException
SaslException
public String getNegotiatedQop()
public String getAuthorizationID()
public static <T extends org.apache.hadoop.security.token.TokenIdentifier> T getIdentifier(String id, org.apache.hadoop.security.token.SecretManager<T> secretManager) throws org.apache.hadoop.security.token.SecretManager.InvalidToken
org.apache.hadoop.security.token.SecretManager.InvalidToken
Copyright © 2007–2019 Cloudera. All rights reserved.