rave-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r805790 - in /websites/staging/rave/trunk: ./ content/rave/documentation/sso-login.html
Date Wed, 22 Feb 2012 15:18:06 GMT
Author: buildbot
Date: Wed Feb 22 15:18:05 2012
New Revision: 805790

Log:
Staging update by buildbot for rave

Modified:
    websites/staging/rave/trunk/   (props changed)
    websites/staging/rave/trunk/content/rave/documentation/sso-login.html

Propchange: websites/staging/rave/trunk/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Feb 22 15:18:05 2012
@@ -1 +1 @@
-1245211
+1292340

Modified: websites/staging/rave/trunk/content/rave/documentation/sso-login.html
==============================================================================
--- websites/staging/rave/trunk/content/rave/documentation/sso-login.html (original)
+++ websites/staging/rave/trunk/content/rave/documentation/sso-login.html Wed Feb 22 15:18:05
2012
@@ -81,21 +81,29 @@ With a different <a href="http://static.
 </pre></div>
 
 
-<h2 id="3_add_a_custom_spring_security_configuration">3) Add a custom Spring security
configuration</h2>
+<h2 id="3_add_the_rave_sso_extension_to_the_pom_of_your_custom_portal_war">3) Add the
Rave SSO Extension to the pom of your custom portal war</h2>
+<div class="codehilite"><pre><span class="nt">&lt;dependency&gt;</span>
+  <span class="nt">&lt;groupId&gt;</span>org.apache.rave.extensions<span
class="nt">&lt;/groupId&gt;</span>
+  <span class="nt">&lt;artifactId&gt;</span>rave-extension-sso<span
class="nt">&lt;/artifactId&gt;</span>
+<span class="nt">&lt;/dependency&gt;</span>
+</pre></div>
+
+
+<h2 id="4_add_a_custom_spring_security_configuration">4) Add a custom Spring security
configuration</h2>
 <p>Place the following Spring security configuration in your war overlay project (<code>/src/main/webapp/WEB-INF</code>)
as <code>applicationContext-security-extension-sso.xml</code></p>
 <div class="codehilite"><pre><span class="o">&lt;</span><span
class="p">?</span><span class="n">xml</span> <span class="n">version</span><span
class="o">=</span><span class="s">&quot;1.0&quot;</span> <span
class="n">encoding</span><span class="o">=</span><span class="s">&quot;UTF-8&quot;</span><span
class="p">?</span><span class="o">&gt;</span>
 <span class="o">&lt;</span><span class="n">beans:beans</span>
<span class="n">xmlns:beans</span><span class="o">=</span><span
class="s">&quot;http://www.springframework.org/schema/beans&quot;</span>
              <span class="n">xmlns:xsi</span><span class="o">=</span><span
class="s">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</span>
              <span class="n">xmlns</span><span class="o">=</span><span
class="s">&quot;http://www.springframework.org/schema/security&quot;</span>
              <span class="n">xsi:schemaLocation</span><span class="o">=</span><span
class="s">&quot;http://www.springframework.org/schema/beans</span>
-<span class="s">       http://www.springframework.org/schema/beans/spring-beans.xsd</span>
+<span class="s">       http://www.springframework.org/schema/beans/spring-beans-3.1.xsd</span>
 <span class="s">       http://www.springframework.org/schema/security</span>
-<span class="s">       http://www.springframework.org/schema/security/spring-security.xsd&quot;</span><span
class="o">&gt;</span>
+<span class="s">       http://www.springframework.org/schema/security/spring-security-3.1.xsd&quot;</span><span
class="o">&gt;</span>
 
   <span class="o">&lt;</span><span class="n">http</span> <span
class="k">use</span><span class="o">-</span><span class="n">expressions</span><span
class="o">=</span><span class="s">&quot;true&quot;</span><span
class="o">&gt;</span>
     <span class="o">&lt;</span><span class="n">intercept</span><span
class="o">-</span><span class="n">url</span> <span class="n">pattern</span><span
class="o">=</span><span class="s">&quot;/newaccount.jsp*&quot;</span>
<span class="n">access</span><span class="o">=</span><span class="s">&quot;permitAll&quot;</span><span
class="o">/&gt;</span>
     <span class="o">&lt;</span><span class="n">intercept</span><span
class="o">-</span><span class="n">url</span> <span class="n">pattern</span><span
class="o">=</span><span class="s">&quot;/app/newaccount*&quot;</span>
<span class="n">access</span><span class="o">=</span><span class="s">&quot;permitAll&quot;</span><span
class="o">/&gt;</span>
-    <span class="o">&lt;</span><span class="n">intercept</span><span
class="o">-</span><span class="n">url</span> <span class="n">pattern</span><span
class="o">=</span><span class="s">&quot;/login.jsp*&quot;</span>
<span class="n">filters</span><span class="o">=</span><span class="s">&quot;none&quot;</span><span
class="o">/&gt;</span>
+    <span class="o">&lt;</span><span class="n">intercept</span><span
class="o">-</span><span class="n">url</span> <span class="n">pattern</span><span
class="o">=</span><span class="s">&quot;/login.jsp*&quot;</span>
<span class="n">access</span><span class="o">=</span><span class="s">&quot;permitAll&quot;</span><span
class="o">/&gt;</span>
     <span class="o">&lt;</span><span class="n">intercept</span><span
class="o">-</span><span class="n">url</span> <span class="n">pattern</span><span
class="o">=</span><span class="s">&quot;/css/**&quot;</span>
<span class="n">access</span><span class="o">=</span><span class="s">&quot;permitAll&quot;</span><span
class="o">/&gt;</span>
     <span class="o">&lt;</span><span class="n">intercept</span><span
class="o">-</span><span class="n">url</span> <span class="n">pattern</span><span
class="o">=</span><span class="s">&quot;/images/**&quot;</span>
<span class="n">access</span><span class="o">=</span><span class="s">&quot;permitAll&quot;</span><span
class="o">/&gt;</span>
     <span class="o">&lt;</span><span class="n">intercept</span><span
class="o">-</span><span class="n">url</span> <span class="n">pattern</span><span
class="o">=</span><span class="s">&quot;/script/**&quot;</span>
<span class="n">access</span><span class="o">=</span><span class="s">&quot;permitAll&quot;</span><span
class="o">/&gt;</span>
@@ -147,11 +155,7 @@ With a different <a href="http://static.
   <span class="o">&lt;</span><span class="n">beans:bean</span>
<span class="n">id</span><span class="o">=</span><span class="s">&quot;userDetailsService&quot;</span>
<span class="n">class</span><span class="o">=</span><span class="s">&quot;org.apache.rave.portal.service.impl.DefaultUserService&quot;</span><span
class="o">/&gt;</span>
 
   <span class="o">&lt;</span><span class="n">authentication</span><span
class="o">-</span><span class="n">manager</span> <span class="n">alias</span><span
class="o">=</span><span class="s">&quot;authenticationManager&quot;</span><span
class="o">&gt;</span>
-    <span class="o">&lt;</span><span class="n">authentication</span><span
class="o">-</span><span class="n">provider</span> <span class="nb">ref</span><span
class="o">=</span><span class="s">&quot;preauthAuthProvider&quot;</span><span
class="o">&gt;</span>
-      <span class="o">&lt;</span><span class="n">password</span><span
class="o">-</span><span class="n">encoder</span> <span class="nb">ref</span><span
class="o">=</span><span class="s">&quot;passwordEncoder&quot;</span><span
class="o">&gt;</span>
-        <span class="o">&lt;</span><span class="n">salt</span><span
class="o">-</span><span class="n">source</span> <span class="nb">ref</span><span
class="o">=</span><span class="s">&quot;saltSource&quot;</span><span
class="o">/&gt;</span>
-      <span class="sr">&lt;/password-encoder&gt;</span>
-    <span class="sr">&lt;/authentication-provider&gt;</span>
+    <span class="o">&lt;</span><span class="n">authentication</span><span
class="o">-</span><span class="n">provider</span> <span class="nb">ref</span><span
class="o">=</span><span class="s">&quot;preauthAuthProvider&quot;</span><span
class="o">/&gt;</span>
   <span class="sr">&lt;/authentication-manager&gt;</span>
 
 <span class="sr">&lt;/beans:beans&gt;</span>
@@ -170,7 +174,7 @@ With a different <a href="http://static.
 </pre></div>
 
 
-<h2 id="4_customize_the_loginjsp">4) Customize the login.jsp</h2>
+<h2 id="5_customize_the_loginjsp">5) Customize the login.jsp</h2>
 <p>Create your own login.jsp with e.g. a welcome text and a link to your SSO login
form.</p>
   </div>
 



Mime
View raw message