continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r433847 - /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/xwork.xml
Date Wed, 23 Aug 2006 02:30:23 GMT
Author: carlos
Date: Tue Aug 22 19:30:22 2006
New Revision: 433847

URL: http://svn.apache.org/viewvc?rev=433847&view=rev
Log:
Handle error when user is not authenticated

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/xwork.xml

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/xwork.xml
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/xwork.xml?rev=433847&r1=433846&r2=433847&view=diff
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/xwork.xml
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/xwork.xml
Tue Aug 22 19:30:22 2006
@@ -25,11 +25,13 @@
     <default-interceptor-ref name="defaultContinuumStack"/>
 
     <global-results>
+      <result name="login" type="redirect">/login.jsp</result>
       <result name="error">/error.jsp</result>
       <result name="internalError" type="redirect">/error.jsp</result>
     </global-results>
 
     <global-exception-mappings>
+      <exception-mapping exception="org.acegisecurity.AuthenticationCredentialsNotFoundException"
result="login"/>
       <exception-mapping exception="java.lang.Exception" result="internalError"/>
     </global-exception-mappings>
 
@@ -47,7 +49,7 @@
     </action>
 
     <action name="login" class="login">
-      <result name="input">login.jsp</result>
+      <result name="input">/login.jsp</result>
       <result name="success" type="redirect">summary.action</result>
     </action>
 



Mime
View raw message