com.adobe.truststore.client
Class CredentialServiceClient

java.lang.Object
  extended by com.adobe.truststore.client.CredentialServiceClient

public class CredentialServiceClient
extends java.lang.Object

Implementation of the CredentialService interface Generated file - Do not edit! * @xdoclet-generated


Constructor Summary
CredentialServiceClient(ServiceClientFactory serviceClientFactory)
           
 
Method Summary
 void addCredential(CredentialBO credential)
           
 void clearAllHSMConnections()
           
 void deleteCredential(java.lang.String alias)
           
 void deregisterCacheInvalidationHandler(java.lang.String serviceName, java.lang.String operationName)
          deregisterCacheInvalidationHandler
 Document exportCredential(java.lang.String alias, java.lang.String keyPassword)
           
 java.util.List fetchAllCredentialsInfo()
           
 CredentialBO findCredentialByAlias(java.lang.String alias, java.lang.String keyPassword)
           
 CredentialBO findCredentialBySubjectDN(java.lang.String subjectDN)
          reinitializeHSMCredential
 java.util.List findCredentials(com.adobe.truststore.businessobject.CredentialSearchFilter searchFilter)
           
 java.util.List getCredentialsOnToken(java.lang.String pkcs11Lib, java.lang.Integer slotListIndex, java.lang.String pwd, java.lang.String hsmDev)
           
 com.adobe.truststore.businessobject.CredentialType[] getCredentialTypes(java.lang.String locale)
          Get the list of Credential Types supported
 void importCredential(java.lang.String alias, Document p12Credential, java.lang.String keyPassword, java.lang.String[] types)
           
 HSMDeviceInfo listSlots(java.lang.String pkcs11Lib)
           
 void registerCacheInvalidationHandler(java.lang.String serviceName, java.lang.String operationName)
          registerCacheInvalidationHandler
 void resetCredentialCache()
          resetCredentialCache
 void setCredentialTypes(java.lang.String alias, java.lang.String[] credentialTypes)
           
 void updateCredential(java.lang.String alias, CredentialBO credential)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CredentialServiceClient

public CredentialServiceClient(ServiceClientFactory serviceClientFactory)
Method Detail

getCredentialTypes

public com.adobe.truststore.businessobject.CredentialType[] getCredentialTypes(java.lang.String locale)
                                                                        throws java.lang.Exception
Get the list of Credential Types supported

Throws:
java.lang.Exception

addCredential

public void addCredential(CredentialBO credential)
                   throws java.lang.Exception
Throws:
java.lang.Exception

importCredential

public void importCredential(java.lang.String alias,
                             Document p12Credential,
                             java.lang.String keyPassword,
                             java.lang.String[] types)
                      throws java.lang.Exception
Throws:
java.lang.Exception

exportCredential

public Document exportCredential(java.lang.String alias,
                                 java.lang.String keyPassword)
                          throws java.lang.Exception
Throws:
java.lang.Exception

deleteCredential

public void deleteCredential(java.lang.String alias)
                      throws java.lang.Exception
Throws:
java.lang.Exception

setCredentialTypes

public void setCredentialTypes(java.lang.String alias,
                               java.lang.String[] credentialTypes)
                        throws java.lang.Exception
Throws:
java.lang.Exception

updateCredential

public void updateCredential(java.lang.String alias,
                             CredentialBO credential)
                      throws java.lang.Exception
Throws:
java.lang.Exception

findCredentials

public java.util.List findCredentials(com.adobe.truststore.businessobject.CredentialSearchFilter searchFilter)
                               throws java.lang.Exception
Throws:
java.lang.Exception

findCredentialByAlias

public CredentialBO findCredentialByAlias(java.lang.String alias,
                                          java.lang.String keyPassword)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

findCredentialBySubjectDN

public CredentialBO findCredentialBySubjectDN(java.lang.String subjectDN)
                                       throws java.lang.Exception
reinitializeHSMCredential

Throws:
java.lang.Exception

registerCacheInvalidationHandler

public void registerCacheInvalidationHandler(java.lang.String serviceName,
                                             java.lang.String operationName)
                                      throws java.lang.Exception
registerCacheInvalidationHandler

Throws:
java.lang.Exception

deregisterCacheInvalidationHandler

public void deregisterCacheInvalidationHandler(java.lang.String serviceName,
                                               java.lang.String operationName)
                                        throws java.lang.Exception
deregisterCacheInvalidationHandler

Throws:
java.lang.Exception

resetCredentialCache

public void resetCredentialCache()
                          throws java.lang.Exception
resetCredentialCache

Throws:
java.lang.Exception

getCredentialsOnToken

public java.util.List getCredentialsOnToken(java.lang.String pkcs11Lib,
                                            java.lang.Integer slotListIndex,
                                            java.lang.String pwd,
                                            java.lang.String hsmDev)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

listSlots

public HSMDeviceInfo listSlots(java.lang.String pkcs11Lib)
                        throws java.lang.Exception
Throws:
java.lang.Exception

fetchAllCredentialsInfo

public java.util.List fetchAllCredentialsInfo()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

clearAllHSMConnections

public void clearAllHSMConnections()
                            throws java.lang.Exception
Throws:
java.lang.Exception