Class JNDINamingServiceConfig
- java.lang.Object
-
- org.eclipse.persistence.internal.sessions.factories.model.transport.naming.JNDINamingServiceConfig
-
public class JNDINamingServiceConfig extends java.lang.ObjectINTERNAL:
-
-
Constructor Summary
Constructors Constructor Description JNDINamingServiceConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetEncryptedPassword()Assume the password has been encrypted and return it.java.lang.StringgetEncryptionClass()java.lang.StringgetInitialContextFactoryName()java.lang.StringgetPassword()This method will return the decrypted password.java.util.VectorgetPropertyConfigs()java.lang.StringgetURL()java.lang.StringgetUsername()voidsetEncryptedPassword(java.lang.String encryptedPassword)This method should never be called from the Mapping Workbench.voidsetEncryptionClass(java.lang.String encryptionClass)voidsetInitialContextFactoryName(java.lang.String initialContextFactoryName)voidsetPassword(java.lang.String password)This method will always encrypt the password regardless.voidsetPropertyConfigs(java.util.Vector propertyConfigs)voidsetURL(java.lang.String url)voidsetUsername(java.lang.String username)
-
-
-
Method Detail
-
setURL
public void setURL(java.lang.String url)
-
getURL
public java.lang.String getURL()
-
setUsername
public void setUsername(java.lang.String username)
-
getUsername
public java.lang.String getUsername()
-
setEncryptionClass
public void setEncryptionClass(java.lang.String encryptionClass)
-
getEncryptionClass
public java.lang.String getEncryptionClass()
-
setPassword
public void setPassword(java.lang.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.- Parameters:
password-
-
setEncryptedPassword
public void setEncryptedPassword(java.lang.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.- Parameters:
encryptedPassword-
-
getPassword
public java.lang.String getPassword()
This method will return the decrypted password. This method should only be called by the Mapping Workbench.- Returns:
- decryptedPassword
-
getEncryptedPassword
public java.lang.String getEncryptedPassword()
Assume the password has been encrypted and return it.- Returns:
- encryptedPassword
-
setInitialContextFactoryName
public void setInitialContextFactoryName(java.lang.String initialContextFactoryName)
-
getInitialContextFactoryName
public java.lang.String getInitialContextFactoryName()
-
setPropertyConfigs
public void setPropertyConfigs(java.util.Vector propertyConfigs)
-
getPropertyConfigs
public java.util.Vector getPropertyConfigs()
-
-