configuring a combined realm

2014-04-01 Thread Francesco Viscomi
I'm unable to understand what's wrong with this configuration: in the server.xml file I defined that as a resource i want to use conf/tomcat-users.xml (this authentication is just for tomcat manager); While to authenticated user on my application i define in the context.xml file as a realm a

Re: configuring a combined realm

2014-04-01 Thread Daniel Mikusa
On Apr 1, 2014, at 8:15 AM, Francesco Viscomi fvisc...@gmail.com wrote: I'm unable to understand what's wrong with this configuration: Can you be more specific about what is and isn’t working with the setup? As I understand it, you’re trying to setup container based authentication for the

Re: configuring a combined realm

2014-04-01 Thread Mark Thomas
On 01/04/2014 13:15, Francesco Viscomi wrote: I'm unable to understand what's wrong with this configuration: You need to read the Realm documentation more carefully. context.xml file === ?xml version=1.0

Re: configuring a combined realm

2014-04-01 Thread Francesco Viscomi
thanks Mark, with localDataSource=true it works; for Daniel, thanks to you too; I'm using tomcat 7; I was able to log to tomcat manager, but i wasn't able to log to my application (adding localDataSource=true) it works right; thanks again 2014-04-01 18:01 GMT+02:00 Mark Thomas