Class AuthResult

java.lang.Object
org.apache.juneau.rest.server.auth.AuthResult

public final class AuthResult extends Object
Immutable value type returned by Authenticator.authenticate(jakarta.servlet.http.HttpServletRequest) on success.

Carries the resolved Principal and the set of roles associated with the authenticated subject. The role set may be empty when no role claims are available (the principal is still valid).

See Also:
Since:
10.0.0