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_METHODFields inherited from class org.apache.hadoop.hbase.security.provider.BuiltInSaslAuthenticationProvider
AUTH_TOKEN_TYPE -
Constructor Summary
Constructors -
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.UserGroupInformationgetAuthorizedUgi(String authzId, org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager) booleanMethods inherited from class org.apache.hadoop.hbase.security.provider.SimpleSaslAuthenticationProvider
getSaslAuthMethodMethods inherited from class org.apache.hadoop.hbase.security.provider.BuiltInSaslAuthenticationProvider
createSaslAuthMethod, getTokenKindMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.security.provider.SaslAuthenticationProvider
getSaslAuthMethod, getTokenKindMethods 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:SaslServerAuthenticationProviderCreates the SaslServer to accept incoming SASL authentication requests.- Specified by:
createServerin interfaceSaslServerAuthenticationProvider- Throws:
IOException
-
supportsProtocolAuthentication
- Specified by:
supportsProtocolAuthenticationin 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:
getAuthorizedUgiin interfaceSaslServerAuthenticationProvider- Throws:
IOException
-