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 String
authPluginName
protected boolean
credentialsChecked
protected String
password
protected String
token
protected String
userName
-
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 boolean
credentialsChecked()
String
getAuthPluginName()
Returns the name of the Authentication Plugin used to get user identity (FORM,BASIC,CAS2 ...).String
getPassword()
String
getToken()
String
getUserName()
void
setAuthPluginName(String authPluginName)
void
setCredentialsChecked(boolean credentialsChecked)
void
setPassword(String password)
void
setToken(String token)
void
setUserName(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)
-
-