WW-1429 Fix authentifcation/interceptor settings.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@439376 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ted Nathan Husted
2006-09-01 16:58:55 +00:00
parent 76af0a88bd
commit 9f9b6cacbe
3 changed files with 4 additions and 13 deletions
@@ -26,11 +26,6 @@
<interceptor-ref name="defaultStack"/>
</interceptor-stack>
<interceptor-stack name="guest-submit" >
<interceptor-ref name="token-session" />
<interceptor-ref name="guest"/>
</interceptor-stack>
</interceptors>
<default-interceptor-ref name="user"/>
@@ -28,13 +28,13 @@
<exception-mapping
exception="org.apache.struts.apps.mailreader.dao.ExpiredPasswordException"
result="expired"/>
<interceptor-ref name="guest-submit"/>
<interceptor-ref name="guest"/>
</action>
<action name="Registration!*" class="mailreader2.Registration" method="{1}">
<result name="input">/pages/Registration.jsp</result>
<result type="redirect-action">MainMenu</result>
<interceptor-ref name="guest-submit"/>
<interceptor-ref name="guest"/>
</action>
<action name="Subscription!save" class="mailreader2.SubscriptionSave">
@@ -1448,8 +1448,8 @@ public class <strong>AuthenticationInterceptor</strong> implements Interceptor {
</p>
<p>
The MailReader defines four custom Interceptor stacks: "user", "user-submit",
"guest", and "guest-submit".
The MailReader defines three custom Interceptor stacks: "user", "user-submit",
and "guest".
</p>
<hr/>
@@ -1468,10 +1468,6 @@ public class <strong>AuthenticationInterceptor</strong> implements Interceptor {
&lt;interceptor-stack name="<strong>guest</strong>" >
&lt;interceptor-ref name="defaultStack"/>
&lt;/interceptor-stack>
&lt;interceptor-stack name="<strong>guest-submit</strong>" >
&lt;interceptor-ref name="token-session" />
&lt;interceptor-ref name="guest"/>
&lt;/interceptor-stack>
&lt;/interceptors>
&lt;<strong>default-interceptor-ref</strong> name="user"/></code></pre>
<hr/>