Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.api.login
Class UserIdentificationInfo

java.lang.Object
  extended by org.nuxeo.ecm.platform.api.login.UserIdentificationInfo
All Implemented Interfaces:
Serializable

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

Constructor Summary
UserIdentificationInfo(String userName, String password)
           
UserIdentificationInfo(UserIdentificationInfo savedIdent)
           
 
Method Summary
 boolean containsValidIdentity()
           
 String getAuthPluginName()
          Returns the name of the Authentication Plugin used to get user identity (FORM,BASIC,CAS2 ...).
 Map<String,String> getLoginParameters()
           
 String getLoginPluginName()
          Returns the name of the LoginModule plugin that must be used to create the Principal.
 String getPassword()
           
 String getToken()
           
 String getUserName()
           
 void setAuthPluginName(String authPluginName)
           
 void setLoginParameters(Map<String,String> loginParameters)
           
 void setLoginPluginName(String loginPluginName)
           
 void setPassword(String password)
           
 void setToken(String token)
           
 void setUserName(String userName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserIdentificationInfo

public UserIdentificationInfo(String userName,
                              String password)

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)

containsValidIdentity

public boolean containsValidIdentity()

getLoginParameters

public Map<String,String> getLoginParameters()

setLoginParameters

public void setLoginParameters(Map<String,String> loginParameters)

getLoginPluginName

public String getLoginPluginName()
Returns the name of the LoginModule plugin that must be used to create the Principal.


setLoginPluginName

public void setLoginPluginName(String loginPluginName)

getToken

public String getToken()

setToken

public void setToken(String token)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.