|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portaluiinfrastructure.sso.SSOLoginInfo
public class SSOLoginInfo
Simple class which contains a username and password.
Constructor Summary | |
---|---|
SSOLoginInfo(java.lang.String sPrefixAndName)
Constructs a SSOLoginInfo with the given username and an
empty password. |
|
SSOLoginInfo(java.lang.String sPrefixAndName,
java.lang.String sPassword)
Constructs a SSOLoginInfo with the given information. |
|
SSOLoginInfo(java.lang.String sPrefix,
java.lang.String sName,
java.lang.String sPassword)
Constructs a SSOLoginInfo with the given information. |
Method Summary | |
---|---|
java.lang.String |
GetPassword()
Returns the user's password. |
java.lang.String |
GetPrefixAndName()
Returns the prefix and name of this user in the form "prefix\\username" . |
void |
SetPassword(java.lang.String sPassword)
Sets the password; |
void |
SetPrefixAndName(java.lang.String sName)
Sets the username in the form "prefix\\username" . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSOLoginInfo(java.lang.String sPrefix, java.lang.String sName, java.lang.String sPassword)
SSOLoginInfo
with the given information. The
given prefix and username are conca If no password is available, null
should be passed, or the simplest constructor can be used.
sPrefix
- the user prefixsName
- the username without the prefixsPassword
- the password of the userpublic SSOLoginInfo(java.lang.String sPrefixAndName, java.lang.String sPassword)
SSOLoginInfo
with the given information. If
the prefix of the user is unavailable, sPrefixAndName should contain only
the username without a "\\"; in this case the default prefix from
x_config.xml will be added. If no password is available, null
should be passed, or the simplest constructor can be used.
sPrefixAndName
- the username in the form "prefix\\username"
sPassword
- the password of the userpublic SSOLoginInfo(java.lang.String sPrefixAndName)
SSOLoginInfo
with the given username and an
empty password. Identical to
SSOLoginInfo(sPrefixAndName, null)
.
sPrefixAndName
- the username in the form "prefix\\username"
Method Detail |
---|
public java.lang.String GetPassword()
public java.lang.String GetPrefixAndName()
"prefix\\username"
.
public void SetPassword(java.lang.String sPassword)
sPassword
- the user's passwordpublic void SetPrefixAndName(java.lang.String sName)
"prefix\\username"
. If the
prefix of the user is unavailable, sPrefixAndName should contain only the
username without a "\\"; in this case the default prefix from x_config.xml
will be added.
sName
- the username in the form "prefix\\username"
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |