Package oracle.stellent.ridc.auth.impl
Class BasicCredentials
java.lang.Object
oracle.stellent.ridc.auth.impl.BasicCredentials
- All Implemented Interfaces:
- Credentials,- Credentials.BasicCredentials
Credentials to use for Basic Auth requests.
- 
Nested Class SummaryNested classes/interfaces inherited from interface oracle.stellent.ridc.auth.CredentialsCredentials.AppIdClientCredentials, Credentials.BasicCredentials, Credentials.BearerTokenCredentials, Credentials.HeaderCredentials, Credentials.HttpClientCredentials, Credentials.UserNameOnlyCredentials
- 
Constructor SummaryConstructorsConstructorDescriptionBasicCredentials(String userName, char[] password) The constructor with the username and password arguments.BasicCredentials(String userName, String password) Deprecated.
- 
Method Summary
- 
Constructor Details- 
BasicCredentialsDeprecated.The constructor with the username and password arguments.- Parameters:
- userName- the user name
- password- the password
 
- 
BasicCredentialsThe constructor with the username and password arguments.- Parameters:
- userName- the user name
- password- the password
 
 
- 
- 
Method Details- 
getUserName- Specified by:
- getUserNamein interface- Credentials
- Returns:
- the user name for the basic credentials
 
- 
getPasswordpublic char[] getPassword()- Specified by:
- getPasswordin interface- Credentials.BasicCredentials
- Returns:
- the associated password
 
- 
getCredentialsClassName- Specified by:
- getCredentialsClassNamein interface- Credentials
- Returns:
- the name of the credentials class
 
- 
getLogId- Specified by:
- getLogIdin interface- Credentials
- Returns:
- the identifier used for these credentials, used for logging messages
 
 
-