public interface SaslServerHandler extends AutoCloseable
SaslServer
management.Modifier and Type | Method and Description |
---|---|
void |
close()
Close the handler and dispose internal resources.
|
AuthenticatedUserInfo |
getAuthenticatedUserInfo()
Used to get the authenticated user info after the completed session.
|
SaslMessage |
handleMessage(SaslMessage message)
Handles given
SaslMessage from the client. |
void |
setAuthenticatedUserInfo(AuthenticatedUserInfo userinfo)
To be called by callbacks to store authenticated user information.
|
SaslMessage handleMessage(SaslMessage message) throws SaslException
SaslMessage
from the client.message
- client Sasl messageSaslException
void setAuthenticatedUserInfo(AuthenticatedUserInfo userinfo)
userinfo
- user infoAuthenticatedUserInfo getAuthenticatedUserInfo()
void close()
close
in interface AutoCloseable
Copyright © 2023. All Rights Reserved.