Class UserIdentificationInfo

java.lang.Object
org.nuxeo.ecm.platform.api.login.UserIdentificationInfo
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
KeycloakUserInfo

public class UserIdentificationInfo extends Object implements Serializable
Encapsulates some information about a user and how it must be authenticated.
Author:
Thierry Delprat
See Also:
  • Field Details

    • userName

      protected String userName
    • password

      protected String password
    • credentialsChecked

      protected boolean credentialsChecked
      Since:
      11.1
    • token

      protected String token
    • authPluginName

      protected String authPluginName
  • Constructor Details

    • UserIdentificationInfo

      public UserIdentificationInfo(String userName)
    • UserIdentificationInfo

      public UserIdentificationInfo(String userName, String password)
    • UserIdentificationInfo

      public UserIdentificationInfo(UserIdentificationInfo savedIdent)
  • Method Details

    • getAuthPluginName

      public String getAuthPluginName()
      Returns the name of the Authentication Plugin used to get user identity (FORM,BASIC,CAS2 ...).
    • setAuthPluginName

      public void setAuthPluginName(String authPluginName)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getUserName

      public String getUserName()
    • setUserName

      public void setUserName(String userName)
    • credentialsChecked

      public boolean credentialsChecked()
      Since:
      11.1
    • setCredentialsChecked

      public void setCredentialsChecked(boolean credentialsChecked)
      Since:
      11.1
    • getToken

      public String getToken()
    • setToken

      public void setToken(String token)