oracle.stellent.ridc.auth.impl
Class BasicCredentials

java.lang.Object
  extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface oracle.stellent.ridc.auth.Credentials
Credentials.BasicCredentials, Credentials.HeaderCredentials, Credentials.HttpClientCredentials
 
Constructor Summary
BasicCredentials(java.lang.String userName, java.lang.String password)
          The constructor with the username and password arguments.
 
Method Summary
 java.lang.String getPassword()
           
 java.lang.String getUserName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

getUserName

public java.lang.String getUserName()
Specified by:
getUserName in interface Credentials.BasicCredentials
Returns:
the user name for the basic crendentials

getPassword

public java.lang.String getPassword()
Specified by:
getPassword in interface Credentials.BasicCredentials
Returns:
the associated password


Copyright © 2008-2009 Oracle Corporation. All Rights Reserved.