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
isLockeddefault 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