Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.1.0)

E17486-02

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

All Known Subinterfaces:
CredentialStorage2
All Known Implementing Classes:
CSFCredentialStore, GenericCredentialStore

public interface CredentialStorage

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


Method Summary
 Credential fetchCredential(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 credKey)
          Internal: Applications should not use this method. Returns the serializable credential for the specified credential key.
 java.io.Serializable fetchSerializableCredentialForCurrentUser(java.lang.String credKey)
          Internal: Applications should not use this method. Returns the serializable credential for the specified credential key for current user.
 void initialize(java.util.Hashtable props)
          Internal: Applications should not use this method. Initializes the credentialstore from the properties.
 void removeCredential(java.lang.String credKey)
          Internal: Applications should not use this method. Removes the credential specified credential idebtifier.
 void storeCredential(Credential cred, java.lang.String credKey)
          Internal: Applications should not use this method. Store the credential using the specify credential key.
 

Method Detail

initialize

void initialize(java.util.Hashtable props)
Internal: Applications should not use this method. Initializes the credentialstore from the properties.

Parameters:
props - the properties to initialize with

storeCredential

void storeCredential(Credential cred,
                     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
credKey - the credential key

fetchCredential

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

Parameters:
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 credKey)
                                                 throws CredentialNotFoundException
Internal: Applications should not use this method. Returns the serializable credential for the specified credential key.

Parameters:
credKey - the credential 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 credKey)
                                                               throws CredentialNotFoundException
Internal: Applications should not use this method. Returns the serializable credential for the specified credential key for current user.

Parameters:
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 credKey)
                      throws CredentialNotFoundException
Internal: Applications should not use this method. Removes the credential specified credential idebtifier.

Parameters:
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 2 (11.1.2.1.0)

E17486-02

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