Interface Credentials

All Known Subinterfaces:
LoginCredentials, PrincipalCredentials
All Known Implementing Classes:
DigestCredentials, TokenCredentials, User

public interface Credentials

Credentials represents the data required by an entity to get access to protected services or resources.

Credentials must be provided to an Authenticator by an entity that wants to access protected services or resources. Authenticators can then authenticate these credentials either by matching them with credentials stored in a secured repository (see UserRepository), by using cryptographic methods or by using other authentication services (e.g. LDAP, Active Directory...).

Jeremy Kuhn
  • Method Summary

    Modifier and Type
    default boolean
    Determines whether a credentials is locked.
  • Method Details

    • isLocked

      default boolean isLocked()

      Determines whether a credentials is locked.

      Locked credentials should be considered invalid by authenticators when matching provided credentials with stored entity credentials.

      true if credentials are locked, false otherwise