Change encrypted password - Add Password Propert y-to Weblogic Data Source Files
While configuring datasources weblogic defaultly stored the password in encrypted format inside the datasource files.But this will make the developers job difficult in case if he want to change the password property directly through files.
eg:
<properties>
<property>
<name>user</name>
<value>test</value>
</property>
</properties>
<password-encrypted>{3SFG}/kMKUSVmft+uzUsiXxpMNPw==</password-encrypted>
But we have an easy way to accomplish this by adding the property which has a name and value pair like below.
eg:
<properties>
<property>
<name>user</name>
<value>test</value>
</property>
<property>
<name>password</name>
<value>testapp</value>
</property>
</properties>
Now you know how to edit this file to suit your needs.Done !!
See how to Alter a datasource quickly/easy
eg:
<properties>
<property>
<name>user</name>
<value>test</value>
</property>
</properties>
<password-encrypted>{3SFG}/kMKUSVmft+uzUsiXxpMNPw==</password-encrypted>
But we have an easy way to accomplish this by adding the property which has a name and value pair like below.
eg:
<properties>
<property>
<name>user</name>
<value>test</value>
</property>
<property>
<name>password</name>
<value>testapp</value>
</property>
</properties>
Now you know how to edit this file to suit your needs.Done !!
See how to Alter a datasource quickly/easy
Comments
Post a Comment