java - How to update session scope-beans properly? -


i building servlet based web application. , looking proper way update session-scoped beans.

i have userauthorityholder class stores current user's authority. session scoped , instantiated when user's session created:

<bean id="userdetailsholder"              class="project.access.userauthorityholder" scope="session">     <aop:scoped-proxy/> </bean> 

my question is: is there way update 1 or more other session-scoped beans.

in situation, update user's authority effective if there way so.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -