|
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 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NetworkAccessPointMBean
A server can specify additional network connections by using a NetworkAccessPointMBean. The NetworkAccessPointMBean is also used to set the listen address and external DNS name that a server uses for a particular channel.
ServerTemplateMBean
, ServerTemplateMBean.getNetworkAccessPoints()
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
abstract int |
getAcceptBacklog() The number of backlogged, new TCP connection requests that this network channel allows. |
abstract int |
getChannelWeight() A weight to give this channel when creating server-to-server connections. |
abstract String[] |
getCiphersuites() Indicates the cipher suites being used on a particular WebLogic Server channel. |
abstract String |
getClusterAddress() The address this network channel uses to generate EJB handles and failover addresses for use in a cluster. |
abstract int |
getCompleteMessageTimeout() The maximum amount of time this network channel waits for a complete message to be received. |
abstract int |
getConnectTimeout() The amount of time that this network channel should wait to establish an outbound socket connection before timing out. |
abstract String |
getCustomIdentityKeyStoreFileName() The source of the identity keystore. |
abstract String |
getCustomIdentityKeyStorePassPhrase() The encrypted custom identity keystore's passphrase. |
abstract byte[] |
getCustomIdentityKeyStorePassPhraseEncrypted() Returns encrypted pass phrase defined when creating the keystore. |
abstract String |
getCustomIdentityKeyStoreType() The type of the keystore. |
abstract String |
getCustomPrivateKeyAlias() The string alias used to store and retrieve the channel's private key in the keystore. |
abstract String |
getCustomPrivateKeyPassPhrase() The passphrase used to retrieve the server's private key from the keystore. |
abstract byte[] |
getCustomPrivateKeyPassPhraseEncrypted() The encrypted form of passphrase used to retrieve the server's private key from the keystore. |
abstract String |
getHostnameVerifier() The name of the class that implements the weblogic.security.SSL.HostnameVerifier interface. |
abstract int |
getIdleConnectionTimeout() The maximum amount of time (in seconds) that a connection is allowed to be idle before it is closed by this network channel. |
abstract String |
getInboundCertificateValidation() Indicates the client certificate validation rules for inbound SSL. |
abstract String |
getListenAddress() The IP address or DNS name this network channel uses to listen for incoming connections. |
abstract int |
getListenPort() The default TCP port this network channel uses to listen for regular (non-SSL) incoming connections. |
abstract int |
getLoginTimeoutMillis() The amount of time that this network channel should wait for a connection before timing out. |
abstract int |
getMaxBackoffBetweenFailures() The maximum back off time between failures while accepting client connections. |
abstract int |
getMaxConnectedClients() The maximum number of clients that can be connected on this network channel. |
abstract int |
getMaxMessageSize() The maximum message size allowable in a message header. |
abstract String |
getMinimumTLSProtocolVersion() Get the minimum SSL/TLS protocol version to be used in a network channel. |
abstract String |
getName() The name of this network channel. |
abstract String |
getOutboundCertificateValidation() Indicates the server certificate validation rules for outbound SSL. |
abstract String |
getOutboundPrivateKeyAlias() The string alias used to store and retrieve the outbound private key in the keystore. |
abstract String |
getOutboundPrivateKeyPassPhrase() The passphrase used to retrieve the outbound private key from the keystore. |
abstract String |
getPrivateKeyAlias() The string alias used to store and retrieve the channel's private key in the keystore. |
abstract String |
getPrivateKeyPassPhrase() The passphrase used to retrieve the server's private key from the keystore. |
abstract String |
getProtocol() The protocol this network channel should use for connections. |
abstract String |
getProxyAddress() The IP address or DNS name of the HTTP proxy to use for outbound connections on this channel. |
abstract int |
getProxyPort() The port of the HTTP proxy to use for outbound connections on this channel. |
abstract String |
getPublicAddress() The IP address or DNS name representing the external identity of this network channel. |
abstract int |
getPublicPort() The externally published listen port for this network channel. |
abstract boolean |
getResolveDNSName() Resolve the listen address to use for all T3 communication |
abstract boolean |
getTimeoutConnectionWithPendingResponses() Determines if connections with pending responses are allowed to timeout. |
abstract int |
getTunnelingClientPingSecs() The interval (in seconds) at which this network channel should ping an HTTP-tunneled client to see if its still alive. |
abstract int |
getTunnelingClientTimeoutSecs() The amount of time (in seconds) after which this network channel considers a missing HTTP-tunneled client to be dead. |
abstract boolean |
getUseFastSerialization() Specifies whether to use non-standard object serialization for performance. |
abstract boolean |
isAllowUnencryptedNullCipher() Test if the AllowUnEncryptedNullCipher is enabled |
abstract boolean |
isChannelIdentityCustomized() Whether or not the channel's custom identity should be used. |
abstract boolean |
isClientCertificateEnforced() Specifies whether clients must present digital certificates from a trusted certificate authority to WebLogic Server on this channel. |
abstract boolean |
isEnabled() Specifies whether this channel should be started. |
abstract boolean |
isHostnameVerificationIgnored() Specifies whether to ignore the installed implementation of the weblogic.security.SSL.HostnameVerifier interface (when this server is acting as a client to another application server). |
abstract boolean |
isHttpEnabledForThisProtocol() Specifies whether HTTP traffic should be allowed over this network channel. |
abstract boolean |
isOutboundEnabled() Specifies whether new server-to-server connections may consider this network channel when initiating a connection. |
abstract boolean |
isOutboundPrivateKeyEnabled() Specifies whether the identity specified by NetworkAccessPointMBean.getCustomPrivateKeyAlias() should be used for outbound SSL connections on this channel. |
abstract boolean |
isSDPEnabled() Enables Socket Direct Protocol (SDP) on this channel. |
abstract boolean |
isSSLv2HelloEnabled() Indicate whether SSLv2Hello is enabled in a network channel. |
abstract boolean |
isTunnelingEnabled() Specifies whether tunneling via HTTP should be enabled for this network channel. |
abstract boolean |
isTwoWaySSLEnabled() Specifies whether this network channel uses two way SSL. |
abstract void |
setAcceptBacklog(int count) Sets the value of the AcceptBacklog attribute. |
abstract void |
setAllowUnencryptedNullCipher(boolean enable) When a SSL server and a SSL client try to negotiate a commonly supported Cipher, there is a chance that they may end up with nothing in common. |
abstract void |
setChannelIdentityCustomized(boolean val) Sets the value of the ChannelIdentityCustomized attribute. |
abstract void |
setChannelWeight(int weight) Sets the value of the ChannelWeight attribute. |
abstract void |
setCiphersuites(String[] ciphers) Sets the value of the Ciphersuites attribute. |
abstract void |
setClientCertificateEnforced(boolean enforce) Sets the value of the ClientCertificateEnabled attribute. |
abstract void |
setClusterAddress(String address) Sets the value of the ClusterAddress attribute. |
abstract void |
setCompleteCOMMessageTimeout(int seconds) Sets the value of the CompleteCOMMessageTimeout attribute. |
abstract void |
setCompleteHTTPMessageTimeout(int seconds) Sets the value of the CompleteHTTPMessageTimeout attribute. |
abstract void |
setCompleteIIOPMessageTimeout(int seconds) Sets the value of the CompleteIIOPMessageTimeout attribute. |
abstract void |
setCompleteMessageTimeout(int seconds) Sets the value of the CompleteMessageTimeout attribute. |
abstract void |
setCompleteT3MessageTimeout(int seconds) Sets the value of the CompleteT3MessageTimeout attribute. |
abstract void |
setConnectTimeout(int timeout) Sets the value of the ConnectTimeout attribute. |
abstract void |
setCustomIdentityKeyStoreFileName(String fileName) Sets the value of the CustomIdentityKeyStoreFileName attribute. |
abstract void |
setCustomIdentityKeyStorePassPhrase(String passPhrase) Sets the value of the CustomIdentityKeyStorePassPhrase attribute. |
abstract void |
setCustomIdentityKeyStorePassPhraseEncrypted(byte[] passPhraseEncrypted) Sets the encrypted value of the CustomIdentityKeyStorePassPhrase attribute. |
abstract void |
setCustomIdentityKeyStoreType(String type) Sets the value of the CustomIdentityKeyStoreType attribute. |
abstract void |
setCustomPrivateKeyAlias(String alias) Sets the value of the PrivateKeyAlias attribute. |
abstract void |
setCustomPrivateKeyPassPhrase(String phrase) Sets the value of the PrivateKeyPassPhrase attribute. |
abstract void |
setCustomPrivateKeyPassPhraseEncrypted(byte[] passwordEncrypted) Sets the encrypted value of the PrivateKeyPassPhrase attribute. |
abstract void |
setEnabled(boolean enabled) Sets the value of the Enabled attribute. |
abstract void |
setExternalDNSName(String externalDNSName) Sets the value of the ExternalDNSName attribute. |
abstract void |
setHostnameVerificationIgnored(boolean ignoreFlag) Sets the value of the HostnameVerificationIgnored attribute. |
abstract void |
setHostnameVerifier(String classname) Sets the value of the HostnameVerifier attribute. |
abstract void |
setHttpEnabledForThisProtocol(boolean enabled) Sets the value of the HttpEnabledForThisProtocol attribute. |
abstract void |
setIdleConnectionTimeout(int seconds) Sets the value of the IdleConnectionTimeout attribute. |
abstract void |
setIdleIIOPConnectionTimeout(int seconds) Sets the value of the IdleIIOPConnectionTimeout attribute. |
abstract void |
setInboundCertificateValidation(String validationStyle) Sets the value of the InboundCertificateValidation attribute. |
abstract void |
setListenAddress(String address) Sets the value of the ListenAddress attribute. |
abstract void |
setListenPort(int port) Sets the value of the ListenPort attribute. |
abstract void |
setLoginTimeoutMillis(int timeout) Sets the value of the LoginTimeoutMillis attribute. |
abstract void |
setLoginTimeoutMillisSSL(int millis) Sets the value of the LoginTimeoutMillisSSL attribute. |
abstract void |
setMaxBackoffBetweenFailures(int milliSeconds) Sets the value of the MaxBackoffBetweenFailures attribute. |
abstract void |
setMaxConnectedClients(int count) Sets the value of the MaxConnectedClients attribute. |
abstract void |
setMaxMessageSize(int maxsize) Sets the value of the MaxMessageSize attribute. |
abstract void |
setMinimumTLSProtocolVersion(String minimumTLSProtocolVersion) Set the minimum SSL/TLS protocol version |
abstract void |
setName(String name) Sets the value of the Name attribute. |
abstract void |
setOutboundCertificateValidation(String validationStyle) Sets the value of the OutboundCertificateValidation attribute. |
abstract void |
setOutboundEnabled(boolean enabled) Sets the value of the OutboundEnabled attribute. |
abstract void |
setOutboundPrivateKeyEnabled(boolean enabled) Sets the value of the OutboundPrivateKeyEnabled attribute. |
abstract void |
setProtocol(String protocol) Sets the value of the Protocol attribute. |
abstract void |
setProxyAddress(String address) Sets the value of the ProxyAddress attribute. |
abstract void |
setProxyPort(int port) Sets the value of the ProxyPort attribute. |
abstract void |
setPublicAddress(String address) Sets the value of the PublicAddress attribute. |
abstract void |
setPublicPort(int port) Sets the value of the PublicPort attribute. |
abstract void |
setResolveDNSName(boolean flag) Sets the value of the ResolveDNSName attribute. |
abstract void |
setSDPEnabled(boolean enable) Set whether the channel should be using SDP protocol. |
abstract void |
setSSLListenPort(int port) Sets the value of the SLListenPort attribute. |
abstract void |
setTimeoutConnectionWithPendingResponses(boolean timeout) Sets the value of the TimeoutConnectionWithPendingResponses attribute. |
abstract void |
setTunnelingClientPingSecs(int secs) Sets the value of the TunnelingClientPingSecs attribute. |
abstract void |
setTunnelingClientTimeoutSecs(int secs) Sets the value of the TunnelingClientTimeoutSecs attribute. |
abstract void |
setTunnelingEnabled(boolean enabled) Sets the value of the TunnelingEnabled attribute. |
abstract void |
setTwoWaySSLEnabled(boolean enabled) Sets the value of the TwoWaySSLEnabled attribute. |
abstract void |
setUseFastSerialization(boolean enabled) Sets the value of the UseFastSerialization attribute. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, 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 |
---|
String getName()
The name of this network channel.
getName
in interface ConfigurationMBean
getName
in interface WebLogicMBean
void setName(String name) throws InvalidAttributeValueException
Sets the value of the Name attribute.
setName
in interface ConfigurationMBean
setName
in interface WebLogicMBean
name
- The new name valueInvalidAttributeValueException
NetworkAccessPointMBean.getName()
String getProtocol()
The protocol this network channel should use for connections.
void setProtocol(String protocol) throws InvalidAttributeValueException
Sets the value of the Protocol attribute.
protocol
- The new protocol valueInvalidAttributeValueException
NetworkAccessPointMBean.getProtocol()
String getListenAddress()
The IP address or DNS name this network channel uses to listen for incoming connections. A value of null
indicates that the network channel should obtain this value from the server's configuration.
ServerTemplateMBean.getListenAddress()
void setListenAddress(String address) throws InvalidAttributeValueException
Sets the value of the ListenAddress attribute.
address
- The new listenAddress valueInvalidAttributeValueException
NetworkAccessPointMBean.getListenAddress()
String getPublicAddress()
The IP address or DNS name representing the external identity of this network channel. A value of null
indicates that the network channel's Listen Address is also its external address. If the Listen Address is null,
the network channel obtains its external identity from the server's configuration.
This is required for the configurations which need to cross a firewall doing Network Address Translation.
NetworkAccessPointMBean.getExternalDNSName()
, NetworkAccessPointMBean.getListenAddress()
, ServerTemplateMBean.getListenAddress()
void setPublicAddress(String address) throws InvalidAttributeValueException
Sets the value of the PublicAddress attribute.
address
- The new publicAddress valueInvalidAttributeValueException
NetworkAccessPointMBean.getPublicAddress()
int getListenPort()
The default TCP port this network channel uses to listen for regular (non-SSL) incoming connections. A value of -1
indicates that the network channel should obtain this value from the server's configuration.
ServerTemplateMBean.getListenPort()
void setListenPort(int port) throws InvalidAttributeValueException
Sets the value of the ListenPort attribute.
port
- The new listenPort valueInvalidAttributeValueException
NetworkAccessPointMBean.getListenPort()
int getPublicPort()
The externally published listen port for this network channel. A value of -1
indicates that the network channel's Listen Port is also its public listen port. If the Listen Port is -1,
the network channel obtains its public listen port from the server's configuration.
NetworkAccessPointMBean.getListenPort()
, ServerTemplateMBean.getListenPort()
void setPublicPort(int port) throws InvalidAttributeValueException
Sets the value of the PublicPort attribute.
port
- The new publicPort valueInvalidAttributeValueException
NetworkAccessPointMBean.getPublicPort()
boolean getResolveDNSName()
Resolve the listen address to use for all T3 communication
NetworkAccessPointMBean.getListenAddress()
, NetworkAccessPointMBean.getPublicAddress()
void setResolveDNSName(boolean flag)
Sets the value of the ResolveDNSName attribute.
flag
- The new resolveDNSName valueNetworkAccessPointMBean.getResolveDNSName()
String getProxyAddress()
The IP address or DNS name of the HTTP proxy to use for outbound connections on this channel. The HTTP proxy must support the CONNECT tunneling command.
This option is only effective when OutboundEnabled is set on the channel.
void setProxyAddress(String address) throws InvalidAttributeValueException
Sets the value of the ProxyAddress attribute.
address
- The new proxyAddress valueInvalidAttributeValueException
NetworkAccessPointMBean.getProxyAddress()
int getProxyPort()
The port of the HTTP proxy to use for outbound connections on this channel. The HTTP proxy must support the CONNECT tunneling command.
This option is only effective when OutboundEnabled and ProxyHost are set on the channel.
void setProxyPort(int port) throws InvalidAttributeValueException
Sets the value of the ProxyPort attribute.
port
- The new proxyPort valueInvalidAttributeValueException
NetworkAccessPointMBean.getProxyPort()
boolean isHttpEnabledForThisProtocol()
Specifies whether HTTP traffic should be allowed over this network channel.
HTTP is generally required by binary protocols for downloading stubs and other resources.
void setHttpEnabledForThisProtocol(boolean enabled) throws InvalidAttributeValueException
Sets the value of the HttpEnabledForThisProtocol attribute.
enabled
- The new httpEnabledForThisProtocol valueInvalidAttributeValueException
NetworkAccessPointMBean.isHttpEnabledForThisProtocol()
int getAcceptBacklog()
The number of backlogged, new TCP connection requests that this network channel allows. A value of -1
indicates that the network channel obtains its backlog configuration from the server's configuration.
ServerTemplateMBean.getAcceptBacklog()
void setAcceptBacklog(int count) throws InvalidAttributeValueException
Sets the value of the AcceptBacklog attribute.
count
- The new acceptBacklog valueInvalidAttributeValueException
NetworkAccessPointMBean.getAcceptBacklog()
int getMaxBackoffBetweenFailures()
The maximum back off time between failures while accepting client connections. -1 implies that this value is inherited from the server.
void setMaxBackoffBetweenFailures(int milliSeconds) throws InvalidAttributeValueException
Sets the value of the MaxBackoffBetweenFailures attribute.
InvalidAttributeValueException
NetworkAccessPointMBean.getMaxBackoffBetweenFailures()
int getLoginTimeoutMillis()
The amount of time that this network channel should wait for a connection before timing out. A value of 0
disables network channel login timeout. A value of -1
indicates that the network channel obtains this timeout value from the server's configuration.
ServerTemplateMBean.getLoginTimeoutMillis()
void setLoginTimeoutMillis(int timeout) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the LoginTimeoutMillis attribute.
timeout
- The new loginTimeoutMillis valueInvalidAttributeValueException
DistributedManagementException
int getTunnelingClientPingSecs()
The interval (in seconds) at which this network channel should ping an HTTP-tunneled client to see if its still alive. A value of -1
indicates that the network channel obtains this interval from the ServerTemplateMBean. (Requires you to enable tunneling for the network channel.)
ServerTemplateMBean.getTunnelingClientPingSecs()
, NetworkAccessPointMBean.isTunnelingEnabled()
void setTunnelingClientPingSecs(int secs) throws InvalidAttributeValueException
Sets the value of the TunnelingClientPingSecs attribute.
secs
- The new tunnelingClientPingSecs valueInvalidAttributeValueException
NetworkAccessPointMBean.getTunnelingClientPingSecs()
int getTunnelingClientTimeoutSecs()
The amount of time (in seconds) after which this network channel considers a missing HTTP-tunneled client to be dead. A value of -1
indicates that the network channel obtains this timeout value from the ServerTemplateMBean. (Requires you to enable tunneling for the network channel.)
ServerTemplateMBean.getTunnelingClientTimeoutSecs()
, NetworkAccessPointMBean.isTunnelingEnabled()
void setTunnelingClientTimeoutSecs(int secs) throws InvalidAttributeValueException
Sets the value of the TunnelingClientTimeoutSecs attribute.
secs
- The new tunnelingClientTimeoutSecs valueInvalidAttributeValueException
NetworkAccessPointMBean.getTunnelingClientTimeoutSecs()
boolean isTunnelingEnabled()
Specifies whether tunneling via HTTP should be enabled for this network channel. This value is not inherited from the server's configuration.
void setTunnelingEnabled(boolean enabled) throws InvalidAttributeValueException
Sets the value of the TunnelingEnabled attribute.
enabled
- The new tunnelingEnabled valueInvalidAttributeValueException
NetworkAccessPointMBean.isTunnelingEnabled()
int getCompleteMessageTimeout()
The maximum amount of time this network channel waits for a complete message to be received. A value of 0
disables network channel complete message timeout. A value of -1
indicates that the network channel obtains this timeout value from the ServerTemplateMBean.
This timeout helps guard against denial of service attacks in which a caller indicates that they will be sending a message of a certain size which they never finish sending.
void setCompleteMessageTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the CompleteMessageTimeout attribute.
seconds
- The new completeMessageTimeout valueInvalidAttributeValueException
DistributedManagementException
NetworkAccessPointMBean.getCompleteMessageTimeout()
boolean getTimeoutConnectionWithPendingResponses()
Determines if connections with pending responses are allowed to timeout. It defaults to false. If set to true, the connection will be timed out for this channel if it exceeds the idleConnectionTimeout value.
Note: This setting only applies to IIOP connections.
void setTimeoutConnectionWithPendingResponses(boolean timeout) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the TimeoutConnectionWithPendingResponses attribute.
timeout
- Whether or not to timeout connections with pending responsesInvalidAttributeValueException
DistributedManagementException
NetworkAccessPointMBean.getTimeoutConnectionWithPendingResponses()
int getIdleConnectionTimeout()
The maximum amount of time (in seconds) that a connection is allowed to be idle before it is closed by this network channel. A value of -1
indicates that the network channel obtains this timeout value from the ServerTemplateMBean.
This timeout helps guard against server deadlock through too many open connections.
void setIdleConnectionTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the IdleConnectionTimeout attribute.
seconds
- The new idleConnectionTimeout valueInvalidAttributeValueException
DistributedManagementException
NetworkAccessPointMBean.getIdleConnectionTimeout()
int getConnectTimeout()
The amount of time that this network channel should wait to establish an outbound socket connection before timing out. A value of 0
disables network channel connect timeout.
void setConnectTimeout(int timeout) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the ConnectTimeout attribute.
timeout
- The new connectTimeout valueInvalidAttributeValueException
DistributedManagementException
int getMaxMessageSize()
The maximum message size allowable in a message header.
This maximum attempts to prevent a denial of service attack whereby a caller attempts to force the server to allocate more memory than is available thereby keeping the server from responding quickly to other requests.
A client can set this value using the -Dweblogic.MaxMessageSize
property.
void setMaxMessageSize(int maxsize) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the MaxMessageSize attribute.
maxsize
- The new maxMessageSize valueInvalidAttributeValueException
DistributedManagementException
NetworkAccessPointMBean.getMaxMessageSize()
boolean isOutboundEnabled()
Specifies whether new server-to-server connections may consider this network channel when initiating a connection. This is only relevant if the connection needs to be bound to the network channel's listen address. This will only work for binary protocols that support both outbound and inbound traffic.
When this feature is not enabled, connections are initiated using a local address selected by the underlying hardware.
The default is false.
Outbound channels are selected at runtime either by virtue of the fact of being the only outbound-enabled channel for the required protocol, or by name in weblogic.jndi.Environment#setProviderChannel
.
The HTTP protocol is implicitly enabled for all the outbound channels, but you need to use the WLS client library (HTTP client) and set the channel on the connection.
HttpURLConnection.setSocketFactory(javax.net.SocketFactory)
void setOutboundEnabled(boolean enabled) throws InvalidAttributeValueException
Sets the value of the OutboundEnabled attribute.
enabled
- The new outboundEnabled valueInvalidAttributeValueException
NetworkAccessPointMBean.isOutboundEnabled()
int getChannelWeight()
A weight to give this channel when creating server-to-server connections.
void setChannelWeight(int weight) throws InvalidAttributeValueException
Sets the value of the ChannelWeight attribute.
weight
- The new channelWeight valueInvalidAttributeValueException
NetworkAccessPointMBean.getChannelWeight()
String getClusterAddress()
The address this network channel uses to generate EJB handles and failover addresses for use in a cluster. This value is determined according to the following order of precedence:
NetworkAccessPointMBean.getPublicAddress()
, ClusterMBean.getClusterAddress()
void setClusterAddress(String address) throws InvalidAttributeValueException
Sets the value of the ClusterAddress attribute.
address
- The new clusterAddress valueInvalidAttributeValueException
NetworkAccessPointMBean.getClusterAddress()
boolean isEnabled()
Specifies whether this channel should be started.
void setEnabled(boolean enabled) throws InvalidAttributeValueException
Sets the value of the Enabled attribute.
enabled
- The new enabled valueInvalidAttributeValueException
NetworkAccessPointMBean.isEnabled()
int getMaxConnectedClients()
The maximum number of clients that can be connected on this network channel.
void setMaxConnectedClients(int count) throws InvalidAttributeValueException
Sets the value of the MaxConnectedClients attribute.
count
- The new count valueInvalidAttributeValueException
NetworkAccessPointMBean.getMaxConnectedClients()
boolean isTwoWaySSLEnabled()
Specifies whether this network channel uses two way SSL.
void setTwoWaySSLEnabled(boolean enabled)
Sets the value of the TwoWaySSLEnabled attribute.
enabled
- The new twoWaySSLEnabled valueNetworkAccessPointMBean.isTwoWaySSLEnabled()
boolean isChannelIdentityCustomized()
Whether or not the channel's custom identity should be used. This setting only has an effect if the server is using a customized keystore. By default the channel's identity is inherited from the server's identity.
SSLMBean.getServerPrivateKeyAlias()
, NetworkAccessPointMBean.getCustomPrivateKeyAlias()
void setChannelIdentityCustomized(boolean val)
Sets the value of the ChannelIdentityCustomized attribute.
val
- The new ChannelIdentityCustomzied valueNetworkAccessPointMBean.isChannelIdentityCustomized()
String getCustomPrivateKeyAlias()
The string alias used to store and retrieve the channel's private key in the keystore. This private key is associated with the server's digital certificate. A value of null
indicates that the network channel uses the alias specified in the server's SSL configuration.
SSLMBean.getServerPrivateKeyAlias()
void setCustomPrivateKeyAlias(String alias)
Sets the value of the PrivateKeyAlias attribute.
alias
- The new PrivateKeyAlias valueNetworkAccessPointMBean.getCustomPrivateKeyAlias()
String getPrivateKeyAlias()
The string alias used to store and retrieve the channel's private key in the keystore. This private key is associated with the server's digital certificate. This value is derived from other settings on the channel and cannot be physically set.
SSLMBean.getServerPrivateKeyAlias()
, NetworkAccessPointMBean.getCustomPrivateKeyAlias()
String getCustomPrivateKeyPassPhrase()
The passphrase used to retrieve the server's private key from the keystore. This passphrase is assigned to the private key when it is generated. A value of null
indicates that the network channel uses the pass phrase specified in the server's SSL configuration.
SSLMBean.getServerPrivateKeyPassPhrase()
void setCustomPrivateKeyPassPhrase(String phrase)
Sets the value of the PrivateKeyPassPhrase attribute.
phrase
- The new PrivateKeyPassPhrase valueNetworkAccessPointMBean.getCustomPrivateKeyPassPhrase()
String getPrivateKeyPassPhrase()
The passphrase used to retrieve the server's private key from the keystore. This passphrase is assigned to the private key when it is generated. This value is derived from other settings on the channel and cannot be physically set.
SSLMBean.getServerPrivateKeyPassPhrase()
, NetworkAccessPointMBean.getCustomPrivateKeyPassPhrase()
byte[] getCustomPrivateKeyPassPhraseEncrypted()
The encrypted form of passphrase used to retrieve the server's private key from the keystore.
void setCustomPrivateKeyPassPhraseEncrypted(byte[] passwordEncrypted)
Sets the encrypted value of the PrivateKeyPassPhrase attribute.
passwordEncrypted
-boolean isClientCertificateEnforced()
Specifies whether clients must present digital certificates from a trusted certificate authority to WebLogic Server on this channel.
void setClientCertificateEnforced(boolean enforce)
Sets the value of the ClientCertificateEnabled attribute.
enforce
- The new ClientCertificateEnforced valueNetworkAccessPointMBean.isClientCertificateEnforced()
boolean isOutboundPrivateKeyEnabled()
Specifies whether the identity specified by NetworkAccessPointMBean.getCustomPrivateKeyAlias()
should be used for outbound SSL connections on this channel. In normal circumstances the outbound identity is determined by the caller's environment.
void setOutboundPrivateKeyEnabled(boolean enabled) throws InvalidAttributeValueException
Sets the value of the OutboundPrivateKeyEnabled attribute.
enabled
- The new outboundEnabled valueInvalidAttributeValueException
NetworkAccessPointMBean.isOutboundEnabled()
boolean getUseFastSerialization()
Specifies whether to use non-standard object serialization for performance. This option works in different ways for different protocols. In particular under IIOP this option uses Java serialization rather than RMI-IIOP serialization. In general using non-standard serialization is not suitable for interop scenarios and may imply some feature loss.
void setUseFastSerialization(boolean enabled) throws InvalidAttributeValueException
Sets the value of the UseFastSerialization attribute.
enabled
- The new UseFastSerialization valueInvalidAttributeValueException
NetworkAccessPointMBean.getUseFastSerialization()
void setIdleIIOPConnectionTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the IdleIIOPConnectionTimeout attribute.
seconds
- The new idleIIOPConnectionTimeout valueInvalidAttributeValueException
DistributedManagementException
NetworkAccessPointMBean.getIdleIIOPConnectionTimeout()
void setSSLListenPort(int port) throws InvalidAttributeValueException
Sets the value of the SLListenPort attribute.
port
- The new sSLListenPort valueInvalidAttributeValueException
NetworkAccessPointMBean.getSSLListenPort()
void setExternalDNSName(String externalDNSName) throws InvalidAttributeValueException
Sets the value of the ExternalDNSName attribute.
externalDNSName
- The new externalDNSName valueInvalidAttributeValueException
NetworkAccessPointMBean.getExternalDNSName()
void setLoginTimeoutMillisSSL(int millis) throws InvalidAttributeValueException
Sets the value of the LoginTimeoutMillisSSL attribute.
millis
- The new loginTimeoutMillisSSL valueInvalidAttributeValueException
NetworkAccessPointMBean.getLoginTimeoutMillisSSL()
void setCompleteT3MessageTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the CompleteT3MessageTimeout attribute.
seconds
- The new completeT3MessageTimeout valueInvalidAttributeValueException
DistributedManagementException
NetworkAccessPointMBean.getCompleteT3MessageTimeout()
void setCompleteHTTPMessageTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the CompleteHTTPMessageTimeout attribute.
seconds
- The new completeHTTPMessageTimeout valueInvalidAttributeValueException
DistributedManagementException
NetworkAccessPointMBean.getCompleteHTTPMessageTimeout()
void setCompleteCOMMessageTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the CompleteCOMMessageTimeout attribute.
seconds
- The new completeCOMMessageTimeout valueInvalidAttributeValueException
DistributedManagementException
NetworkAccessPointMBean.getCompleteCOMMessageTimeout()
void setCompleteIIOPMessageTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the CompleteIIOPMessageTimeout attribute.
seconds
- The new completeIIOPMessageTimeout valueInvalidAttributeValueException
DistributedManagementException
NetworkAccessPointMBean.getCompleteIIOPMessageTimeout()
boolean isSDPEnabled()
void setSDPEnabled(boolean enable)
String getOutboundPrivateKeyAlias()
The string alias used to store and retrieve the outbound private key in the keystore. This private key is associated with either a server or a client digital certificate. This attribute value is derived from other settings and cannot be physically set.
The returned value is determined as follows:
NetworkAccessPointMBean.isOutboundPrivateKeyEnabled()
and NetworkAccessPointMBean.isChannelIdentityCustomized()
return true, the value from NetworkAccessPointMBean.getCustomPrivateKeyAlias()
is returned.SSLMBean.getOutboundPrivateKeyAlias()
is returned from the ServerMBean
for the channel.NetworkAccessPointMBean.isOutboundPrivateKeyEnabled()
, NetworkAccessPointMBean.isChannelIdentityCustomized()
, NetworkAccessPointMBean.getCustomPrivateKeyAlias()
, SSLMBean.getOutboundPrivateKeyAlias()
String getOutboundPrivateKeyPassPhrase()
The passphrase used to retrieve the outbound private key from the keystore. This passphrase is assigned to the private key when it is generated. This attribute value is derived from other settings and cannot be physically set.
The returned value is determined as follows:
NetworkAccessPointMBean.isOutboundPrivateKeyEnabled()
and NetworkAccessPointMBean.isChannelIdentityCustomized()
return true, the value from NetworkAccessPointMBean.getCustomPrivateKeyPassPhrase()
is returned.SSLMBean.getOutboundPrivateKeyPassPhrase()
is returned from the ServerMBean
for the channel.NetworkAccessPointMBean.isOutboundPrivateKeyEnabled()
, NetworkAccessPointMBean.isChannelIdentityCustomized()
, NetworkAccessPointMBean.getCustomPrivateKeyPassPhrase()
, SSLMBean.getOutboundPrivateKeyPassPhrase()
String getCustomIdentityKeyStoreFileName()
The source of the identity keystore. For a JKS keystore, the source is the path and file name. For an Oracle Key Store Service (KSS) keystore, the source is the KSS URI.
If using a JKS keystore, the keystore path name must either be absolute or relative to where the server was booted.
If using a KSS keystore, the keystore URI must be of the form:
kss://system/keystorename
where keystorename
is the name of the keystore registered in KSS.
The value in this attribute is only used if ServerMBean.KeyStores
is CUSTOM_IDENTITY_AND_JAVA_STANDARD_TRUST
, CUSTOM_IDENTITY_AND_CUSTOM_TRUST
or CUSTOM_IDENTITY_AND_COMMAND_LINE_TRUST
.
void setCustomIdentityKeyStoreFileName(String fileName)
Sets the value of the CustomIdentityKeyStoreFileName attribute.
fileName
- The new customIdentityKeyStoreFileName valueNetworkAccessPointMBean.getCustomIdentityKeyStoreFileName()
String getCustomIdentityKeyStoreType()
The type of the keystore. Generally, this is JKS
. If using the Oracle Key Store Service, this would be KSS
If empty or null, then the JDK's default keystore type (specified in java.security
) is used. The custom identity key store type is only used if ServerMBean.KeyStores
is CUSTOM_IDENTITY_AND_JAVA_STANDARD_TRUST
, CUSTOM_IDENTITY_AND_CUSTOM_TRUST
or CUSTOM_IDENTITY_AND_COMMAND_LINE_TRUST
.
void setCustomIdentityKeyStoreType(String type)
Sets the value of the CustomIdentityKeyStoreType attribute.
type
- The new customIdentityKeyStoreType valueNetworkAccessPointMBean.getCustomIdentityKeyStoreType()
String getCustomIdentityKeyStorePassPhrase()
The encrypted custom identity keystore's passphrase. If empty or null, then the keystore will be opened without a passphrase.
This attribute is only used if ServerMBean.KeyStores
is CUSTOM_IDENTITY_AND_JAVA_STANDARD_TRUST
, CUSTOM_IDENTITY_AND_CUSTOM_TRUST
or CUSTOM_IDENTITY_AND_COMMAND_LINE_TRUST
.
When you get the value of this attribute, WebLogic Server does the following:
CustomIdentityKeyStorePassPhraseEncrypted
attribute.When you set the value of this attribute, WebLogic Server does the following:
CustomIdentityKeyStorePassPhraseEncrypted
attribute to the encrypted value.Using this attribute (CustomIdentityKeyStorePassPhrase
) is a potential security risk because the String object (which contains the unencrypted password) remains in the JVM's memory until garbage collection removes it and the memory is reallocated. Depending on how memory is allocated in the JVM, a significant amount of time could pass before this unencrypted data is removed from memory.
Instead of using this attribute, use CustomIdentityKeyStorePassPhraseEncrypted
.
NetworkAccessPointMBean.getCustomIdentityKeyStorePassPhraseEncrypted()
void setCustomIdentityKeyStorePassPhrase(String passPhrase)
Sets the value of the CustomIdentityKeyStorePassPhrase attribute.
passPhrase
- The new customIdentityKeyStorePassPhrase valueNetworkAccessPointMBean.getCustomIdentityKeyStorePassPhrase()
, NetworkAccessPointMBean.setCustomIdentityKeyStorePassPhraseEncrypted(byte[])
byte[] getCustomIdentityKeyStorePassPhraseEncrypted()
Returns encrypted pass phrase defined when creating the keystore.
void setCustomIdentityKeyStorePassPhraseEncrypted(byte[] passPhraseEncrypted)
Sets the encrypted value of the CustomIdentityKeyStorePassPhrase attribute.
passPhraseEncrypted
- The new encrypted customIdentityKeyStorePassPhrase valueNetworkAccessPointMBean.getCustomIdentityKeyStorePassPhraseEncrypted()
String getHostnameVerifier()
The name of the class that implements the weblogic.security.SSL.HostnameVerifier
interface.
This class verifies whether the connection to the host with the hostname from URL should be allowed. The class is used to prevent man-in-the-middle attacks. The weblogic.security.SSL.HostnameVerifier
has a verify()
method that WebLogic Server calls on the client during the SSL handshake.
void setHostnameVerifier(String classname) throws InvalidAttributeValueException
Sets the value of the HostnameVerifier attribute.
classname
- The new hostnameVerifier valueInvalidAttributeValueException
NetworkAccessPointMBean.getHostnameVerifier()
boolean isHostnameVerificationIgnored()
Specifies whether to ignore the installed implementation of the weblogic.security.SSL.HostnameVerifier
interface (when this server is acting as a client to another application server).
void setHostnameVerificationIgnored(boolean ignoreFlag) throws InvalidAttributeValueException
Sets the value of the HostnameVerificationIgnored attribute.
ignoreFlag
- The new hostnameVerificationIgnored valueInvalidAttributeValueException
NetworkAccessPointMBean.isHostnameVerificationIgnored()
String[] getCiphersuites()
Indicates the cipher suites being used on a particular WebLogic Server channel.
The strongest negotiated cipher suite is chosen during the SSL handshake. The set of cipher suites used by default by JSEE depends on the specific JDK version with which WebLogic Server is configured.
For a list of possible values, see Cipher Suites.
void setCiphersuites(String[] ciphers) throws InvalidAttributeValueException
Sets the value of the Ciphersuites attribute.
ciphers
- The new ciphersuites valueInvalidAttributeValueException
- if the array is null or contains null elements.NetworkAccessPointMBean.getCiphersuites()
void setAllowUnencryptedNullCipher(boolean enable)
When a SSL server and a SSL client try to negotiate a commonly supported Cipher, there is a chance that they may end up with nothing in common. A NullCipher is a cipher providing no encryption for the SSL message between the client and server, and it may temporarily be used in the development environment if the SSL server and client share no common cipher for some reason. This is not a standard SSL feature, some SSL provider supports this feature
The AllowUnEncryptedNullCipher flag is used to control whether the NullCipher feature is enabled or not. If true, the SSL message may be unencrypted when SSL server and client shares no common cipher.
This AllowUnEncryptedNullCipher flag is only effective to SSL providers which support the NullCipher feature.
Warning: this NullCipher feature should NOT be enabled for a production environment, it may lead to unencrypted SSL message
By default, the AllowUnEncryptedNullCipher is false
enable
- true to allow NullCipher featureboolean isAllowUnencryptedNullCipher()
Test if the AllowUnEncryptedNullCipher is enabled
see setAllowUnencryptedNullCipher(boolean enable)
for the NullCipher feature.
NetworkAccessPointMBean.setAllowUnencryptedNullCipher(boolean)
String getInboundCertificateValidation()
Indicates the client certificate validation rules for inbound SSL.
This attribute only applies to ports and network channels using 2-way SSL.
void setInboundCertificateValidation(String validationStyle)
Sets the value of the InboundCertificateValidation attribute.
validationStyle
- the new validation styleNetworkAccessPointMBean.getInboundCertificateValidation()
String getOutboundCertificateValidation()
Indicates the server certificate validation rules for outbound SSL.
This attribute always applies to outbound SSL that is part of WebLogic Server (that is, an Administration Server talking to the Node Manager). It does not apply to application code in the server that is using outbound SSL unless the application code uses a weblogic.security.SSL.ServerTrustManager
that is configured to use outbound SSL validation.
void setOutboundCertificateValidation(String validationStyle)
Sets the value of the OutboundCertificateValidation attribute.
validationStyle
- the new validation styleNetworkAccessPointMBean.getOutboundCertificateValidation()
String getMinimumTLSProtocolVersion()
NetworkAccessPointMBean.setMinimumTLSProtocolVersion(String)
void setMinimumTLSProtocolVersion(String minimumTLSProtocolVersion) throws InvalidAttributeValueException
minimumTLSProtocolVersion
- the new minimum SSL/TLS protocol versionInvalidAttributeValueException
boolean isSSLv2HelloEnabled()
|
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 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |