
Deploying the Sample Payroll Application
107
n
ov
do
cx (e
n)
16
Ap
ril 20
10
The location of the sample application is platform-specific:
On a Linux, Solaris, or AIX J2EE server, the application is copied to the
/opt/novell/
nids_agents/example
directory.
On a Windows J2EE server, the application is copied to the
<Install_Directory>\sampleapp
directory.
2
On your J2EE server, prepare the application to use the agent for login and logout. (See
Section 4.1, “Preparing the Application for the Agent,” on page 67
).
These steps have already been performed for the sample application. See the
web.xml
file in
the application’s
WEB-INF
directory.
3
Enable the RunAs role feature on your J2EE server.
JBoss:
This tasks have already been performed for JBoss. To understand what was
modified, see
Section 4.2, “Configuring Applications on the JBoss Server,” on page 69
.
WebSphere:
See
Section 4.3.2, “Configuring for RunAs Roles,” on page 71
.
WebLogic:
See
Section 4.4, “Configuring Applications on the WebLogic Server,” on
page 84
.
4
To test this configuration, send the following request from a browser:
http://<Application_Server_DNS_Name>:<port>/payroll
Replace
<Application_Server_DNS_Name>
with the DNS name or the IP address of your
application server. Replace
<port>
with the port number you have configured the J2EE Agent
to use.
5
Log in as a user who matches the condition to receive the Employee role. Access the
My Page
and the
Manager Page
.
6
Log out and log in as a user who matches the condition to receive the Manager role. Access the
My Page
and the
Manager Page
.
Содержание Access Manager 3.1 SP 2
Страница 4: ...4 Novell Access Manager 3 1 SP2 J2EE Agent Guide novdocx en 16 April 2010...
Страница 8: ...8 Novell Access Manager 3 1 SP2 J2EE Agent Guide novdocx en 16 April 2010...
Страница 44: ...44 Novell Access Manager 3 1 SP2 J2EE Agent Guide novdocx en 16 April 2010...
Страница 83: ...Preparing the Applications and the J2EE Servers 83 novdocx en 16 April 2010...
Страница 108: ...108 Novell Access Manager 3 1 SP2 J2EE Agent Guide novdocx en 16 April 2010...