Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

creating security roles automatically

Okan Çetin

2007-07-24

Replies:

Hi;
I am using role based authentication system with Tomcat. I know, in
web.xml , security roles must be defined like this:
Ex:
 <security-role>
   <role-name>users</role-name>
 </security-role>

But i want to create these roles dynamically. For example i want to
read these roles from database, LDAP, text files or somewhere else. Is
it possible?
Thanks.

Sincerly,
Okan.

--
~
otomatik oluşturuldu:
http://ocetin.net/log
http://linux.beykent.edu.tr
©2008 junlu.com - Jax Systems, LLC, U.S.A.