you ultimately will read these roles from the database, namely the user roles 
table, as in the  userRoleTable attribute.



-----Original Message-----
From: Okan Çetin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 24, 2007 8:35 AM
To: users@tomcat.apache.org
Subject: creating security roles automatically


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

Reply via email to