Hi

Don't you have to add the roles  in your web.xml under the tag security-constraint. 
And there has to be matching roles in auth-constraint and security-role.... if you 
haven't done this...it could be the problem ...

Abid

-----Original Message-----
From: Roland Carlsson [mailto:[EMAIL PROTECTED]
Sent: 18. juli 2003 12:52
To: Tomcat Users List
Subject: MemoryRealm and tomcat-users.xml


Hi!

I have created a simple form-based authentication.

It works well with the predefined users (tomcat, role1) but it doesn't work
at all if I try to add users and roles in the
/%tomcat-root%/conf/tomcat-users.xml.

My server.xml is not changed from install so it defines a realm in the
Engine-element that according to the comments should be used for all webapps
in the server.

What have I missed?

Thanks in advance
Roland Carlsson



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to