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 java.security file for your server

The java.security is located under the ${java.home}/lib/security/ directory.
  1. search the 'policy.provider' string: comment (with a '#' at the start of the line) the current line and add this one just below:
    policy.provider=net.sf.jguard.security.JGuardPolicy
  2. search the 'login.config.url' string: comment (with a '#' at the start of the line) the current line(s) and add this one just below :
    login.config.url.1=file:${java.home}/lib/security/jGuard.loginScheme
note that you can let uncommented your initial 'login.config.url.x' lines, if these lines should not concern jGuard protected applications.
TIPS: