Class CookieSaslMechanism

java.lang.Object
com.lucimber.dbus.netty.sasl.CookieSaslMechanism
All Implemented Interfaces:
SaslMechanism

public final class CookieSaslMechanism extends Object implements SaslMechanism
SASL mechanism implementation for D-Bus COOKIE_SHA1 authentication.

Security Warning: This mechanism uses SHA-1 hashing as mandated by the D-Bus specification. While SHA-1 is cryptographically weak, it cannot be replaced without breaking compatibility with the D-Bus protocol standard.

The DBUS_COOKIE_SHA1 mechanism is defined in the D-Bus specification and requires SHA-1 for compatibility with all D-Bus implementations. This is a protocol-level requirement, not an implementation choice.

Since:
1.0.0
See Also: