To delete a credential, perform the following steps:
Include project files.
Create a credential service client.
Perform the delete operation.
Include project files
Include necessary files into your development
project. If you are creating a client application using Java, then
include the necessary JAR files. The following JAR files must be
added to your project’s classpath:
adobe-livecycle-client.jar
adobe-usermanager-client.jar
adobe-truststore-client.jar
adobe-utilities.jar (Required if LiveCycle is deployed
on JBoss)
jbossall-client.jar (Required if LiveCycle is deployed
on JBoss)
For information about the location of
these JAR files, see Including LiveCycle Java library files.
Create a credential service client
Before you can programmatically
delete a credential, create a Data Integration service client. When
creating a service client, you define connection settings that are
required to invoke a service. For information, see Setting connection properties.
Perform the delete operation
To delete a credential, specify the
alias that corresponds to the credential. If you specify an alias
that does not exist, an exception is thrown.