DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28071>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28071

New ArbitraryQueryJDBCRealm





------- Additional Comments From [EMAIL PROTECTED]  2004-03-31 02:16 -------
Example usage (placed in context.xml) :

    <Realm className="com.hic.web.ArbitraryQueryJDBCRealm"
           debug="99"
           driverName="@db.driver@"
           connectionURL="@db.url@"
           connectionName="@db.user@"
           connectionPassword="@db.pw@"
           userQuery="select password from ACCOUNT where username = BINARY ? and
activated = 1"
           roleQuery="select 'account'" />

And, of course, feel free to do whatever you want with this.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to