Novell ACCESS MANAGER 3.1 SP1 - AGENT GUIDE Manual page 14

J2ee* agent guide
Table of Contents

Advertisement

If it does not exist, follow the steps given below to install and configure the JBoss Web deployer
service for your JBoss server:
1 Enter the following command to copy the JBoss Web deployer:
cp -R <jboss-home>/server/default <path-to-your-custom-configuration>/
deploy/
Replace <jboss-home> with the home directory of JBoss.
Replace <path-to-your-custom-configuration> with the location of the custom configuration.
2 To disable the services that JBoss Web deployer service depends on, open the
your-custom-configuration>/deploy/jboss-web.deployer/META-INF/jboss-
service.xml
JBoss depends on the following services:
<depends>jboss:service=TransactionManager</depends>
<depends>jboss.jca:service=CachedConnectionManager</depends>
You need to do this in order to be able to use the custom JBoss configuration.
3 Open the
server.xml
CachedConnectionValve>
4 Add the required security services to the
jboss-service.xml
<mbean code="org.jboss.security.plugins.SecurityConfig"
name="jboss.security:service=SecurityConfig">
<attribute name="LoginConfig">jboss.security:service=XMLLoginConfig</
attribute>
</mbean>
<mbean code="org.jboss.security.auth.login.XMLLoginConfig"
name="jboss.security:service=XMLLoginConfig">
<attribute name="ConfigResource">login-config.xml</attribute>
</mbean>
<!-- JAAS security manager and realm mapping -->
<mbean code="org.jboss.security.plugins.JaasSecurityManagerService"
name="jboss.security:service=JaasSecurityManager">
<attribute name="ServerMode">true</attribute>
<attribute
name="SecurityManagerClassName">org.jboss.security.plugins.JaasSecurityMa
nager</attribute>
<attribute name="DefaultUnauthenticatedPrincipal">anonymous</attribute>
<attribute name="DefaultCacheTimeout">1800</attribute>
<attribute name="DefaultCacheResolution">60</attribute>
<attribute name="DeepCopySubjectMode">false</attribute>
</mbean>
5 Copy the
server/default/conf
location.
6 Copy the
location to the
7 Specify the following commands to copy the additional JAR files in sequence:
cd default/lib/
cp jboss.jar jboss-j2ee.jar jbosssx.jar servlet-api.jar
14
Novell Access Manager 3.1 SP1 Agent Guide
file and comment lines that are within
<path-to-your-custom-configuration>/deploy/jboss-web.deployer/
file and delete content within
tags.
file within the
and
login-config.xml
location to the
file from the
ejb-deployer.xml
<path-to-your-custom-configuration>/deploy
<depends></depends>
<CachedConnectionValve></
<path-to-your-custom-configuration>/conf/
tags. For example:
<mbean></mbean>
files from the
standardjboss.xml
<path-to-your-custom-configuration>/conf
<jboss-home>/server/default/deploy/
<path-to-
tags. By default,
<jboss- home>/
location.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Access manager 3.1 sp 1

Table of Contents