tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack" <>
Subject an example of Users element
Date Fri, 20 Jan 2006 09:32:33 GMT
Furthermore, the original Realm element could be moved into Users element. 
The Users element should be able to include several Realm elements, such as 
one for Database, another one for LDAP, even one more in tomcat-usrs.xml 
format. Examples:

<Users keystoreFile="xxxxxx\.keystore" scope="web-app">

 <Realm memory realm>

  <user username="owner" password="jack" roles="owner"/>

  <user username="xxx" password="jack" roles="aaa"/>

  <user username="yyy" password="jack" roles="bbb"/>


 <Realm memory realm src="users.xml" />

 <Realm jdbc config/>

 <Realm jndi config/>

 <Realm ldap config/>


The certificate of this web-app will be included in the context if it has 

When the web-app is running, it might have to access its own certificate, 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message