[ajug-members] Adding container roles on the fly

Grey.Lee Lee.Grey at SunTrust.com
Wed Sep 29 16:19:34 EDT 2004


I'm using AppFuse (https://appfuse.dev.java.net) and container-managed
security for a web app running on Tomcat 5.  When a user is already
logged in, I'd like to be able to add new roles to their session, so
that presentation items that are within tags like <r:isUserInRole
role="guest"> can change on the fly.

Is there an API that allows adding new roles to a session, or do I have
to finagle a way to transparently log the user out and back in every
time I add or delete a role?

Thanks,
Lee Grey
SunTrust Banks, Inc. 
************************************************ 
The information transmitted is intended solely 
for the individual or entity to which it is  
addressed and may contain confidential and/or 
privileged material. Any review, retransmission, 
dissemination or other use of or taking action 
in reliance upon this information by persons or 
entities other than the intended recipient is 
prohibited. If you have received this email in 
error please contact the sender and delete the 
material from any computer. 
************************************************ 



More information about the ajug-members mailing list