|
Oracle TopLink Developer's Guide
10g Release 3 (10.1.3) B13593-01 |
|
![]() Previous |
![]() Next |
By default, passwords are written to and read from the sessions.xml file in encrypted form using JCE encryption.
Currently, TopLink Workbench does not support specifying the encryption class used. To change the encryption class used, you must modify the login in Java using a preLogin event listener.
To specify the encryption class that TopLink should use to write a password to or read a password from the sessions.xml file, use DatasourceLogin method setEncryptionClassName, passing in the name of the encryption class as a String.
To configure a DatasourceLogin with an encrypted password, use DatasourceLogin method setEncryptedPassword, passing in the encrypted password as a String.