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 Summary
Nested classes/interfaces inherited from interface oracle.stellent.ridc.auth.Credentials
Credentials.AppIdClientCredentials, Credentials.BasicCredentials, Credentials.BearerTokenCredentials, Credentials.HeaderCredentials, Credentials.HttpClientCredentials, Credentials.UserNameOnlyCredentials
-
Constructor Summary
ConstructorsConstructorDescriptionBasicCredentials
(String userName, char[] password) The constructor with the username and password arguments.BasicCredentials
(String userName, String password) Deprecated. -
Method Summary
-
Constructor Details
-
BasicCredentials
Deprecated.The constructor with the username and password arguments.- Parameters:
userName
- the user namepassword
- the password
-
BasicCredentials
The constructor with the username and password arguments.- Parameters:
userName
- the user namepassword
- the password
-
-
Method Details
-
getUserName
- Specified by:
getUserName
in interfaceCredentials
- Returns:
- the user name for the basic credentials
-
getPassword
public char[] getPassword()- Specified by:
getPassword
in interfaceCredentials.BasicCredentials
- Returns:
- the associated password
-
getCredentialsClassName
- Specified by:
getCredentialsClassName
in interfaceCredentials
- Returns:
- the name of the credentials class
-
getLogId
- Specified by:
getLogId
in interfaceCredentials
- Returns:
- the identifier used for these credentials, used for logging messages
-