public class SaslServerHandlerPlain extends AbstractSaslServerHandler
SaslServerHandler
implementation for Plain/Custom schemes.mSaslServer
Constructor and Description |
---|
SaslServerHandlerPlain(String serverName,
AlluxioConfiguration conf,
ImpersonationAuthenticator authenticator)
Creates
SaslServerHandler for Plain/Custom. |
Modifier and Type | Method and Description |
---|---|
AuthenticatedUserInfo |
getAuthenticatedUserInfo()
Used to get the authenticated user info after the completed session.
|
void |
setAuthenticatedUserInfo(AuthenticatedUserInfo userinfo)
To be called by callbacks to store authenticated user information.
|
close, getSaslServer
public SaslServerHandlerPlain(String serverName, AlluxioConfiguration conf, ImpersonationAuthenticator authenticator) throws SaslException
SaslServerHandler
for Plain/Custom.serverName
- server nameconf
- Alluxio configurationauthenticator
- the impersonation authenticatorSaslException
public void setAuthenticatedUserInfo(AuthenticatedUserInfo userinfo)
SaslServerHandler
userinfo
- user infopublic AuthenticatedUserInfo getAuthenticatedUserInfo()
SaslServerHandler
Copyright © 2023. All Rights Reserved.