Module org.eclipse.persistence.core
Class JNDINamingServiceConfig
- java.lang.Object
-
- org.eclipse.persistence.internal.sessions.factories.model.transport.naming.JNDINamingServiceConfig
-
public class JNDINamingServiceConfig extends Object
INTERNAL:
-
-
Constructor Summary
Constructors Constructor Description JNDINamingServiceConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEncryptedPassword()Assume the password has been encrypted and return it.StringgetEncryptionClass()StringgetInitialContextFactoryName()StringgetPassword()This method will return the decrypted password.Vector<PropertyConfig>getPropertyConfigs()StringgetURL()StringgetUsername()voidsetEncryptedPassword(String encryptedPassword)This method should never be called from the Mapping Workbench.voidsetEncryptionClass(String encryptionClass)voidsetInitialContextFactoryName(String initialContextFactoryName)voidsetPassword(String password)This method will always encrypt the password regardless.voidsetPropertyConfigs(Vector<PropertyConfig> propertyConfigs)voidsetURL(String url)voidsetUsername(String username)
-
-
-
Method Detail
-
setURL
public void setURL(String url)
-
getURL
public String getURL()
-
setUsername
public void setUsername(String username)
-
getUsername
public String getUsername()
-
setEncryptionClass
public void setEncryptionClass(String encryptionClass)
-
getEncryptionClass
public String getEncryptionClass()
-
setPassword
public void setPassword(String password)
This method will always encrypt the password regardless. Should only ever be called from the Mapping Workbench. It can be called before setting an encryption class, therefore, the securable object initialization remains in the constructor with default to JCE and changes only if an encryption class is set.
-
setEncryptedPassword
public void setEncryptedPassword(String encryptedPassword)
This method should never be called from the Mapping Workbench. Instead it is called only at load time of a schema formatted sessions.xml file. It assumes the password is encrypted.
-
getPassword
public String getPassword()
This method will return the decrypted password. This method should only be called by the Mapping Workbench.- Returns:
- decryptedPassword
-
getEncryptedPassword
public String getEncryptedPassword()
Assume the password has been encrypted and return it.- Returns:
- encryptedPassword
-
setInitialContextFactoryName
public void setInitialContextFactoryName(String initialContextFactoryName)
-
getInitialContextFactoryName
public String getInitialContextFactoryName()
-
setPropertyConfigs
public void setPropertyConfigs(Vector<PropertyConfig> propertyConfigs)
-
getPropertyConfigs
public Vector<PropertyConfig> getPropertyConfigs()
-
-