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

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -