Package com.lucimber.dbus.netty.sasl
Class AuthorizationIdResolver
java.lang.Object
com.lucimber.dbus.netty.sasl.AuthorizationIdResolver
Utility to determine the authorization identity for use with the EXTERNAL SASL mechanism. Both
UID (Unix) and SID (Windows) are supported by this resolver.
-
Method Summary
-
Method Details
-
resolve
Resolves the current user's UID (Unix) or SID (Windows) as a string.- Returns:
- The authorization identity string.
- Throws:
SaslMechanismException
- if the ID cannot be resolved.
-