|
Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite 10g (10.1.3.2) B32189-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ifs.fdk.TrustedFdkCredential
public class TrustedFdkCredential
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 |
---|
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)
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 |
---|
public java.lang.String getUsername()
TrustedFdkCredential
getUsername
in interface FdkCredential
null
otherwise.public java.util.Map getOptions()
TrustedFdkCredential
getOptions
in interface FdkCredential
public java.lang.String getKeystoreLocation()
public java.lang.String getKeystoreType()
public java.lang.String getKeystorePassword()
public java.lang.String getPrivateKeyAlias()
public java.lang.String getPrivateKeyPassword()
public java.lang.String getServerPublicKeyAlias()
|
Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite 10g (10.1.3.2) B32189-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |