Hello!

For Connection on database i initialize in context.xml: 
[CODE]
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="0"
 driverName="com.Driver"
 connectionURL="jdbc:url"
 connectionName="CONNAME" connectionPassword="CONPASS" userTable="BFWBBUSR"
 userNameCol="LOGINNM" userCredCol="USRPASS"   
 userRoleTable="BFWBBUSR"
 roleNameCol="ROLEID"/>
[/CODE]
j_security_check works fine.

Now, i want to check another column on login: userstatus. Value of the
column can be 0 or 1. Only users with correct username and status 1 can
login.

How can i do this with j_security_check?


Regards
-- 
View this message in context: 
http://www.nabble.com/j_security_check-Tomcat-user-status-tp19563429p19563429.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to