Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.7.0)

E10686-08

oracle.adf.share.security.credentialstore.spi
Interface CredentialStorage2

All Superinterfaces:
CredentialStorage
All Known Implementing Classes:
CSFCredentialStore, GenericCredentialStore

public interface CredentialStorage2
extends CredentialStorage

Internal: Applications should not use this class. The credential store service provider interface.


Method Summary
 Credential fetchCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey)
          Internal: Applications should not use this method. Retrieves the credential for the specified credential key.
 java.io.Serializable fetchSerializableCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey)
          Internal: Applications should not use this method. Returns the serializable credential for the specified credential key.
 java.io.Serializable fetchSerializableCredentialForCurrentUser(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey)
          Internal: Applications should not use this method. Returns the serializable credential for the specified credential key for current user.
 void removeCredential(java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey)
          Internal: Applications should not use this method. Removes the credential specified credential idebtifier.
 void storeCredential(Credential cred, java.lang.String mapName, java.lang.String adfCredKey, java.lang.String credKey)
          Internal: Applications should not use this method. Store the credential using the specify credential key.
 
Methods inherited from interface oracle.adf.share.security.credentialstore.spi.CredentialStorage
fetchCredential, fetchSerializableCredential, fetchSerializableCredentialForCurrentUser, initialize, removeCredential, storeCredential
 

Method Detail

storeCredential

void storeCredential(Credential cred,
                     java.lang.String mapName,
                     java.lang.String adfCredKey,
                     java.lang.String credKey)
Internal: Applications should not use this method. Store the credential using the specify credential key.

Parameters:
cred - the crdential to be stored
mapName - the map name
adfCredKey - ADF cred key
credKey - the credential key

fetchCredential

Credential fetchCredential(java.lang.String mapName,
                           java.lang.String adfCredKey,
                           java.lang.String credKey)
                           throws CredentialNotFoundException
Internal: Applications should not use this method. Retrieves the credential for the specified credential key.

Parameters:
mapName - the map name
adfCredKey - ADF cred key
credKey - the credential key
Returns:
the credential
Throws:
CredentialNotFoundException - if the credential does not exist for the given key

fetchSerializableCredential

java.io.Serializable fetchSerializableCredential(java.lang.String mapName,
                                                 java.lang.String adfCredKey,
                                                 java.lang.String credKey)
                                                 throws CredentialNotFoundException
Internal: Applications should not use this method. Returns the serializable credential for the specified credential key.

Parameters:
credKey - the credential key
mapName - the map name
adfCredKey - ADF cred key
Returns:
a valid credential
Throws:
CredentialNotFoundException - if the credential does not exist for the given key

fetchSerializableCredentialForCurrentUser

java.io.Serializable fetchSerializableCredentialForCurrentUser(java.lang.String mapName,
                                                               java.lang.String adfCredKey,
                                                               java.lang.String credKey)
                                                               throws CredentialNotFoundException
Internal: Applications should not use this method. Returns the serializable credential for the specified credential key for current user.

Parameters:
mapName - the map name
adfCredKey - ADF cred key
credKey - the credential key
Returns:
a valid credential
Throws:
CredentialNotFoundException - if the credential does not exist for the given key

removeCredential

void removeCredential(java.lang.String mapName,
                      java.lang.String adfCredKey,
                      java.lang.String credKey)
                      throws CredentialNotFoundException
Internal: Applications should not use this method. Removes the credential specified credential idebtifier.

Parameters:
mapName - the map name
adfCredKey - ADF cred key
credKey - the credential key
Throws:
CredentialNotFoundException - if the credential does not exist for the given key

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.7.0)

E10686-08

Copyright © 1997, 2013, Oracle. All rights reserved.