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

Part Number E41849-02

weblogic.management.configuration
Interface DataSourceMBean

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

public interface DataSourceMBean
extends DeploymentMBean

This bean represents a DataSource within a Weblogic Server instance.

Access limited to the following security roles:
Deployer

Field Summary
static String RMIJDBC_COMPATIBILITY
          Use an unsecure channel with the application's subject and no check for inbound administrator authentication when using RMI to access a data source.
static String RMIJDBC_SECURE
          All incoming JDBC calls require administrator authentication.
 
Fields inherited from interface weblogic.management.configuration.DeploymentMBean
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 DataSourceLogFileMBean getDataSourceLogFile()
          The log settings for a DataSource.
 String getRmiJDBCSecurity()
          The security protocol used by an RMI client to access a data source.
 void setRmiJDBCSecurity(String flag)
          Set security for RMI JDBC protocol
 
Methods inherited from interface weblogic.management.configuration.DeploymentMBean
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets
 
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
 

Field Detail

RMIJDBC_SECURE

static final String RMIJDBC_SECURE
All incoming JDBC calls require administrator authentication. All other subjects, including anonymous, are rejected. Requires a configured Admin channel.

See Also:
Constant Field Values

RMIJDBC_COMPATIBILITY

static final String RMIJDBC_COMPATIBILITY
Use an unsecure channel with the application's subject and no check for inbound administrator authentication when using RMI to access a data source. This setting reflects the legacy implementation behavior for RMI access to a data source and is a potential security vulnerability as it provides a client uncontrolled access to a database.

See Also:
Constant Field Values
Method Detail

getDataSourceLogFile

DataSourceLogFileMBean getDataSourceLogFile()
The log settings for a DataSource.

Returns:
log

getRmiJDBCSecurity

String getRmiJDBCSecurity()
The security protocol used by an RMI client to access a data source. Values are:

Default Value:
"Compatibility"

setRmiJDBCSecurity

void setRmiJDBCSecurity(String flag)
Set security for RMI JDBC protocol


Copyright 1996, 2014, 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.1.3)

Part Number E41849-02