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 Link icon

    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 Link icon

    • getUsername Link icon

      String getUsername()
      Return the username used for authentication.
    • updatePrincipalFields Link icon

      default boolean updatePrincipalFields()
      If it returns false, the UpdatingAuthListener will not update any principal fields.
    • supportsTwoFactorAuthentication Link icon

      default boolean supportsTwoFactorAuthentication()
      If there are credentials that do not support two factor authentication, it will not be initialised