security - Jboss successfull event is not firing -


we have seam application, have following code

if( isloginsuccess(userid,passwor) ){     identity.instance().login(); } 

and in component.xml have configuration

<event type="org.jboss.seam.security.loginsuccessful">         <action execute="#{defaultpageredirector.returntocapturedview()}"/>     </event> 

every time isloginsuccess(userid,passwor) return true ( know ) sometime ( randomly ) returntocapturedview() called , happening randomly.

could please me in regards

if happening randomly there wrong defaultpageredirector check seam redirect.

according seam identity, event raises if user not loggedin or user loogedin siletnlogin attribute set.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -