Class SimpleSaslServerAuthenticationProvider
java.lang.Object
org.apache.hadoop.hbase.security.provider.BuiltInSaslAuthenticationProvider
org.apache.hadoop.hbase.security.provider.SimpleSaslAuthenticationProvider
org.apache.hadoop.hbase.security.provider.SimpleSaslServerAuthenticationProvider
- All Implemented Interfaces:
SaslAuthenticationProvider
,SaslServerAuthenticationProvider
@Private
public class SimpleSaslServerAuthenticationProvider
extends SimpleSaslAuthenticationProvider
implements SaslServerAuthenticationProvider
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.security.provider.SimpleSaslAuthenticationProvider
SASL_AUTH_METHOD
Fields inherited from class org.apache.hadoop.hbase.security.provider.BuiltInSaslAuthenticationProvider
AUTH_TOKEN_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateServer
(org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager, Map<String, String> saslProps) Creates the SaslServer to accept incoming SASL authentication requests.org.apache.hadoop.security.UserGroupInformation
getAuthorizedUgi
(String authzId, org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager) boolean
Methods inherited from class org.apache.hadoop.hbase.security.provider.SimpleSaslAuthenticationProvider
getSaslAuthMethod
Methods inherited from class org.apache.hadoop.hbase.security.provider.BuiltInSaslAuthenticationProvider
createSaslAuthMethod, getTokenKind
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.security.provider.SaslAuthenticationProvider
getSaslAuthMethod, getTokenKind
Methods inherited from interface org.apache.hadoop.hbase.security.provider.SaslServerAuthenticationProvider
init
-
Constructor Details
-
SimpleSaslServerAuthenticationProvider
-
-
Method Details
-
createServer
public AttemptingUserProvidingSaslServer createServer(org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager, Map<String, String> saslProps) throws IOExceptionDescription copied from interface:SaslServerAuthenticationProvider
Creates the SaslServer to accept incoming SASL authentication requests.- Specified by:
createServer
in interfaceSaslServerAuthenticationProvider
- Throws:
IOException
-
supportsProtocolAuthentication
- Specified by:
supportsProtocolAuthentication
in interfaceSaslServerAuthenticationProvider
-
getAuthorizedUgi
public org.apache.hadoop.security.UserGroupInformation getAuthorizedUgi(String authzId, org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager) throws IOException - Specified by:
getAuthorizedUgi
in interfaceSaslServerAuthenticationProvider
- Throws:
IOException
-