Interface SaslServerAuthenticationProvider
- All Superinterfaces:
 SaslAuthenticationProvider
- All Known Implementing Classes:
 DigestSaslServerAuthenticationProvider,GssSaslServerAuthenticationProvider,ShadeSaslServerAuthenticationProvider,SimpleSaslServerAuthenticationProvider
@LimitedPrivate("Authentication")
@Evolving
public interface SaslServerAuthenticationProvider
extends SaslAuthenticationProvider
Encapsulates the server-side logic to authenticate a client over SASL. Tied one-to-one to a
 single client authentication implementation.
- 
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) default voidinit(org.apache.hadoop.conf.Configuration conf) Allows implementations to initialize themselves, prior to creating a server.booleanMethods inherited from interface org.apache.hadoop.hbase.security.provider.SaslAuthenticationProvider
getSaslAuthMethod, getTokenKind 
- 
Method Details
- 
init
Allows implementations to initialize themselves, prior to creating a server.- Throws:
 IOException
 - 
createServer
AttemptingUserProvidingSaslServer createServer(org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager, Map<String, String> saslProps) throws IOExceptionCreates the SaslServer to accept incoming SASL authentication requests.- Throws:
 IOException
 - 
supportsProtocolAuthentication
boolean supportsProtocolAuthentication() - 
getAuthorizedUgi
org.apache.hadoop.security.UserGroupInformation getAuthorizedUgi(String authzId, org.apache.hadoop.security.token.SecretManager<org.apache.hadoop.security.token.TokenIdentifier> secretManager) throws IOException - Throws:
 IOException
 
 -