Skip navigation links

Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite
10g (10.1.3.2)

B32189-01


oracle.ifs.fdk
Class SimpleFdkCredential

java.lang.Object
  extended by oracle.ifs.fdk.SimpleFdkCredential

All Implemented Interfaces:
FdkCredential

public class SimpleFdkCredential
extends java.lang.Object
implements FdkCredential

Represents a simple username and password credential.


Constructor Summary
SimpleFdkCredential(java.lang.String username, java.lang.String password)
          Creates a simple credential with no login options.
SimpleFdkCredential(java.lang.String username, java.lang.String password, java.util.Map options)
          Creates a simple credential with login options.

 

Method Summary
 java.util.Map getOptions()
          
 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

SimpleFdkCredential

public SimpleFdkCredential(java.lang.String username,
                           java.lang.String password)
Creates a simple credential with no login options. Both the username and password are required arguments.
Parameters:
username - The username. Required.
password - The password. Required.

SimpleFdkCredential

public SimpleFdkCredential(java.lang.String username,
                           java.lang.String password,
                           java.util.Map options)
Creates a simple credential with login options.
Parameters:
username - The username. Required.
password - The password. Required.
options - Login options. Optional.

Method Detail

getUsername

public java.lang.String getUsername()
Description copied from class: SimpleFdkCredential
Specified by:
getUsername in interface FdkCredential
Returns:
The username for this credential, if known, null otherwise.

getOptions

public java.util.Map getOptions()
Description copied from class: SimpleFdkCredential
Specified by:
getOptions in interface FdkCredential
Returns:
The login options, if any.

getPassword

public java.lang.String getPassword()
Returns:
The password.

Skip navigation links

Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite
10g (10.1.3.2)

B32189-01


Copyright © 2002, 2006, Oracle. All rights reserved.