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
Post a Comment