Module io.inverno.mod.security
Interface PrincipalCredentials
- All Superinterfaces:
Credentials
- All Known Subinterfaces:
LoginCredentials
- All Known Implementing Classes:
DigestCredentials
,User
Credentials used to authenticate a principal entity identified by a unique username.
This is a base type for representing principal credentials that do not presume of any particular authentication method (e.g. password, 2FA, biometric...).
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionReturns the unique username associated to the entity.Methods inherited from interface io.inverno.mod.security.authentication.Credentials
isLocked
-
Method Details
-
getUsername
String getUsername()Returns the unique username associated to the entity.
- Returns:
- a username
-