java ee - Is setting up jboss valve the only way to go? -
java ee - Is setting up jboss valve the only way to go? -
i have application set using jaas module login. there ajax function calls in application experencing notorious ajax session timeout problem, means ugly login page getting page's place holder if session timeout. fixing in ugly way checking if homecoming ajax result contains login form, apparently, not way.
i tried add together filter check if session has timed out , homecoming meaningful ajax request. seems jaas runs prior servlet filters. have checked , acknowledged valve kind of "interceptor" runs before jaas. seems thing needed.but it's container-base not application-based, not application-frieldly imo. asking if way fulfil trying or there improve alternatives.
i using jboss 4.2.3
thanks.
it seems me there's no real solution problem. jaas didn't consider session timeout using ajax @ all.
we can dirtily check if ajax response contains login page elements observe if session timeout or not.
i mark answer. , happy mark improve reply if there's come.
java-ee jboss session-timeout jaas
Comments
Post a Comment