tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abid Ali Teepo" <abid.ali.te...@mogul.no>
Subject RE: MemoryRealm and tomcat-users.xml
Date Fri, 18 Jul 2003 10:59:44 GMT
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:maillista@javalia.se]
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message