Interface AuthSessionData<A extends Authentication>

Type Parameters:
A - the authentication type
All Known Implementing Classes:
BasicAuthSessionData

public interface AuthSessionData<A extends Authentication>

A session data type for storing authentication data.

A session data type must implements AuthSessionData in order to support basic session authentication where the successful authentication is stored in the session.

Since:
1.13
Author:
Jeremy Kuhn
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the authentication stored in the session.
    void
    setAuthentication(A authentication)
    Sets the authentication in the session
  • Method Details

    • getAuthentication

      A getAuthentication()

      Returns the authentication stored in the session.

      Returns:
      an authentication or null
    • setAuthentication

      void setAuthentication(A authentication)

      Sets the authentication in the session

      Parameters:
      authentication - the authentication