tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: Resource Security
Date Fri, 17 Aug 2007 10:04:04 GMT
Nope.

You could write your own db pool init code in a ServletContextListener 
and then do anything you want as far as how to store the pool 
configuration if you really need to encrypt the password.  The standard 
tomcat configuration files don't offer any facility for encrypting 
passwords though.

--David

Andrew Hole wrote:
> Is it possible encrypt password on Resource setup?
>
> <Resource name="app" auth="Container" type="
> oracle.jdbc.pool.OracleDataSource"
>     factory="oracle.jdbc.pool.OracleDataSourceFactory"
>     driverClassName="oracle.jdbc.OracleDriver"
>     url="jdbc:oracle:thin:@DATABASE_IP:1521:DATABASE_NAME" user="username"
> password="password" />
>
> Thanks
> Andew
>
>   


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


Mime
View raw message