I have a JDBC Realm configured against a sybase database and it works fine.
See below I have changed the details for obvious security reasons.

           <Realm  className="org.apache.catalina.realm.JDBCRealm"
debug="99"
             driverName="com.sybase.jdbc2.jdbc.SybDriver"
             connectionURL="jdbc:sybase:Tds:foo.au.bar.com:666/foo_bar"
             connectionName="foobar" connectionPassword="foobar"
             userTable="User" userNameCol="userName" userCredCol="password"
             userRoleTable="UserRole" roleNameCol="roleName" digest="MD5"/>

I also have the user passwords encrypted using MD5 and this works fine.
However we have a need to have all clear text passwords encrypted in
configuration files. I need this realm to work with the connectionPassword
value foobar encrypted. Does anyone know if this has been done and is there
a patch of some sort available?



David Gardner
Software Developer
Cititech
Level 11, 2 Park Street
Sydney NSW Australia 2000

Phone:          (+612) 8225 4803
Fax:            (+612) 8225 
Email:          [EMAIL PROTECTED]


Important  Information

This message may contain confidential or proprietary information.  If you
are not the intended recipient, please notify the sender immediately and
delete the message from your system.  You should not copy or use it for any
purpose, nor disclose its contents to any other person.  E-mail transmission
cannot be guaranteed to be secure or error-free.  No guarantee is made that
any attachments are virus free.  We reserve the right to monitor all e-mail
communications.

This e-mail does not take into account your investment objectives or
financial situation and you should obtain advice based on your own
individual circumstances before making an investment decision

This e-mail is made available to you in Australia by Citigroup Global
Markets Australia Pty Limited ABN 64 003 114 832, a licensed securities
dealer and futures broker, a Participating Organisation of the Australian
Stock Exchange Limited and a participant of the Sydney Futures Exchange
Limited.  In New Zealand it is made available through Citigroup Global
Markets New Zealand Limited, a member firm of the New Zealand Stock
Exchange.

Although the information is believed to be reliable, we do not guarantee its
accuracy and it may be incomplete or condensed.  All opinions and estimates
constitute Citigroup's judgement at the date of issue and are subject to
change without notice. Unless stated otherwise, pricing information is
indicative only, subject to change and is not an offer to deal at any price
quoted.  Any reference to the terms of executed transactions is preliminary
only and subject to written confirmation.



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

Reply via email to