Interface Request.AuthenticationState

All Known Subinterfaces:
Authentication, Authentication, Authentication.Challenge, Authentication.Challenge, Authentication.Deferred, Authentication.Deferred, Authentication.Failure, Authentication.Failure, Authentication.LoginAuthentication, Authentication.LoginAuthentication, Authentication.LogoutAuthentication, Authentication.LogoutAuthentication, Authentication.NonAuthenticated, Authentication.NonAuthenticated, Authentication.ResponseSent, Authentication.ResponseSent, Authentication.SendSuccess, Authentication.SendSuccess, Authentication.User, Authentication.User, Authentication.Wrapped, Authentication.Wrapped, AuthenticationState, AuthenticationState.Deferred, AuthenticationState.ResponseSent, AuthenticationState.Succeeded
All Known Implementing Classes:
AbstractUserAuthentication, AbstractUserAuthentication, AuthenticationState.ServeAs, DeferredAuthentication, DeferredAuthentication, FormAuthenticator.FormAuthentication, FormAuthenticator.FormAuthentication, LoggedOutAuthentication, LoggedOutAuthentication, LoginAuthenticator.LoggedOutAuthentication, LoginAuthenticator.UserAuthenticationSent, LoginAuthenticator.UserAuthenticationSucceeded, OpenIdAuthenticator.OpenIdAuthentication, OpenIdAuthenticator.OpenIdAuthentication, SessionAuthentication, SessionAuthentication, SessionAuthentication, UserAuthentication, UserAuthentication
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.