com.raritantechnologies.searchApp
Interface IAssignableLoginInfo

All Superinterfaces:
ILoginInfo

public interface IAssignableLoginInfo
extends ILoginInfo

Interface providing login information, supporting real and effective user ids. When an object of this interface is first created, real and effective user ids are set identical. The effective id / password can then be assigned different values. One reason you might want this is if you have a default userid that should be used if a userid does not meet some real criteria. You may want to keep the real userid and password for storing things such as search history or user preferences, but use the system account for doing things such as accessing Verity or Documentum.

For backwards compatibility, the effect id and password is returned by calls to getUserName() / getPassword(). The real user id / password can never be changed, and is retrieved by getRealUserName() / getRealPassword().

Contains security information about a user. Username, password, or other sources of authentication.



Developed by Raritan Technologies .

Author:
Ted Sullivan (Raritan Technologies), Glenn Robitaille (Raritan Technologies)

Field Summary
 
Fields inherited from interface com.raritantechnologies.searchApp.ILoginInfo
ALTNAME, ALTPASSWORD, ATTRIBUTE, NAME, PASSWORD
 
Method Summary
 java.lang.String getRealPassword()
          returns the REAL Login password.
 java.lang.String getRealUserName()
          returns the REAL Login username.
 void setPassword(java.lang.String password)
          set the [effective] login password.
 void setUserName(java.lang.String username)
          set the [effective] Login username.
 
Methods inherited from interface com.raritantechnologies.searchApp.ILoginInfo
addAlternateLogin, addUserAttribute, equals, getAlternateNames, getAttribute, getAttribute, getAttributeNames, getAttributes, getPassword, getPassword, getRemoteAddr, getSessionId, getSessionID, getUserCredential, getUserEMail, getUserLevel, getUserName, getUserName, getUserPasswordCredential, hasAlternateLogin, hasMultipleValues, removeAlternateLogin, setAttribute, setRemoteAddr, setUserLevel
 

Method Detail

setUserName

public void setUserName(java.lang.String username)
set the [effective] Login username. When the object is first created effective and real user ids will be set identical. This allows the effective id to be changed.


setPassword

public void setPassword(java.lang.String password)
set the [effective] login password. When the object is first created effective and real user ids will be set identical. This allows the effective id to be changed.


getRealUserName

public java.lang.String getRealUserName()
returns the REAL Login username. Use getUserName() to get the effective user name.


getRealPassword

public java.lang.String getRealPassword()
returns the REAL Login password. Use getPassword() to get the effective user password.