Package com.lucimber.dbus.netty.sasl
Class AnonymousSaslMechanism
java.lang.Object
com.lucimber.dbus.netty.sasl.AnonymousSaslMechanism
- All Implemented Interfaces:
SaslMechanism
Implements the ANONYMOUS SASL mechanism as defined in the D-Bus specification. This mechanism
requires no authentication or identity assertion and does not exchange payloads.
-
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
-
AnonymousSaslMechanism
public AnonymousSaslMechanism()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceSaslMechanism
-
init
public void init(io.netty.channel.ChannelHandlerContext ctx) - Specified by:
init
in interfaceSaslMechanism
-
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
-