Skip navigation links
oracle.stellent.ridc.auth.impl
Class BasicCredentials
java.lang.Object
oracle.stellent.ridc.auth.impl.BasicCredentials
- All Implemented Interfaces:
- Credentials, Credentials.BasicCredentials
-
public class BasicCredentials
- extends java.lang.Object
- implements Credentials.BasicCredentials
Credentials to use for Basic Auth requests.
Constructor Summary |
BasicCredentials(java.lang.String userName, java.lang.String password)
The constructor with the username and password arguments. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicCredentials
public BasicCredentials(java.lang.String userName,
java.lang.String password)
- The constructor with the username and password arguments.
- Parameters:
userName
- the user name
password
- the password
getUserName
public java.lang.String getUserName()
-
- Specified by:
getUserName
in interface Credentials
-
- Returns:
- the user name for the basic credentials
getPassword
public java.lang.String getPassword()
-
- Specified by:
getPassword
in interface Credentials.BasicCredentials
-
- Returns:
- the associated password
getCredentialsClassName
public java.lang.String getCredentialsClassName()
-
- Specified by:
getCredentialsClassName
in interface Credentials
-
- Returns:
- the name of the credentials class
getLogId
public java.lang.String getLogId()
-
- Specified by:
getLogId
in interface Credentials
-
- Returns:
- the identifier used for these credentials
Skip navigation links
Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.