Class AuthResult


  • public abstract class AuthResult
    extends java.lang.Object
    Results of authentication for a given HTTP request, as emitted by an AuthenticationMechanism.
    • Constructor Detail

      • AuthResult

        public AuthResult()
    • Method Detail

      • authLevel

        public abstract AuthLevel authLevel()
      • userAuthInfo

        public abstract java.util.Optional<UserAuthInfo> userAuthInfo()
        Information about the authenticated user, if there is one.
      • isAuthenticated

        public boolean isAuthenticated()
      • userIdForLogging

        public java.lang.String userIdForLogging()