You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by bu...@apache.org on 2012/01/27 07:32:07 UTC

svn commit: r803387 - /websites/staging/openejb/trunk/content/tomee-jaas.html

Author: buildbot
Date: Fri Jan 27 06:32:07 2012
New Revision: 803387

Log:
Staging update by buildbot for openejb

Modified:
    websites/staging/openejb/trunk/content/tomee-jaas.html

Modified: websites/staging/openejb/trunk/content/tomee-jaas.html
==============================================================================
--- websites/staging/openejb/trunk/content/tomee-jaas.html (original)
+++ websites/staging/openejb/trunk/content/tomee-jaas.html Fri Jan 27 06:32:07 2012
@@ -101,46 +101,48 @@ configure your JAAS LoginModule as in To
 
 <h1>Configuration</h1>
 
-<ul>
-<li>add to your CATALINA_OPTS the java.security.auth.login.config system property:</p>
+<p>Add to your <code>CATALINA_OPTS</code> the <code>java.security.auth.login.config</code> system property:</p>
 
-<p>-Djava.security.auth.login.config=$CATALINA_BASE/conf/login.config</li>
-<li>configure your realm in server.xml file</p>
+<pre><code>-Djava.security.auth.login.config=$CATALINA_BASE/conf/login.config
+</code></pre>
+
+<p>Configure your realm in server.xml file</p>
 
-<p><?xml version='1.0' encoding='utf-8'?>
-<Server port="8005" shutdown="SHUTDOWN">
-  <Listener className="org.apache.tomee.loader.OpenEJBListener" />
-  <Listener className="org.apache.catalina.security.SecurityListener" /></p>
+<pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;
+&lt;Server port="8005" shutdown="SHUTDOWN"&gt;
+  &lt;Listener className="org.apache.tomee.loader.OpenEJBListener" /&gt;
+  &lt;Listener className="org.apache.catalina.security.SecurityListener" /&gt;
 
-<p><Service name="Catalina">
-    <Connector port="8080" protocol="HTTP/1.1" 
+  &lt;Service name="Catalina"&gt;
+    &lt;Connector port="8080" protocol="HTTP/1.1" 
                connectionTimeout="20000" 
-               redirectPort="8443" />
-    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
-    <Engine name="Catalina" defaultHost="localhost">
-      <!-- here is the magic -->
-      <Realm className="org.apache.catalina.realm.JAASRealm" appName="PropertiesLoginModule"
+               redirectPort="8443" /&gt;
+    &lt;Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /&gt;
+    &lt;Engine name="Catalina" defaultHost="localhost"&gt;
+      &lt;!-- here is the magic --&gt;
+      &lt;Realm className="org.apache.catalina.realm.JAASRealm" appName="PropertiesLoginModule"
           userClassNames="org.apache.openejb.core.security.AbstractSecurityService$User"
-          roleClassNames="org.apache.openejb.core.security.AbstractSecurityService$Group">
-      </Realm></p>
+          roleClassNames="org.apache.openejb.core.security.AbstractSecurityService$Group"&gt;
+      &lt;/Realm&gt;
 
-<pre><code>  &lt;Host name="localhost"  appBase="webapps"
-        unpackWARs="true" autoDeploy="true" /&gt;
-&lt;/Engine&gt;
+      &lt;Host name="localhost"  appBase="webapps"
+            unpackWARs="true" autoDeploy="true" /&gt;
+    &lt;/Engine&gt;
+  &lt;/Service&gt;
+&lt;/Server&gt;
 </code></pre>
 
-<p></Service>
-</Server></li>
-<li>configure your login.config file</p>
+<p>Configure your <code>login.config</code> file</p>
 
-<p>PropertiesLogin {
+<pre><code>PropertiesLogin {
     org.apache.openejb.core.security.jaas.PropertiesLoginModule required
     Debug=false
     UsersFile="users.properties"
     GroupsFile="groups.properties";
-};</li>
-<li>configure your login module specifically (users.properties for snippets of this page for instance)</li>
-</ul>
+};
+</code></pre>
+
+<p>Configure your login module specifically (users.properties for snippets of this page for instance)</p>