Author: dkuleshov
Date: 2011-04-22 05:39:17 -0400 (Fri, 22 Apr 2011)
New Revision: 4273
Modified:
jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/core/digest-auth.xml
Log:
EXOJCR-1019: added info in docbook for digest auth config
Modified:
jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/core/digest-auth.xml
===================================================================
---
jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/core/digest-auth.xml 2011-04-22
09:06:08 UTC (rev 4272)
+++
jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/core/digest-auth.xml 2011-04-22
09:39:17 UTC (rev 4273)
@@ -26,6 +26,9 @@
<section>
<title>Tomcat Server configuration</title>
+ <para>You need to fulfill a couple of steps. Firstly change login
+ configuration:</para>
+
<para>Edit config file located here:
exo-tomcat/webapps/rest.war/WEB-INF/web.xml</para>
@@ -43,11 +46,29 @@
configuration can be found at <ulink
url="http://tomcat.apache.org/tomcat-6.0-doc/config/realm.html"...
Tomcat Configuration Reference</ulink>.</para>
+
+ <para>Secondly you also need to specify new login module for
+ JAAS:</para>
+
+ <para>Edit config file located here: exo-tomcat/conf/jaas.conf</para>
+
+ <para>Replace</para>
+
+ <para><programlisting>exo-domain {
+ org.exoplatform.services.security.j2ee.TomcatLoginModule required;
+};</programlisting>for</para>
+
+ <para><programlisting>exo-domain {
+ org.exoplatform.services.security.j2ee.DigestAuthenticationTomcatLoginModule required;
+};</programlisting></para>
</section>
<section>
<title>Jetty server configuration</title>
+ <para>You need to fulfill a couple of steps. Firstly change login
+ configuration:</para>
+
<para>Edit config file located here:
exo-jetty/webapps/rest.war/WEB-INF/web.xml</para>
@@ -61,7 +82,20 @@
<para><programlisting><login-config>
<auth-method>DIGEST</auth-method>
<realm-name>eXo REST services</realm-name>
-</login-config></programlisting></para>
+</login-config></programlisting>Secondly you also need to specify
new
+ login module for JAAS:</para>
+
+ <para>Edit config file located here: exo-jetty/jaas.conf</para>
+
+ <para>Replace</para>
+
+ <para><programlisting>exo-domain {
+ org.exoplatform.services.security.j2ee.JettyLoginModule required;
+};</programlisting>for</para>
+
+ <para><programlisting>exo-domain {
+ org.exoplatform.services.security.j2ee.DigestAuthenticationJettyLoginModule required;
+};</programlisting></para>
</section>
<section>
@@ -87,7 +121,7 @@
<para><programlisting><application-policy
name="exo-domain">
<authentication>
- <login-module
code="org.exoplatform.services.security.j2ee.JbossLoginModule"
+ <login-module
code="org.exoplatform.services.security.j2ee.DigestAuthenticationJbossLoginModule"
flag="required">
<module-option
name="usersProperties">props/jmx-console-users.properties</module-option>
<module-option
name="rolesProperties">props/jmx-console-roles.properties</module-option>