To import a credential into LiveCycle, perform
the following steps:
Include project files.
Create a credential service client.
Reference the credential.
Perform the import 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. If you are using web services,
then make sure that you include the proxy 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
import a credential into LiveCycle, create a credential
service client. For information, see Setting connection properties.
Reference the credential
Reference a credential that you want to
import into LiveCycle. The quick start associated with this
section references a P12 file located in the file system.
Perform the import operation
After you reference the credential,
import the credential into LiveCycle. If the credential
is not successfully imported, an exception is thrown. When importing
a credential, you specify an alias for the credential.