ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google

Mail Archive Home | xmlc List | September 2006 Index

<--  Date Index     <--  Thread Index    

using JDBC Realm

Hi all
I am using Enhydra 5.1 .I want to use JDBC Realm for form based authentication.
Mine is a Enhydra Application.
I could not find any documentation.
I tried changing the web.xml  and entering
   <web-resource-name>Protected Area</web-resource-name>
   <!-- Define the context-relative URL(s) to be protected -->
<Realm className="org.apache.catalina.realm.JDBCRealm"
  driverName ="net.sourceforge.jtds.jdbc.Driver"
  connectionURL ="jdbc:jtds:sqlserver://XXX:1433?user=XXX;password=XXX"
  roleNameCol ="Role" />

in the server.xml
I put these server.xml and web.xml back into the tomcat.jar  and restart enhydra server(Multiserver.bat)
When i access the application the authentication does not take place at all. I am able to access any protected pages.
What am i doing wrong...?
Thanks in advance

<--  Date Index     <--  Thread Index    

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.