Author: mposolda
Date: 2012-02-13 16:48:05 -0500 (Mon, 13 Feb 2012)
New Revision: 8424
Modified:
portal/trunk/docs/reference-guide/en-US/modules/AuthenticationAndIdentity/SSO.xml
Log:
GTNPORTAL-2352 Added needed section for SSO integration with GateIn Tomcat bundle
Modified:
portal/trunk/docs/reference-guide/en-US/modules/AuthenticationAndIdentity/SSO.xml
===================================================================
---
portal/trunk/docs/reference-guide/en-US/modules/AuthenticationAndIdentity/SSO.xml 2012-02-13
21:43:33 UTC (rev 8423)
+++
portal/trunk/docs/reference-guide/en-US/modules/AuthenticationAndIdentity/SSO.xml 2012-02-13
21:48:05 UTC (rev 8424)
@@ -545,6 +545,22 @@
</itemizedlist>
</step>
<step>
+ <para>
+ In Tomcat, edit
<filename>GATEIN_HOME/webapps/portal.war/META-INF/context.xml</filename> and
add
+ <literal>ServletAccessValve</literal> into
configuration as first sub-element of <literal>Context</literal>:
+ </para>
+ <programlisting>
+<![CDATA[
+<Context path='/portal' docBase='portal' ... >
+
+ ]]><emphasis role="bold"><![CDATA[<Valve
className='org.gatein.sso.agent.tomcat.ServletAccessValve'
/>]]></emphasis><![CDATA[
+
+ ...
+</Context>
+]]>
+ </programlisting>
+ </step>
+ <step>
<para>
The installation can be tested at this point:
</para>
@@ -821,7 +837,7 @@
In Tomcat, edit
<filename>GATEIN_HOME/conf/jaas.conf</filename> and uncomment this section:
</para>
<programlisting>org.gatein.sso.agent.login.SSOLoginModule required;
-org.exoplatform.services.security.j2ee.TomcatLoginModule requiredtm
+org.exoplatform.services.security.j2ee.TomcatLoginModule required
portalContainerName=portal
realmName=gatein-domain;
</programlisting>
@@ -829,6 +845,22 @@
</itemizedlist>
</step>
<step>
+ <para>
+ In Tomcat, edit
<filename>GATEIN_HOME/webapps/portal.war/META-INF/context.xml</filename> and
add
+ <literal>ServletAccessValve</literal> into configuration
as first sub-element of <literal>Context</literal>:
+ </para>
+ <programlisting>
+ <![CDATA[
+<Context path='/portal' docBase='portal' ... >
+
+ ]]><emphasis role="bold"><![CDATA[<Valve
className='org.gatein.sso.agent.tomcat.ServletAccessValve'
/>]]></emphasis><![CDATA[
+
+ ...
+</Context>
+]]>
+ </programlisting>
+ </step>
+ <step>
<para>
The installation can be tested at this point.
</para>
@@ -1129,7 +1161,7 @@
<itemizedlist>
<listitem>
<para>
- In JBoss AS, edit
gatein.ear/META-INF/gatein-jboss-beans.xml and uncomment this section
+ In JBoss AS, edit
<filename>gatein.ear/META-INF/gatein-jboss-beans.xml</filename> and uncomment
this section
</para>
<programlisting>
<![CDATA[
@@ -1149,7 +1181,7 @@
</listitem>
<listitem>
<para>
- If you are running &PRODUCT; in Tomcat, edit
$GATEIN_HOME/conf/jaas.conf, uncomment on this section and comment other parts:
+ If you are running &PRODUCT; in Tomcat, edit
<filename>GATEIN_HOME/conf/jaas.conf</filename>, uncomment on this section and
comment other parts:
</para>
<programlisting>org.gatein.sso.agent.login.SSOLoginModule required;
org.exoplatform.services.security.j2ee.TomcatLoginModule required
@@ -1159,6 +1191,24 @@
</listitem>
</itemizedlist>
+ </step>
+ <step>
+ <para>
+ In Tomcat, edit
<filename>GATEIN_HOME/webapps/portal.war/META-INF/context.xml</filename> and
add
+ <literal>ServletAccessValve</literal> into configuration
as first sub-element of <literal>Context</literal>:
+ </para>
+ <programlisting>
+ <![CDATA[
+<Context path='/portal' docBase='portal' ... >
+
+ ]]><emphasis role="bold"><![CDATA[<Valve
className='org.gatein.sso.agent.tomcat.ServletAccessValve'
/>]]></emphasis><![CDATA[
+
+ ...
+</Context>
+]]>
+ </programlisting>
+ </step>
+ <step>
<para>
At this point the installation can be tested:
</para>
Show replies by date