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 TrustedFdkCredential

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

All Implemented Interfaces:
FdkCredential

public class TrustedFdkCredential
extends java.lang.Object
implements FdkCredential

Represents a Web Services trusted party credential. A trusted application does not need to provide credentials in order to authenticate a user. The trust is established by adding the public key of the trusted application to the keystore of the server, as a trusted certificate.

It contains the username for which to create the session, and keystore information.

This credential type is used with the TrustedLoginManager


Constructor Summary
TrustedFdkCredential(java.lang.String username, java.lang.String ksLocation, java.lang.String ksType, java.lang.String ksPassword, java.lang.String privateKeyAlias, java.lang.String privateKeyPassword, java.lang.String serverPublicKeyAlias, java.util.Map options)
          Creates a trusted application credential.

 

Method Summary
 java.lang.String getKeystoreLocation()
           
 java.lang.String getKeystorePassword()
           
 java.lang.String getKeystoreType()
           
 java.util.Map getOptions()
          
 java.lang.String getPrivateKeyAlias()
           
 java.lang.String getPrivateKeyPassword()
           
 java.lang.String getServerPublicKeyAlias()
           
 java.lang.String getUsername()
          

 

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

 

Constructor Detail

TrustedFdkCredential

public TrustedFdkCredential(java.lang.String username,
                            java.lang.String ksLocation,
                            java.lang.String ksType,
                            java.lang.String ksPassword,
                            java.lang.String privateKeyAlias,
                            java.lang.String privateKeyPassword,
                            java.lang.String serverPublicKeyAlias,
                            java.util.Map options)
Creates a trusted application credential. All information is required, except the login options.
Parameters:
username - The username. Required.
ksLocation - The keystore location. It can be a relative path in which case the file is located via the classloader (hence it needs to be in the classpath) or any full path on the filesystem. Required.
ksType - The keystore type, usually "jks" or "pkcs12", but other formats may be supported if a provider is installed. Required.
ksPassword - The password to open the keystore. Required.
privateKeyAlias - The client private key alias in the keystore. The key will be used to sign messages to the server. Required.
privateKeyPassword - The client private key password in order to retrieve the key from the keystore. Required.
serverPublicKeyAlias - The public key of the server. The key will be used to encrypt messages sent to the server. Required.
options - The login options. Optional.

Method Detail

getUsername

public java.lang.String getUsername()
Description copied from class: TrustedFdkCredential
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: TrustedFdkCredential
Specified by:
getOptions in interface FdkCredential
Returns:
The login options, if any.

getKeystoreLocation

public java.lang.String getKeystoreLocation()
Returns:
The keystore location.

getKeystoreType

public java.lang.String getKeystoreType()
Returns:
The keystore type.

getKeystorePassword

public java.lang.String getKeystorePassword()
Returns:
The keystore password.

getPrivateKeyAlias

public java.lang.String getPrivateKeyAlias()
Returns:
The client private key alias in the keystore.

getPrivateKeyPassword

public java.lang.String getPrivateKeyPassword()
Returns:
The private key password to retrieve the key from the keystore.

getServerPublicKeyAlias

public java.lang.String getServerPublicKeyAlias()
Returns:
The server public key alias in the keystore.

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.