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
INTERNAL:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAssume the password has been encrypted and return it.boolean
boolean
This method will return the decrypted password.void
setEncryptedPassword
(String encryptedPassword) This method should never be called from the Mapping Workbench.void
setEncryptionClass
(String encryptionClass) void
setExternalConnectionPooling
(boolean externalConnectionPooling) void
setExternalTransactionController
(boolean externalTransactionController) void
setPassword
(String password) This method will always encrypt the password regardless.void
setPlatformClass
(String platformClass) void
setPropertyConfigs
(Vector<PropertyConfig> propertyConfigs) void
setSequencingConfig
(SequencingConfig sequencingConfig) void
setTableQualifier
(String tableQualifier) void
setUsername
(String username)
-
Constructor Details
-
LoginConfig
protected LoginConfig()
-
-
Method Details
-
setPlatformClass
-
getPlatformClass
-
setUsername
-
getUsername
-
setEncryptionClass
-
getEncryptionClass
-
setPassword
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
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
This method will return the decrypted password. This method should only be called by the Mapping Workbench.- Returns:
- decryptedPassword
-
getEncryptedPassword
Assume the password has been encrypted and return it.- Returns:
- encryptedPassword
-
setTableQualifier
-
getTableQualifier
-
setExternalConnectionPooling
public void setExternalConnectionPooling(boolean externalConnectionPooling) -
getExternalConnectionPooling
public boolean getExternalConnectionPooling() -
setExternalTransactionController
public void setExternalTransactionController(boolean externalTransactionController) -
getExternalTransactionController
public boolean getExternalTransactionController() -
setSequencingConfig
-
getSequencingConfig
-
setPropertyConfigs
-
getPropertyConfigs
-