-
1. Re: Back Button on Error page
sean.tozer Jun 4, 2010 9:34 AM (in response to ambrish_kumar)Well, the login capture happens in components.xml:
<event type="org.jboss.seam.security.loginSuccessful">
<action execute="#{redirect.returnToCapturedView}"/>
<action execute="#{currentSession.setMaxInactiveInterval(3600)}"/>
</event>Is there an event thrown when the authorization exception happens? Or does the exception itself count as an event. I'd be trying to figure out something in there.
-
2. Re: Back Button on Error page
sean.tozer Jun 4, 2010 9:35 AM (in response to ambrish_kumar)<event type="org.jboss.seam.security.loginSuccessful"> <action execute="#{redirect.returnToCapturedView}"/> <action execute="#{currentSession.setMaxInactiveInterval(3600)}"/> </event>
Mixed up my format notation, once again.
-
3. Re: Back Button on Error page
ambrish_kumar Jun 4, 2010 10:25 AM (in response to ambrish_kumar)Hi Sean,
Thanks for the reply.
Actually my requirement is that I don't want to go back to login page again. I will provide a back button on error page so that the user can go back to previous page from where exception was generated.
No there is no event associated with AuthorizationException.
Regards,
Ambrish