This content has been marked as final.
Show 4 replies
-
1. Re: Custom behaviour after login (after session timeout)
mwohlf Nov 9, 2010 7:15 AM (in response to bungrudi)you can observe the
org.jboss.seam.security.postAuthenticate
event and do aFacesManager.instance().redirect(viewId);
-
2. Re: Custom behaviour after login (after session timeout)
bungrudi Nov 9, 2010 10:58 PM (in response to bungrudi)Hi Michael,
thanks for that.
but how do i prevent it from redirecting?
because currently the default behavior is to redirect to last visited page. -
3. Re: Custom behaviour after login (after session timeout)
mwohlf Nov 10, 2010 1:27 AM (in response to bungrudi)it's not the
default behaviour
, you must configure a redirect on login, check you components.xml for something like:<event type="org.jboss.seam.security.postAuthenticate" > <action execute="#{redirect.returnToCapturedView()}" /> </event>
and remove it if you don't want it
-
4. Re: Custom behaviour after login (after session timeout)
bungrudi Nov 10, 2010 3:57 AM (in response to bungrudi)Ok that works. Thanks Michael.
Case closed..