Skip navigation links

Oracle Content Database Web Services Java API Reference
10g Release 1 (10.2)

B31408-02


oracle.ifs.fdk
Class S2SFdkCredential

java.lang.Object
  extended byoracle.ifs.fdk.S2SFdkCredential

All Implemented Interfaces:
FdkCredential

public class S2SFdkCredential
extends java.lang.Object
implements FdkCredential

An implementation of FdkCredential that encapsulates a service-to-service (S2S) credential.


Constructor Summary
S2SFdkCredential(java.lang.String username, java.lang.String appName, java.lang.String appPassword, java.util.Map options)
          Creates a S2SFdkCredential with login options.

 

Method Summary
 java.lang.String getApplicationName()
          Returns the trusted application name.
 java.lang.String getApplicationPassword()
          Returns the trusted application password.
 java.util.Map getOptions()
          Returns the login options, if any.
 java.lang.String getUsername()
          Returns the username for this credential.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

S2SFdkCredential

public S2SFdkCredential(java.lang.String username,
                        java.lang.String appName,
                        java.lang.String appPassword,
                        java.util.Map options)
Creates a S2SFdkCredential with login options.
Parameters:
username - The username. Required.
appName - The trusted application name. Required.
appPassword - The trusted application password. Required.
options - Login options. Optional.

Method Detail

getUsername

public java.lang.String getUsername()
Returns the username for this credential.
Specified by:
getUsername in interface FdkCredential
Returns:
The username for this credential; returns null if the username is not known.

getOptions

public java.util.Map getOptions()
Returns the login options, if any.
Specified by:
getOptions in interface FdkCredential
Returns:
The login options, if any.

getApplicationName

public java.lang.String getApplicationName()
Returns the trusted application name.
Returns:
The trusted application name.

getApplicationPassword

public java.lang.String getApplicationPassword()
Returns the trusted application password.
Returns:
The trusted application password.

Skip navigation links

Oracle Content Database Web Services Java API Reference
10g Release 1 (10.2)

B31408-02


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