@InterfaceAudience.Private public class HBaseSaslRpcServer extends Object
org.apache.hadoop.security| Modifier and Type | Field and Description |
|---|---|
private SaslServer |
saslServer |
private AttemptingUserProvidingSaslServer |
serverWithProvider |
| Constructor and Description |
|---|
HBaseSaslRpcServer(SaslServerAuthenticationProvider provider,
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) |
String |
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) |
private final AttemptingUserProvidingSaslServer serverWithProvider
private final SaslServer saslServer
public HBaseSaslRpcServer(SaslServerAuthenticationProvider provider, Map<String,String> saslProps, org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager) throws IOException
IOExceptionpublic boolean isComplete()
public byte[] evaluateResponse(byte[] response) throws SaslException
SaslExceptionpublic void dispose()
public String getAttemptingUser()
public byte[] wrap(byte[] buf, int off, int len) throws SaslException
SaslExceptionpublic byte[] unwrap(byte[] buf, int off, int len) throws SaslException
SaslExceptionpublic 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.InvalidTokenCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.