Class Credentials

java.lang.Object
org.pac4j.core.credentials.Credentials
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AnonymousCredentials, SessionKeyCredentials, TokenCredentials, UsernamePasswordCredentials

public abstract class Credentials extends Object implements Serializable
The credentials.
Since:
6.0.0
Author:
Jerome LELEU
See Also:
  • Field Details

    • logoutType

      protected LogoutType logoutType
    • source

      protected String source
      Indicates the source of the credentials. This is typically configured and set during the credential extraction process and authentication is then able to accept or reject a credential based on the source, if necessary. Values assigned to the source may be defined freely, though official sources typically should use values from CredentialSource.
  • Constructor Details

    • Credentials

      public Credentials()
  • Method Details

    • isForAuthentication

      public boolean isForAuthentication()

      isForAuthentication.

      Returns:
      a boolean