+------------------------+
Jasypt Users List
http://www.jasypt.org
+------------------------+
Hello,
I'm afraid this depends on Tomcat's capabilities, as there is no
jasypt-integrated implementation for Tomcat datasources (which are
Commons-DBCP based). Currently, there is no straightforward way to do this.
Regards,
Daniel.
qgj2046 wrote:
> +------------------------+
> Jasypt Users List
>
http://www.jasypt.org
> +------------------------+
>
> Now, I use tomcat datasource connection database, so I don't know how to
> encrypt password in file that configure datasource.
> The configure file as below(locate in
> apache-tomcat-5.5.16\conf\Catalina\localhost):
> <Context path="/wsdl" debug="99" reloadable="true"
> antiJARLocking="true" antiResourceLocking="false">
>
> <Resource name="jdbc/wsdlDS" auth="Container"
> type="javax.sql.DataSource"
> maxActive="100" maxIdle="30" maxWait="10000"
> driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
> username="wsdl" password="p@ssw0rd"
>
> url="jdbc:sqlserver://localhost\\SQLEXPRESS:1433;DatabaseName=wsdl;"
> defaultAutoCommit="true" removeAbandoned="true"
> removeAbandonedTimeout="60" logAbandoned="true" />
>
> </Context>
>
> Thanks a lot
>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword_______________________________________________
jasypt-users mailing list
jasypt-users@...
https://lists.sourceforge.net/lists/listinfo/jasypt-users