It would be very nice if someone can post the basically
 needed entries in  the web.xml file for a JDBCRealm.

I want to make it using a mysql DB. I want to make avaliable the access
to the protected areas to the entry which are in the DB and not to the
one´s that are in the web.xml:

        <auth-constraint>
         <!-- Anyone with one of the listed roles may access this area
-->
         <role-name>tomcat</role-name>
         <role-name>role1</role-name>
      </auth-constraint>

I was able to arrive to the point where in the console appears:

    ContextManager: JDBCRealm: Auth ok, user=test

but in both cases (when i entry a good info and info that is not in the
DB) I´m redirect to the same error page.


P.D.: Linux 2.2.13 - Tomcat 3.2.1

Thanks a lot.

Marcos

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

Reply via email to