Macromedia live cycle 7.2 매뉴얼

다운로드
페이지 90
Adobe LiveCycle
Manually Configuring JBoss
Installing and Configuring LiveCycle Security Products for JBoss
 Configuring a DB2 data source     55
Configuring a DB2 data source
To enable JBoss to communicate with a DB2 database that stores LiveCycle data, you must create a DB2 
data source on JBoss and deploy it to the instance of JBoss that hosts LiveCycle Policy Server. 
To create the data source file:
1. Create an XML file using the following code: 
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>EDC_DS</jndi-name>
<connection-url>jdbc:db2://<server_name>:<port>/<database_name>
</connection-url>
<driver-class>com.ibm.db2.jcc.DB2Driver
</driver-class>
<user-name>adobe</user-name>
<password>adobe</password>
<SelectMethod>Cursor</SelectMethod>
<min-pool-size>1</min-pool-size>
<max-pool-size>100</max-pool-size>
<blocking-timeout-millis>20000</blocking-timeout-millis>
<idle-timeout-minutes>10</idle-timeout-minutes>
</local-tx-datasource>
</datasources>
2. Replace the bold text for the following elements with values that are specific to your LiveCycle 
database:
<connection-url>
 describes the server name (the name of the computer that hosts DB2) and 
port number, and the database name. The application server uses the URL to connect to the 
database. 
<user-name>
 and 
<password>
 are the user name and password that the application server uses 
to access the database. These values are set when you create the database. (See 
.)
3. Save the file as adobe-ds.xml in the [appserver root]/server/all/deploy directory.
4. Restart JBoss.
Configuring security
This applies to LiveCycle Policy Server only. 
Administrators and users must be authenticated to access LiveCycle Policy Server features. 
LiveCycle Policy Server supports form-based authentication and basic authentication, by default 
forms-based JAAS authentication is used.
To implement basic authentication, you use the LiveCycle Policy Server SDK to integrate a custom 
authentication service provider. For more information, see the LiveCycle Policy Server Developing Custom 
Applications
 guide or contact Adobe Customer Support.
Note:
LDAP exchanges information in clear text. You should configure JBoss to send authentication 
information over an SSL connection. (See