|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.connection.PasswordCredential
public class PasswordCredential
Login credentials for an IOM server.
Constructor Summary | |
---|---|
PasswordCredential(java.lang.String userName,
java.lang.String password)
Construct login credentials. |
|
PasswordCredential(java.lang.String userName,
java.lang.String password,
java.lang.String domain)
Construct login credentials. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object that)
|
java.lang.String |
getPassword()
Get the password. |
java.lang.String |
getUserName()
Get the user name. |
int |
hashCode()
|
void |
setPassword(java.lang.String password)
Set the password. |
void |
setUserName(java.lang.String userName)
Set the user name. |
java.lang.String |
toString()
|
Methods inherited from class com.sas.services.connection.Credential |
---|
clone, getDomain, getLocale, setDomain, setLocale |
Constructor Detail |
---|
public PasswordCredential(java.lang.String userName, java.lang.String password, java.lang.String domain)
userName
- the user namepassword
- the passworddomain
- the authentication domain. The authentication domain
indicates the context in which this user name and password are valid.
Servers that require user name and password also have domains, and
this domain must match the server's domain if this login is valid on
the server. null
and empty (""
) domains are equivalent.public PasswordCredential(java.lang.String userName, java.lang.String password)
userName
- the user namepassword
- the passwordMethod Detail |
---|
public void setUserName(java.lang.String userName)
userName
- the user namepublic java.lang.String getUserName()
public void setPassword(java.lang.String password)
password
- the passwordpublic java.lang.String getPassword()
public boolean equals(java.lang.Object that)
equals
in class Credential
public int hashCode()
hashCode
in class Credential
public java.lang.String toString()
toString
in class java.lang.Object
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |