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 java.lang.Object
INTERNAL:
-
-
Constructor Summary
Constructors Constructor Description LoginConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEncryptedPassword()
Assume the password has been encrypted and return it.java.lang.String
getEncryptionClass()
boolean
getExternalConnectionPooling()
boolean
getExternalTransactionController()
java.lang.String
getPassword()
This method will return the decrypted password.java.lang.String
getPlatformClass()
java.util.Vector
getPropertyConfigs()
SequencingConfig
getSequencingConfig()
java.lang.String
getTableQualifier()
java.lang.String
getUsername()
void
setEncryptedPassword(java.lang.String encryptedPassword)
This method should never be called from the Mapping Workbench.void
setEncryptionClass(java.lang.String encryptionClass)
void
setExternalConnectionPooling(boolean externalConnectionPooling)
void
setExternalTransactionController(boolean externalTransactionController)
void
setPassword(java.lang.String password)
This method will always encrypt the password regardless.void
setPlatformClass(java.lang.String platformClass)
void
setPropertyConfigs(java.util.Vector propertyConfigs)
void
setSequencingConfig(SequencingConfig sequencingConfig)
void
setTableQualifier(java.lang.String tableQualifier)
void
setUsername(java.lang.String username)
-
-
-
Method Detail
-
setPlatformClass
public void setPlatformClass(java.lang.String platformClass)
-
getPlatformClass
public java.lang.String getPlatformClass()
-
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. If it is not we will make sure it 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
-
setTableQualifier
public void setTableQualifier(java.lang.String tableQualifier)
-
getTableQualifier
public java.lang.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(java.util.Vector propertyConfigs)
-
getPropertyConfigs
public java.util.Vector getPropertyConfigs()
-
-