In application generated by seam-gen, there is in components.xml:
| <event type="org.jboss.seam.notLoggedIn">
| <action expression="#{redirect.captureCurrentView}"/>
| </event>
| <event type="org.jboss.seam.postAuthenticate">
| <action expression="#{redirect.returnToCapturedView}"/>
| </event>
|
and in pages.xml:
| <exception class="org.jboss.seam.security.NotLoggedInException">
| <redirect view-id="/login.xhtml">
|
<message>#{messages['org.jboss.seam.security.NotLoggedInException']}</message>
| </redirect>
| </exception>
|
|
The event org.jboss.seam.notLoggedIn is raised by Pages.notLoggedIn which is called by
Pages.redirectToLoginView just before going to the Login view.
And the event org.jboss.seam.postAuthenticate is raised by Identity.postAuthenticate
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082615#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...