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 -

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -