You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mustapha Essalihe <me...@crim.ca> on 2001/04/06 20:44:54 UTC
JDBC RealM
I am setting user authentification in a postgres data and i configure my tomcat
server.xml with a RequestInterceptor like this :
<RequestInterceptor
className="org.apache.tomcat.request.JDBCRealm"
debug="99"
driverName="org.postgresql.Driver"
connectionURL="jdbc:postgresql://myserver/mydb"
userTable="users"
userNameCol="user_name"
userCredCol="user_pass"
userRoleTable="user_roles"
roleNameCol="role_name" />
how can i use this in my web.xml to authentificate users for each ressource in
my web application (html files, jsp, servlets ...)
give somme example of configurations
thanks
Mustapha