tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rémy Maucherat" <remy.mauche...@gmail.com>
Subject Re: Form-based authentication example broken in Tomcat 6.0
Date Wed, 02 May 2007 14:42:32 GMT
On 5/2/07, Frank McCown <fmccown@cs.odu.edu> wrote:
> The default contents of the conf/tomcat-users.xml file *should* be
>
> <tomcat-users>
>    <user name="tomcat" password="tomcat" roles="tomcat" />
>    <user name="role1"  password="tomcat" roles="role1"  />
>    <user name="both"   password="tomcat" roles="tomcat,role1" />
> </tomcat-users>
>
> but the file that ships with 6.0 is missing all the <user> tags.

No default users will be provided.

> And the server.xml file is missing the line:
>
> <Realm className="org.apache.catalina.realm.MemoryRealm" />

It has a functionally equivalent realm.

> Making these changes will fix the example.  Hope someone working on
> Tomcat sees this post.

The rest has been fixed, thanks.

Rémy

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message