Interface Request.AuthenticationState

All Known Subinterfaces:
AuthenticationState, AuthenticationState.Deferred, AuthenticationState.ResponseSent, AuthenticationState.Succeeded
All Known Implementing Classes:
AuthenticationState.ServeAs, DeferredAuthenticationState, LoginAuthenticator.LoggedOutAuthentication, LoginAuthenticator.UserAuthenticationSent, LoginAuthenticator.UserAuthenticationSucceeded, SessionAuthentication
Enclosing interface:
Request

public static interface Request.AuthenticationState
A minimal Authentication interface, primarily used for logging. It is implemented by the jetty-security module's AuthenticationState to provide full authentication services.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Principal
     
  • Method Details

    • getUserPrincipal

      default Principal getUserPrincipal()
      Returns:
      The authenticated user Principal, or null if the Authentication is in a non-authenticated state.