Hi everyone,
    I'm trying to setup a security access mechanism through JDBCRealm and a Postgresql database.
 
I followed the instruction in the JDBCRealm.howto document, but I still cannot access to the protected area. Looking at the Tomcat log file, I read these error lines:
 
...
 
2001-02-19 04:31:53 - ContextManager: JDBCRealm: JDBCRealm.authenticate: SELECT user_pass FROM t_users WHERE user_name = ?
2001-02-19 04:31:53 - ContextManager: JDBCRealm: Authentication unsuccessful for user null
2001-02-19 04:31:58 - ContextManager: JDBCRealm: Authentication unsuccessful for user null
2001-02-19 04:31:58 - ContextManager: JDBCRealm: Controled access for WEB-IMRNA\admin R( /admin + /contextAdmin/contextAdmin.html + null) Ct ( )
2001-02-19 04:31:58 - ContextManager: JDBCRealm: JDBCRealm.roles: SELECT role_name FROM t_user_roles WHERE user_name = ?
2001-02-19 04:31:58 - ContextManager: JDBCRealm: Auth ok, user has no roles
2001-02-19 04:31:58 - ContextManager: JDBCRealm: UnAuthorized administrator
...
 
 
And It looks like the user name has not been passed to the JDBCRealm authenticator by the client, but clearly I've inserted it into the BASIC authentication dialog ...
 
Could someone help me understand what I'm doing wrong?
 
Thanks in advance for your help,
Sal.

Reply via email to