Okan Çetin wrote:
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?
Do you want modify web.xml on the fly, or to add additional roles to tomcat on the fly? The former one can achieve using i.e. http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html

--
Mikolaj Rydzewski <[EMAIL PROTECTED]>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to