|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 MBean API Reference 11g Release 1 (10.3.1) Part Number E13945-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SNMPProxyMBean
This MBean represents an SNMP agent that is proxied by a WebLogic Server SNMP agent.
This is a type-safe interface for a
WebLogic Server MBean, which you can import into your client
classes and access through
weblogic.management.MBeanHome
. As of 9.0, the
MBeanHome
interface and all type-safe interfaces for
WebLogic Server MBeans are deprecated. Instead, client classes that
interact with WebLogic Server MBeans should use standard JMX design
patterns in which clients use the
javax.management.MBeanServerConnection
interface to
discover MBeans, attributes, and attribute types at runtime. For
more information, see "Developing Manageable Applications with JMX."
Field Summary | |
---|---|
static String |
AUTH_NOPRIV
Constant for authNoPriv security level |
static String |
AUTH_PRIV
Constant for authPriv security level |
static String |
NOAUTH_NOPRIV
Constant for noAuthNoPriv security level |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
String |
getCommunity()
The community name to be passed on for all SNMPv1 requests to this proxied SNMP agent. |
String |
getOidRoot()
The root of the object identifier (OID) tree that this proxied SNMP agent controls. |
int |
getPort()
The port number on which this proxied SNMP agent is listening. |
String |
getSecurityLevel()
The security level that the proxied SNMP agent expects for the specified security name. |
String |
getSecurityName()
The user name on whose behalf the WebLogic SNMP agent forwards v3 requests. |
long |
getTimeout()
The number of milliseconds that the WebLogic Server SNMP agent waits for a response to requests that it forwards to this proxy agent. |
void |
setCommunity(String community)
Sets the value of the Community attribute. |
void |
setOidRoot(String oid)
Sets the value of the OidRoot attribute. |
void |
setPort(int port)
Sets the value of the Port attribute. |
void |
setSecurityLevel(String level)
Sets the security level that the proxied SNMP agent expects for the specified security name. |
void |
setSecurityName(String securityName)
Sets the user name on whose behalf the agent forwards v3 requests. |
void |
setTimeout(long timeout)
Sets the value of the Timeout attribute. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Field Detail |
---|
static final String NOAUTH_NOPRIV
static final String AUTH_NOPRIV
static final String AUTH_PRIV
Method Detail |
---|
int getPort()
The port number on which this proxied SNMP agent is listening.
void setPort(int port) throws InvalidAttributeValueException, ConfigurationException
Sets the value of the Port attribute.
port
- The new port value
InvalidAttributeValueException
ConfigurationException
SNMPProxyMBean.getPort()
String getOidRoot()
The root of the object identifier (OID) tree that this proxied SNMP agent controls.
void setOidRoot(String oid) throws InvalidAttributeValueException, ConfigurationException
Sets the value of the OidRoot attribute.
oid
- The new oidRoot value
InvalidAttributeValueException
ConfigurationException
SNMPProxyMBean.getOidRoot()
String getCommunity()
The community name to be passed on for all SNMPv1 requests to this proxied SNMP agent.
If you specify a security name for this proxied agent, the WebLogic SNMP agent ignores this community name. Instead, the agent encodes the security name in an SNMPv3 request and forwards the SNMPv3 request to this proxied agent.
void setCommunity(String community) throws InvalidAttributeValueException, ConfigurationException
Sets the value of the Community attribute.
community
- The new community value
InvalidAttributeValueException
ConfigurationException
SNMPProxyMBean.getCommunity()
long getTimeout()
The number of milliseconds that the WebLogic Server SNMP agent waits for a response to requests that it forwards to this proxy agent.
If the interval elapses without a response, the WebLogic SNMP agent sends an error to the requesting manager.
void setTimeout(long timeout) throws InvalidAttributeValueException, ConfigurationException
Sets the value of the Timeout attribute.
timeout
- The new timeout value
InvalidAttributeValueException
ConfigurationException
SNMPProxyMBean.getTimeout()
String getSecurityName()
The user name on whose behalf the WebLogic SNMP agent forwards v3 requests. If not specified, the request is forwarded as a v1 request.
If you specify a security name, you must also specify a security level that is equal to or lower than the security level that is configured for communication between the WebLogic SNMP agent and SNMP managers. For example, if the WebLogic SNMP agent requires incoming SNMPv3 requests to use the authentication protocol but no privacy protocol, the security level for this proxy must be either Authentication Only or None. Note that if you want to use the authorization or privacy protocols, you must configure credential mapping in the WebLogic Server security realm.
The WebLogic SNMP agent cannot forward or pass through the credentials that are contained in SNMPv3 requests from SNMP managers. Instead, the agent authenticates and performs other security operations on incoming requests, and then constructs a new request to forward to a proxied agent.
SNMPProxyMBean.getSecurityLevel()
,
SNMPProxyMBean.getCommunity()
void setSecurityName(String securityName)
securityName
- String getSecurityLevel()
void setSecurityLevel(String level)
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, 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 Oracle WebLogic Server 10.3.1 MBean API Reference 11g Release 1 (10.3.1) Part Number E13945-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |