jGuard install on j2ee

  1. required librairies
  2. AccessFilter and web.xml
  3. integrate jGuard in your jsp
  4. integrate jGuard in your servlets

Login Modules

Authorization Managers

Advanced jGuard

jGuard install on jvm

  1. java.home
  2. libraries and bootclasspath
  3. java.security
  4. jGuard.loginScheme
  5. jGuard.policy







Configure the jGuard.policy file

Edit the jGuard.policy file (located under the ${java.home}/lib/security/ directory) with your specific settings: 'defaultPolicy' is the name of your default Policy furnished by the JVM vendor.
example:

defaultPolicy=sun.security.provider.PolicyFile
After these 5 steps, your jvm is configured to use jGuard, and you have set the authorization mechanism for each webapp.