mirror of
https://github.com/apache/struts.git
synced 2026-08-06 07:06:58 +00:00
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:
@@ -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 {
|
||||
<interceptor-stack name="<strong>guest</strong>" >
|
||||
<interceptor-ref name="defaultStack"/>
|
||||
</interceptor-stack>
|
||||
<interceptor-stack name="<strong>guest-submit</strong>" >
|
||||
<interceptor-ref name="token-session" />
|
||||
<interceptor-ref name="guest"/>
|
||||
</interceptor-stack>
|
||||
</interceptors>
|
||||
<<strong>default-interceptor-ref</strong> name="user"/></code></pre>
|
||||
<hr/>
|
||||
|
||||
Reference in New Issue
Block a user