Top Description Fields Constructors Methods
org.eclipse.persistence.internal.sessions.factories.model.login

public abstract Class LoginConfig

extends Object
Class Inheritance
Known Direct Subclasses
org.eclipse.persistence.internal.sessions.factories.model.login.XMLLoginConfig, org.eclipse.persistence.internal.sessions.factories.model.login.DatabaseLoginConfig, org.eclipse.persistence.internal.sessions.factories.model.login.EISLoginConfig
Imports
java.util.Vector, org.eclipse.persistence.internal.security.SecurableObjectHolder, org.eclipse.persistence.internal.sessions.factories.model.property.PropertyConfig, org.eclipse.persistence.internal.sessions.factories.model.sequencing.SequencingConfig

INTERNAL:

Field Summary

Modifier and TypeField and Description
private char[]
private boolean
private boolean
private String
private Vector<PropertyConfig>
private SecurableObjectHolder
private SequencingConfig
private String
private String

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

encryptedPassword
getEncryptedPassword
()

Assume the password has been encrypted and return it.

public String
public boolean
public boolean
public String

Returns:

decryptedPassword
getPassword
()

This method will return the decrypted password.

public String
public Vector<PropertyConfig>
public SequencingConfig
public String
public String
public void
setEncryptedPassword(String encryptedPassword)

This method should never be called from the Mapping Workbench.

public void
setEncryptionClass(String encryptionClass)

public void
setExternalConnectionPooling(boolean externalConnectionPooling)

public void
setExternalTransactionController(boolean externalTransactionController)

public void
setPassword(String password)

This method will always encrypt the password regardless.

public void
setPlatformClass(String platformClass)

public void
public void
public void
setTableQualifier(String tableQualifier)

public void
setUsername(String username)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

m_encryptedPasswordback to summary
private char[] m_encryptedPassword
m_externalConnectionPoolingback to summary
private boolean m_externalConnectionPooling
m_externalTransactionControllerback to summary
private boolean m_externalTransactionController
m_platformClassback to summary
private String m_platformClass
m_propertyConfigsback to summary
private Vector<PropertyConfig> m_propertyConfigs
m_securableObjectHolderback to summary
private SecurableObjectHolder m_securableObjectHolder
m_sequencingConfigback to summary
private SequencingConfig m_sequencingConfig
m_tableQualifierback to summary
private String m_tableQualifier
m_usernameback to summary
private String m_username

Constructor Detail

LoginConfigback to summary
protected LoginConfig()

Method Detail

getEncryptedPasswordback to summary
public String getEncryptedPassword()

Assume the password has been encrypted and return it.

Returns:String

encryptedPassword

getEncryptionClassback to summary
public String getEncryptionClass()
getExternalConnectionPoolingback to summary
public boolean getExternalConnectionPooling()
getExternalTransactionControllerback to summary
public boolean getExternalTransactionController()
getPasswordback to summary
public String getPassword()

This method will return the decrypted password. This method should only be called by the Mapping Workbench.

Returns:String

decryptedPassword

getPlatformClassback to summary
public String getPlatformClass()
getPropertyConfigsback to summary
public Vector<PropertyConfig> getPropertyConfigs()
getSequencingConfigback to summary
public SequencingConfig getSequencingConfig()
getTableQualifierback to summary
public String getTableQualifier()
getUsernameback to summary
public String getUsername()
setEncryptedPasswordback to summary
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.

setEncryptionClassback to summary
public void setEncryptionClass(String encryptionClass)
setExternalConnectionPoolingback to summary
public void setExternalConnectionPooling(boolean externalConnectionPooling)
setExternalTransactionControllerback to summary
public void setExternalTransactionController(boolean externalTransactionController)
setPasswordback to summary
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.

setPlatformClassback to summary
public void setPlatformClass(String platformClass)
setPropertyConfigsback to summary
public void setPropertyConfigs(Vector<PropertyConfig> propertyConfigs)
setSequencingConfigback to summary
public void setSequencingConfig(SequencingConfig sequencingConfig)
setTableQualifierback to summary
public void setTableQualifier(String tableQualifier)
setUsernameback to summary
public void setUsername(String username)