tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <>
Subject Re: how does declaritive xml security work?
Date Fri, 07 May 2010 10:08:42 GMT
On 07/05/2010 10:06, Yucca Nel wrote:
> I am finishing up my wb app and am wondering if I will have to manually add my user riles
to users.xml? This is not verbose for me as I am aware how the mappings work but would like
to know if this is the norm?
> I am thinking along the lines of:
> 1) I mus log in as admin and view table of all users and the user names and passwords
that they have chosen. 
> 2) Then assign these credentials to users in certain roles in users.xml. 
> Does this sound correct?
> How can I do a put request in jsf to update my users.xml in  Web-INF? 

tomcat-users.xml really isn't suitable for production use IMO.

Configure a DataSourceRealm and move your users & roles into a database
where you can administer them more easily.


View raw message