Class SessionCredentials<A extends Authentication>

java.lang.Object
io.inverno.mod.security.http.session.SessionCredentials<A>
Type Parameters:
A - the authentication type
All Implemented Interfaces:
Credentials

public class SessionCredentials<A extends Authentication> extends Object implements Credentials

Credentials wrapping an authentication resolved from a session.

Since:
1.13
Author:
Jeremy Kuhn
  • Constructor Details

    • SessionCredentials

      public SessionCredentials(A authentication)

      Creates session credentials containing the specified authentication.

      Parameters:
      authentication - the authentication
  • Method Details

    • getAuthentication

      public A getAuthentication()

      Returns the authentication.

      Returns:
      the authentication