1.1 --- a/sql.project/build.xml Tue Oct 09 11:10:32 2007 +0000
1.2 +++ b/sql.project/build.xml Tue Oct 09 13:43:12 2007 +0000
1.3 @@ -73,6 +73,15 @@
1.4 <!-- <fileset dir="antsrc" includes="**/antlib.xml"/> -->
1.5 <fileset dir="antsrc" includes="**/sqlpro.wsdl.template"/>
1.6 </jar>
1.7 +
1.8 + <!-- copy the jaxp-ri for encrypting the password-->
1.9 + <mkdir dir="${cluster}/modules/ext/sql/jaxp-ri/"/>
1.10 + <copy todir="${cluster}/modules/ext/sql/jaxp-ri">
1.11 + <fileset dir="../external">
1.12 + <include name="jaxp-ri-1.4.jar"/>
1.13 + </fileset>
1.14 + </copy>
1.15 +
1.16 </target>
1.17
1.18 <target name="netbeans-extra" depends="ant-extra"/>
2.1 --- a/sql.project/nbproject/project.xml Tue Oct 09 11:10:32 2007 +0000
2.2 +++ b/sql.project/nbproject/project.xml Tue Oct 09 13:43:12 2007 +0000
2.3 @@ -289,7 +289,7 @@
2.4 <specification-version>3.9.12</specification-version>
2.5 </run-dependency>
2.6 </dependency>
2.7 - <dependency>
2.8 + <dependency>
2.9 <code-name-base>org.netbeans.soa.libs.wsdl4j</code-name-base>
2.10 <build-prerequisite/>
2.11 <compile-dependency/>
2.12 @@ -298,8 +298,11 @@
2.13 <specification-version>1.0</specification-version>
2.14 </run-dependency>
2.15 </dependency>
2.16 -
2.17 - </module-dependencies>
2.18 + </module-dependencies>
2.19 + <class-path-extension>
2.20 + <runtime-relative-path>ext/sql/jaxp-ri/jaxp-ri-1.4.jar</runtime-relative-path>
2.21 + <binary-origin>../external/jaxp-ri-1.4.jar</binary-origin>
2.22 + </class-path-extension>
2.23 <public-packages/>
2.24 </data>
2.25 </configuration>
3.1 --- a/sql.project/src/org/netbeans/modules/sql/project/wsdl/SQLEngineFileGenerator.java Tue Oct 09 11:10:32 2007 +0000
3.2 +++ b/sql.project/src/org/netbeans/modules/sql/project/wsdl/SQLEngineFileGenerator.java Tue Oct 09 13:43:12 2007 +0000
3.3 @@ -108,7 +108,7 @@
3.4 sb.append("dbURL=\"" + dbConn.getDatabaseURL() + "\"" + "\t");
3.5 sb.append("databaseName=\"" + dbConn.getSchema() + "\"" + "\t");
3.6 sb.append("user=\"" + dbConn.getUser() + "\"" + "\t");
3.7 - sb.append("password=\"" + dbConn.getPassword() + "\"" + "\t");
3.8 + sb.append("password=\"" + org.netbeans.modules.sql.project.security.Base64Impl.getInstance().encode(dbConn.getPassword()) + "\"" + "\t");
3.9 sb.append("jndi_name=\"" + jndi_name + "\"" + "\t");
3.10 sb.append("transactionRequired=\"" + transactionRequired + "\"" + "\t");
3.11 sb.append(">\n</connectiondef>");