Interface AuthenticationContext


public interface AuthenticationContext
A context for accessing the currently-authenticated user.
  • Method Details

    • getCurrentUser

      @Nullable ApplicationUser getCurrentUser()
      Returns:
      the current user or null if anonymous
    • getProperties

      @Nonnull Map<String,Serializable> getProperties()
      Returns:
      the authentication properties provided during authentication; empty map if not authenticated
      Since:
      5.5
    • isAuthenticated

      boolean isAuthenticated()
      Returns:
      true if the current request is authenticated