Package org.nuxeo.ecm.platform.api.login
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringauthPluginNameprotected booleancredentialsCheckedprotected Stringpasswordprotected Stringtokenprotected StringuserName
-
Constructor Summary
Constructors Constructor Description UserIdentificationInfo(String userName)UserIdentificationInfo(String userName, String password)UserIdentificationInfo(UserIdentificationInfo savedIdent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancredentialsChecked()StringgetAuthPluginName()Returns the name of the Authentication Plugin used to get user identity (FORM,BASIC,CAS2 ...).StringgetPassword()StringgetToken()StringgetUserName()voidsetAuthPluginName(String authPluginName)voidsetCredentialsChecked(boolean credentialsChecked)voidsetPassword(String password)voidsetToken(String token)voidsetUserName(String userName)
-
-
-
Constructor Detail
-
UserIdentificationInfo
public UserIdentificationInfo(String userName)
-
UserIdentificationInfo
public UserIdentificationInfo(UserIdentificationInfo savedIdent)
-
-
Method Detail
-
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)
-
-