Package com.lucimber.dbus.netty.sasl
Class ExternalSaslMechanism
java.lang.Object
com.lucimber.dbus.netty.sasl.ExternalSaslMechanism
- All Implemented Interfaces:
SaslMechanism
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
io.netty.util.concurrent.Future<String>
getInitialResponseAsync
(io.netty.channel.ChannelHandlerContext ctx) getName()
void
init
(io.netty.channel.ChannelHandlerContext ctx) boolean
io.netty.util.concurrent.Future<String>
processChallengeAsync
(io.netty.channel.ChannelHandlerContext ctx, String challenge)
-
Constructor Details
-
ExternalSaslMechanism
public ExternalSaslMechanism()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceSaslMechanism
-
init
- Specified by:
init
in interfaceSaslMechanism
- Throws:
SaslMechanismException
-
getInitialResponseAsync
public io.netty.util.concurrent.Future<String> getInitialResponseAsync(io.netty.channel.ChannelHandlerContext ctx) - Specified by:
getInitialResponseAsync
in interfaceSaslMechanism
-
processChallengeAsync
public io.netty.util.concurrent.Future<String> processChallengeAsync(io.netty.channel.ChannelHandlerContext ctx, String challenge) - Specified by:
processChallengeAsync
in interfaceSaslMechanism
-
isComplete
public boolean isComplete()- Specified by:
isComplete
in interfaceSaslMechanism
-
dispose
public void dispose()- Specified by:
dispose
in interfaceSaslMechanism
-