|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.connection.Credential
public abstract class Credential
A base class for credentials that can be used to authenticate and authorize use of a connection factory.
Constructor Summary | |
---|---|
protected |
Credential()
Construct a credential object. |
protected |
Credential(java.lang.String domain)
Construct a credential object. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object that)
|
java.lang.String |
getDomain()
Get the authentication domain. |
java.util.Locale |
getLocale()
Get the locale. |
int |
hashCode()
|
void |
setDomain(java.lang.String domain)
Set the authentication domain. |
void |
setLocale(java.util.Locale locale)
Set the locale. |
Constructor Detail |
---|
protected Credential(java.lang.String domain)
domain
- the authentication domainsetDomain(java.lang.String)
protected Credential()
Method Detail |
---|
public void setDomain(java.lang.String domain)
Empty string and null
are considered to be equivalent domains.
The default value is empty string.
domain
- the authentication domainpublic java.lang.String getDomain()
setDomain(java.lang.String)
public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
locale
- the locale (e.g. en_US)public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |