Module org.eclipse.persistence.core
Class LoginConfig
- java.lang.Object
-
- org.eclipse.persistence.internal.sessions.factories.model.login.LoginConfig
-
- Direct Known Subclasses:
DatabaseLoginConfig,EISLoginConfig,XMLLoginConfig
public abstract class LoginConfig extends Object
INTERNAL:
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLoginConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEncryptedPassword()Assume the password has been encrypted and return it.StringgetEncryptionClass()booleangetExternalConnectionPooling()booleangetExternalTransactionController()StringgetPassword()This method will return the decrypted password.StringgetPlatformClass()Vector<PropertyConfig>getPropertyConfigs()SequencingConfiggetSequencingConfig()StringgetTableQualifier()StringgetUsername()voidsetEncryptedPassword(String encryptedPassword)This method should never be called from the Mapping Workbench.voidsetEncryptionClass(String encryptionClass)voidsetExternalConnectionPooling(boolean externalConnectionPooling)voidsetExternalTransactionController(boolean externalTransactionController)voidsetPassword(String password)This method will always encrypt the password regardless.voidsetPlatformClass(String platformClass)voidsetPropertyConfigs(Vector<PropertyConfig> propertyConfigs)voidsetSequencingConfig(SequencingConfig sequencingConfig)voidsetTableQualifier(String tableQualifier)voidsetUsername(String username)
-
-
-
Method Detail
-
setPlatformClass
public void setPlatformClass(String platformClass)
-
getPlatformClass
public String getPlatformClass()
-
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. If it is not we will make sure it 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
-
setTableQualifier
public void setTableQualifier(String tableQualifier)
-
getTableQualifier
public String getTableQualifier()
-
setExternalConnectionPooling
public void setExternalConnectionPooling(boolean externalConnectionPooling)
-
getExternalConnectionPooling
public boolean getExternalConnectionPooling()
-
setExternalTransactionController
public void setExternalTransactionController(boolean externalTransactionController)
-
getExternalTransactionController
public boolean getExternalTransactionController()
-
setSequencingConfig
public void setSequencingConfig(SequencingConfig sequencingConfig)
-
getSequencingConfig
public SequencingConfig getSequencingConfig()
-
setPropertyConfigs
public void setPropertyConfigs(Vector<PropertyConfig> propertyConfigs)
-
getPropertyConfigs
public Vector<PropertyConfig> getPropertyConfigs()
-
-