public class SaslClientHandlerPlain extends AbstractSaslClientHandler
SaslClientHandler
implementation for Plain/Custom schemes.mSaslClient
Constructor and Description |
---|
SaslClientHandlerPlain(String username,
String password,
String impersonationUser)
Creates
SaslClientHandler instance for Plain/Custom. |
SaslClientHandlerPlain(Subject subject,
AlluxioConfiguration conf)
Creates
SaslClientHandler instance for Plain/Custom. |
Modifier and Type | Method and Description |
---|---|
ChannelAuthenticationScheme |
getClientScheme() |
close, getSaslClient
public SaslClientHandlerPlain(Subject subject, AlluxioConfiguration conf) throws UnauthenticatedException
SaslClientHandler
instance for Plain/Custom.subject
- client subjectconf
- Alluxio configurationUnauthenticatedException
public SaslClientHandlerPlain(String username, String password, String impersonationUser) throws UnauthenticatedException
SaslClientHandler
instance for Plain/Custom.username
- user namepassword
- passwordimpersonationUser
- impersonation userUnauthenticatedException
public ChannelAuthenticationScheme getClientScheme()
Copyright © 2023. All Rights Reserved.