Package ch.tocco.nice2.security.spi.auth
Interface LoginCredentials
- All Superinterfaces:
Credentials
- All Known Subinterfaces:
UsernamePasswordCredentials
- All Known Implementing Classes:
ActivateTwoFactorLoginCredentials
,InvokerUsernamePasswordCredentials
,OpenIdCredentials
,SimpleUsernamePasswordCredentials
,TwoFactorLoginCredentials
-
Method Summary
Modifier and TypeMethodDescriptionReturn the username used for authentication.default boolean
If there are credentials that do not support two factor authentication, it will not be initialiseddefault boolean
If it returns false, the UpdatingAuthListener will not update any principal fields.
-
Method Details
-
getUsername
String getUsername()Return the username used for authentication. -
updatePrincipalFields
default boolean updatePrincipalFields()If it returns false, the UpdatingAuthListener will not update any principal fields. -
supportsTwoFactorAuthentication
default boolean supportsTwoFactorAuthentication()If there are credentials that do not support two factor authentication, it will not be initialised
-