Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.configuration
Interface MailSessionOverrideMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean

public interface MailSessionOverrideMBean
extends ConfigurationMBean

Defines partition-specific mail session attribute overrides of a mail session referenced by a partition resource group definition.


Field Summary

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Method Summary
abstract  Properties getProperties()
          The configuration options and user authentication data that this mail session uses to interact with a mail server.
abstract  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.
abstract  String getSessionUsername()
          The username to be used to create an authenticated JavaMail Session, using a JavaMail Authenticator instance.
abstract  void setProperties(Properties props)
          Sets the value of the properties attribute.
abstract  void setSessionPassword(String password)
          Sets the password for the JavaMail session; this will in turn call #getSessionPasswordEncrypted() to store the password in an encrypted form.
abstract  void setSessionUsername(String user)
          Sets the user name to be used for an authenticated JavaMail session.

 

Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent

 

Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes

 

Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

Method Detail

getProperties

Properties getProperties()
The configuration options and user authentication data that this mail session uses to interact with a mail server.
Returns:
The properties value

setProperties

void setProperties(Properties props)
                   throws InvalidAttributeValueException
Sets the value of the properties attribute.
Parameters:
props - The new properties value
Throws:
InvalidAttributeValueException
See Also:
MailSessionOverrideMBean.getProperties()

getSessionUsername

String getSessionUsername()
The username to be used to create an authenticated JavaMail Session, using a JavaMail Authenticator instance.
Returns:
The user name for creating an authenticated JavaMail Session

setSessionUsername

void setSessionUsername(String user)
Sets the user name to be used for an authenticated JavaMail session.
Parameters:
user -

getSessionPassword

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.
Returns:
The clear text value of the password if it can be determined

setSessionPassword

void setSessionPassword(String password)
Sets the password for the JavaMail session; this will in turn call #getSessionPasswordEncrypted() to store the password in an encrypted form.
Parameters:
password -

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09