Interface LoginCredentials

All Superinterfaces:
Credentials
All Known Subinterfaces:
UsernamePasswordCredentials
All Known Implementing Classes:
ActivateTwoFactorLoginCredentials, InvokerUsernamePasswordCredentials, OpenIdCredentials, SimpleUsernamePasswordCredentials, TwoFactorLoginCredentials

public interface LoginCredentials extends Credentials
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the username used for authentication.
    default boolean
    If there are credentials that do not support two factor authentication, it will not be initialised
    default 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