I have the security filter .jar in my /lib directory but not the /lib directory of the webapp. But the server's /lib.
-----Original Message----- From: Andrew Stepanenko [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 23, 2005 8:21 PM To: Mark Goking Subject: Re: Securityfilter for authentication Hello Mark, says jdbcrealm[null] I remember I also had this error but don't remember exactly a workaround. Checkout that you have a security filter .jar file in your WEB-INF/lib directory and also inspect tomcat log files. Regards, Andrew. Mark Goking wrote: >Hi this is my realm. I followed your catalina realm but when I login, it >says jdbcrealm[null] > >Is this org.apache.catalina.realm.JDBCRealm by default? Or doess my >class have to be the calssname of the oracle driver? > > > <!-- start with a Catalina realm adapter to wrap the Catalina realm >defined below --> > <realm >className="org.securityfilter.realm.catalina.CatalinaRealmAdapter" /> > > <realm className="org.apache.catalina.realm.JDBCRealm"> > <realm-param name="driverName" >value="oracle.jdbc.driver.OracleDriver"/> > <realm-param name="debug" value="0"/> > <realm-param name="connectionURL" >value="jdbc:oracle:oci8:@bill" /> > <realm-param name="connectionName" >value="cstest" /> > <realm-param name="connectionPassword" >value="cstest" /> > <realm-param name="userTable" value="users"/> > <realm-param name="userNameCol" value="username"/> > <realm-param name="userCredCol" value="password"/> > <realm-param name="userRoleTable" value="user_roles"/> > <realm-param name="roleNameCol" value="groupid"/> > </realm> > > > -- Andrew Stepanenko, Software engineer, Ukrainian-Dutch Faculty of Economics and Management Ternopil State Economic University Shevchenko Street 9, Office 24-25 Ternopil, 46000 UKRAINE Tel: +38 (0352) 43 52 41 fax: +38 (0352) 43 52 45 Web: http://unf.tane.edu.ua --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]