Skip Headers

# Using Java

Previous

Next

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`.