ConfigurationMBean
, DescriptorBean
, javax.management.DynamicMBean
, javax.management.MBeanRegistration
, javax.management.NotificationBroadcaster
, SettableBean
, WebLogicMBean
public interface MailSessionOverrideMBean extends ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
Modifier and Type | Method | Description |
---|---|---|
java.util.Properties |
getProperties() |
The configuration options and user authentication data that this mail session
uses to interact with a mail server.
|
java.lang.String |
getSessionPassword() |
The decrypted JavaMail Session password attribute, for use only temporarily in-memory;
the value returned by this attribute should not be held in memory long term.
|
byte[] |
getSessionPasswordEncrypted() |
The encrypted JavaMail Session password attribute, for use only temporarily in-memory;
the value returned by this attribute should not be held in memory long term.
|
java.lang.String |
getSessionUsername() |
The username to be used to create an authenticated JavaMail
Session, using a JavaMail
Authenticator instance. |
void |
setProperties(java.util.Properties props) |
Sets the value of the properties attribute.
|
void |
setSessionPassword(java.lang.String password) |
Sets the password for the JavaMail session; this will
in turn call
getSessionPasswordEncrypted()
to store the password in an encrypted form. |
void |
setSessionPasswordEncrypted(byte[] password) |
Sets the password for the JavaMail session; this will
in turn call
getSessionPasswordEncrypted()
to store the password in an encrypted form. |
void |
setSessionUsername(java.lang.String user) |
Sets the user name to be used for an authenticated JavaMail session.
|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
java.util.Properties getProperties()
void setProperties(java.util.Properties props) throws javax.management.InvalidAttributeValueException
props
- The new properties valuejavax.management.InvalidAttributeValueException
getProperties()
java.lang.String getSessionUsername()
Authenticator
instance.void setSessionUsername(java.lang.String user)
user
- java.lang.String getSessionPassword()
void setSessionPassword(java.lang.String password)
getSessionPasswordEncrypted()
to store the password in an encrypted form.password
- byte[] getSessionPasswordEncrypted()
void setSessionPasswordEncrypted(byte[] password)
getSessionPasswordEncrypted()
to store the password in an encrypted form.password
-