public class DefaultSaslHandshakeClientHandler extends Object implements SaslHandshakeClientHandler
SaslHandshakeClientHandler
.Constructor and Description |
---|
DefaultSaslHandshakeClientHandler(SaslClientHandler saslClientHandler)
Creates
DefaultSaslHandshakeClientHandler with given SaslClientHandler . |
Modifier and Type | Method and Description |
---|---|
SaslMessage |
getInitialMessage(UUID channelId) |
SaslMessage |
handleSaslMessage(SaslMessage message)
Handles the given
SaslMessage from the server. |
public DefaultSaslHandshakeClientHandler(SaslClientHandler saslClientHandler) throws UnauthenticatedException
DefaultSaslHandshakeClientHandler
with given SaslClientHandler
.saslClientHandler
- sasl client handlerUnauthenticatedException
public SaslMessage handleSaslMessage(SaslMessage message) throws SaslException
SaslHandshakeClientHandler
SaslMessage
from the server.handleSaslMessage
in interface SaslHandshakeClientHandler
message
- server-side Sasl message to handleSaslException
public SaslMessage getInitialMessage(UUID channelId) throws SaslException
getInitialMessage
in interface SaslHandshakeClientHandler
channelId
- channel for which the authentication is happeningSaslException
Copyright © 2023. All Rights Reserved.