jGuard and Application servers
Overview
jGuard requires that the jGuard-jvm-x.xx.jar archive should be placed on a "shared lib" directory to be shared across multiple web applications. these tests have been done with the jGuardExample webapp provided in the jGuard distribution.jBoss
- For a successful deploy of jGuardExample.war version 0.65.5 on JBoss 3.2.7, it is necessary to set the login module to "org.jboss.security.auth.spi.ProxyLoginModule" (with all options reported in web.xml) as application policy for "jGuardExample".This setting overrides the default application policy, that uses the "org.jboss.security.auth.spi.UsersRolesLoginModule"
- jGuard 0.70 alpha 2 has been succesfully tested on jBoss 4.03 with SUN's JDK 1.5.0_04.
- jGuard 0.70 alpha 2 has been succesfully tested on jBoss 3.2.7 with SUN's JDK 1.5.0_04.
jetty
jGuard 0.70 alpha 2 has been succesfully tested on jetty 5.1.5 with SUN's JDK 1.5.0_04. the jGuard-jvm-x.xx.jar should be placed in the {JETTY_HOME}/ext directory. jGuardExample.war archive has been placed in the {JETTY_HOME}/webapps directory.Tomcat
jGuard 0.70 alpha 2 has been succesfully tested on tomcat 4.1.31 with SUN's JDK 1.4.2 and tomcat 5.5.9 with SUN's JDK 1.5.0_04. the jGuard-jvm-x.xx.jar should be placed in the {TOMCAT_HOME}/shared/lib directory. jGuardExample.war archive has been placed in the {TOMCAT_HOME}/webapps directory.OC4J
jGuard 0.70 beta 1 has been succesfully tested on tomcat 5.5.9 with SUN's JDK 1.5.0_04. to deploy a war archive on it, you can configure the default application shipped with OC4J. to use it (the following steps are extracted from the OC4J FAQ), you have to: ~~tell the container about the WAR file to be deployed. open the <J2EE_HOME>/config/application.xml file in a editor. add a new <web-module> tag and specify the attributes for your WAR file.<web-module id="jGuardExample" path="../../home/applications/jGuardExample.war" />
<web-app application="default" name="jGuardExample" root="/jGuardExample" access-log="false" />
Resin
jGuard 0.70 beta 2 has been succesfully tested on resin pro 3.0.15 with SUN's JDK 1.5.0_04. the jGuard-jvm-x.xx.jar should be placed in the {RESIN_HOME}/lib directory. jGuardExample.war archive has been placed in the {RESIN_HOME}/webapps directory. if you use databases for authentication or authorization, you need to put required 3nd libraries (jdbc drivers), in the {RESIN_HOME}/lib directory.Jonas
jGuard 0.70 beta 2 has been succesfully tested on Jonas 4.5.3 with SUN's JDK 1.5.0_04 (embedding tomcat) . the jGuard-jvm-x.xx.jar should be placed in the {JONAS_HOME}/lib/apps directory. jGuardExample.war archive has been uploaded and deployed with the administration webapp JonasAdmin (http://127.0.0.1:9000/jonasAdmin/ with default login/password => jonas/jonas) another way to install the war is to put jGuardExample.war archive in the ~~$JONAS_HOME}/webapps ~~ directory.Websphere
jGuard 0.64 has been successfully tested on Websphere 5.1 (yes, it's an old jGuard release...), with the advanced configuration: WAS_HOME/properties/wsjaas.conf and WAS_HOME/properties/wsjaas_client.conf has been modified to use jGuard. like the 'easy' configuration(jGuard is set by the AccessFilter at runtime) way was not present on the 0.64 release, we have no feedback with it.Weblogic
jGuard 0.65.5 has been successfully tested on Weblogic 9.0, with the advanced way: the java.security configuration file has been modified to use jGuard. there is no feedback about configure jGuard with weblogic at runtime (the "easy" way).other application servers
jGuard will be tested on other application servers. if you have tested it on one specific application server, or if you have some difficulties to install jGuard on it, contact us!
Version 1.22 last modified by Vinícius Pitta Lima de Araújo on 11/05/2006 at 15:11
Document data
Attachments:
No attachments for this document
Comments: 0