From: markt Date: Sun, 27 Jul 2008 13:20:07 +0000 (+0000) Subject: Fix error in JAAS realm doc reported on users list. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3c9c970ecebf9f4a74371122a5d457514b10687d;p=tomcat7.0 Fix error in JAAS realm doc reported on users list. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@680101 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/webapps/docs/realm-howto.xml b/webapps/docs/realm-howto.xml index 6a26b38ad..9139ff9b7 100644 --- a/webapps/docs/realm-howto.xml +++ b/webapps/docs/realm-howto.xml @@ -1342,7 +1342,7 @@ Regardless, the first Principal returned is always treated as the user href="http://java.sun.com/j2se/1.4.1/docs/guide/security/jaas/tutorials/LoginConfigFile.html">JAAS LoginConfig file) and tell Tomcat where to find it by specifying its location to the JVM, for instance by setting the environment -variable: JAVA_OPTS=-DJAVA_OPTS=-Djava.security.auth.login.config==$CATALINA_BASE/conf/jaas.config +variable: JAVA_OPTS=$JAVA_OPTS -Djava.security.auth.login.config==$CATALINA_BASE/conf/jaas.config
  • Configure your security-constraints in your web.xml for the resources you want to protect