|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NetworkAccessPointMBean
A server can specifiy 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 | |
---|---|
int |
getAcceptBacklog()
The number of backlogged, new TCP connection requests that this network channel allows. |
int |
getChannelWeight()
A weight to give this channel when creating server-to-server connections. |
String[] |
getCiphersuites()
Indicates the cipher suites being used on a particular WebLogic Server channel. |
String |
getClusterAddress()
The address this network channel uses to generate EJB handles and failover addresses for use in a cluster. |
int |
getCompleteMessageTimeout()
The maximum amount of time this network channel waits for a complete message to be received. |
int |
getConnectTimeout()
The amount of time that this network channel should wait to establish an outbound socket connection before timing out. |
String |
getCustomIdentityKeyStoreFileName()
The source of the identity keystore. |
String |
getCustomIdentityKeyStorePassPhrase()
The encrypted custom identity keystore's passphrase. |
byte[] |
getCustomIdentityKeyStorePassPhraseEncrypted()
Returns encrypted pass phrase defined when creating the keystore. |
String |
getCustomIdentityKeyStoreType()
The type of the keystore. |
String |
getCustomPrivateKeyAlias()
The string alias used to store and retrieve the channel's private key in the keystore. |
String |
getCustomPrivateKeyPassPhrase()
The passphrase used to retrieve the server's private key from the keystore. |
byte[] |
getCustomPrivateKeyPassPhraseEncrypted()
The encrypted form of passphrase used to retrieve the server's private key from the keystore. |
String |
getHostnameVerifier()
The name of the class that implements the weblogic.security.SSL.HostnameVerifier interface. |
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. |
String |
getInboundCertificateValidation()
Indicates the client certificate validation rules for inbound SSL. |
String |
getListenAddress()
The IP address or DNS name this network channel uses to listen for incoming connections. |
int |
getListenPort()
The default TCP port this network channel uses to listen for regular (non-SSL) incoming connections. |
int |
getLoginTimeoutMillis()
The amount of time that this network channel should wait for a connection before timing out. |
int |
getMaxBackoffBetweenFailures()
The maximum back off time between failures while accepting client connections. |
int |
getMaxConnectedClients()
The maximum number of clients that can be connected on this network channel. |
int |
getMaxMessageSize()
The maximum message size allowable in a message header. |
String |
getName()
The name of this network channel. |
String |
getOutboundCertificateValidation()
Indicates the server certificate validation rules for outbound SSL. |
String |
getOutboundPrivateKeyAlias()
The string alias used to store and retrieve the outbound private key in the keystore. |
String |
getOutboundPrivateKeyPassPhrase()
The passphrase used to retrieve the outbound private key from the keystore. |
String |
getPrivateKeyAlias()
The string alias used to store and retrieve the channel's private key in the keystore. |
String |
getPrivateKeyPassPhrase()
The passphrase used to retrieve the server's private key from the keystore. |
String |
getProtocol()
The protocol this network channel should use for connections. |
String |
getProxyAddress()
The IP address or DNS name of the HTTP proxy to use for outbound connections on this channel. |
int |
getProxyPort()
The port of the HTTP proxy to use for outbound connections on this channel. |
String |
getPublicAddress()
The IP address or DNS name representing the external identity of this network channel. |
int |
getPublicPort()
The externally published listen port for this network channel. |
boolean |
getResolveDNSName()
Resolve the listen address to use for all T3 communication |
boolean |
getTimeoutConnectionWithPendingResponses()
Determines if connections with pending responses are allowed to timeout. |
int |
getTunnelingClientPingSecs()
The interval (in seconds) at which this network channel should ping an HTTP-tunneled client to see if its still alive. |
int |
getTunnelingClientTimeoutSecs()
The amount of time (in seconds) after which this network channel considers a missing HTTP-tunneled client to be dead. |
boolean |
getUseFastSerialization()
Specifies whether to use non-standard object serialization for performance. |
boolean |
isAllowUnencryptedNullCipher()
Test if the AllowUnEncryptedNullCipher is enabled |
boolean |
isChannelIdentityCustomized()
Whether or not the channel's custom identity should be used. |
boolean |
isClientCertificateEnforced()
Specifies whether clients must present digital certificates from a trusted certificate authority to WebLogic Server on this channel. |
boolean |
isEnabled()
Specifies whether this channel should be started. |
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). |
boolean |
isHttpEnabledForThisProtocol()
Specifies whether HTTP traffic should be allowed over this network channel. |
boolean |
isOutboundEnabled()
Specifies whether new server-to-server connections may consider this network channel when initiating a connection. |
boolean |
isOutboundPrivateKeyEnabled()
Specifies whether the identity specified by NetworkAccessPointMBean.getCustomPrivateKeyAlias()
should be used for outbound SSL connections on this channel. |
boolean |
isSDPEnabled()
Enables Socket Direct Protocol (SDP) on this channel. |
boolean |
isTunnelingEnabled()
Specifies whether tunneling via HTTP should be enabled for this network channel. |
boolean |
isTwoWaySSLEnabled()
Specifies whether this network channel uses two way SSL. |
void |
setAcceptBacklog(int count)
Sets the value of the AcceptBacklog attribute. |
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. |
void |
setChannelIdentityCustomized(boolean val)
Sets the value of the ChannelIdentityCustomized attribute. |
void |
setChannelWeight(int weight)
Sets the value of the ChannelWeight attribute. |
void |
setCiphersuites(String[] ciphers)
Sets the value of the Ciphersuites attribute. |
void |
setClientCertificateEnforced(boolean enforce)
Sets the value of the ClientCertificateEnabled attribute. |
void |
setClusterAddress(String address)
Sets the value of the ClusterAddress attribute. |
void |
setCompleteCOMMessageTimeout(int seconds)
Sets the value of the CompleteCOMMessageTimeout attribute. |
void |
setCompleteHTTPMessageTimeout(int seconds)
Sets the value of the CompleteHTTPMessageTimeout attribute. |
void |
setCompleteIIOPMessageTimeout(int seconds)
Sets the value of the CompleteIIOPMessageTimeout attribute. |
void |
setCompleteMessageTimeout(int seconds)
Sets the value of the CompleteMessageTimeout attribute. |
void |
setCompleteT3MessageTimeout(int seconds)
Sets the value of the CompleteT3MessageTimeout attribute. |
void |
setConnectTimeout(int timeout)
Sets the value of the ConnectTimeout attribute. |
void |
setCustomIdentityKeyStoreFileName(String fileName)
Sets the value of the CustomIdentityKeyStoreFileName attribute. |
void |
setCustomIdentityKeyStorePassPhrase(String passPhrase)
Sets the value of the CustomIdentityKeyStorePassPhrase attribute. |
void |
setCustomIdentityKeyStorePassPhraseEncrypted(byte[] passPhraseEncrypted)
Sets the encrypted value of the CustomIdentityKeyStorePassPhrase attribute. |
void |
setCustomIdentityKeyStoreType(String type)
Sets the value of the CustomIdentityKeyStoreType attribute. |
void |
setCustomPrivateKeyAlias(String alias)
Sets the value of the PrivateKeyAlias attribute. |
void |
setCustomPrivateKeyPassPhrase(String phrase)
Sets the value of the PrivateKeyPassPhrase attribute. |
void |
setCustomPrivateKeyPassPhraseEncrypted(byte[] passwordEncrypted)
Sets the encrypted value of the PrivateKeyPassPhrase attribute. |
void |
setEnabled(boolean enabled)
Sets the value of the Enabled attribute. |
void |
setExternalDNSName(String externalDNSName)
Sets the value of the ExternalDNSName attribute. |
void |
setHostnameVerificationIgnored(boolean ignoreFlag)
Sets the value of the HostnameVerificationIgnored attribute. |
void |
setHostnameVerifier(String classname)
Sets the value of the HostnameVerifier attribute. |
void |
setHttpEnabledForThisProtocol(boolean enabled)
Sets the value of the HttpEnabledForThisProtocol attribute. |
void |
setIdleConnectionTimeout(int seconds)
Sets the value of the IdleConnectionTimeout attribute. |
void |
setIdleIIOPConnectionTimeout(int seconds)
Sets the value of the IdleIIOPConnectionTimeout attribute. |
void |
setInboundCertificateValidation(String validationStyle)
Sets the value of the InboundCertificateValidation attribute. |
void |
setListenAddress(String address)
Sets the value of the ListenAddress attribute. |
void |
setListenPort(int port)
Sets the value of the ListenPort attribute. |
void |
setLoginTimeoutMillis(int timeout)
Sets the value of the LoginTimeoutMillis attribute. |
void |
setLoginTimeoutMillisSSL(int millis)
Sets the value of the LoginTimeoutMillisSSL attribute. |
void |
setMaxBackoffBetweenFailures(int milliSeconds)
Sets the value of the MaxBackoffBetweenFailures attribute. |
void |
setMaxConnectedClients(int count)
Sets the value of the MaxConnectedClients attribute. |
void |
setMaxMessageSize(int maxsize)
Sets the value of the MaxMessageSize attribute. |
void |
setName(String name)
Sets the value of the Name attribute. |
void |
setOutboundCertificateValidation(String validationStyle)
Sets the value of the OutboundCertificateValidation attribute. |
void |
setOutboundEnabled(boolean enabled)
Sets the value of the OutboundEnabled attribute. |
void |
setOutboundPrivateKeyEnabled(boolean enabled)
Sets the value of the OutboundPrivateKeyEnabled attribute. |
void |
setProtocol(String protocol)
Sets the value of the Protocol attribute. |
void |
setProxyAddress(String address)
Sets the value of the ProxyAddress attribute. |
void |
setProxyPort(int port)
Sets the value of the ProxyPort attribute. |
void |
setPublicAddress(String address)
Sets the value of the PublicAddress attribute. |
void |
setPublicPort(int port)
Sets the value of the PublicPort attribute. |
void |
setResolveDNSName(boolean flag)
Sets the value of the ResolveDNSName attribute. |
void |
setSDPEnabled(boolean enable)
Set whether the channel should be using SDP protocol. |
void |
setSSLListenPort(int port)
Sets the value of the SLListenPort attribute. |
void |
setTimeoutConnectionWithPendingResponses(boolean timeout)
Sets the value of the TimeoutConnectionWithPendingResponses attribute. |
void |
setTunnelingClientPingSecs(int secs)
Sets the value of the TunnelingClientPingSecs attribute. |
void |
setTunnelingClientTimeoutSecs(int secs)
Sets the value of the TunnelingClientTimeoutSecs attribute. |
void |
setTunnelingEnabled(boolean enabled)
Sets the value of the TunnelingEnabled attribute. |
void |
setTwoWaySSLEnabled(boolean enabled)
Sets the value of the TwoWaySSLEnabled attribute. |
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
name
- The new name value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 responses
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
NetworkAccessPointMBean.getUseFastSerialization()
void setIdleIIOPConnectionTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the IdleIIOPConnectionTimeout attribute.
seconds
- The new idleIIOPConnectionTimeout value
InvalidAttributeValueException
DistributedManagementException
NetworkAccessPointMBean.getIdleIIOPConnectionTimeout()
void setSSLListenPort(int port) throws InvalidAttributeValueException
Sets the value of the SLListenPort attribute.
port
- The new sSLListenPort value
InvalidAttributeValueException
NetworkAccessPointMBean.getSSLListenPort()
void setExternalDNSName(String externalDNSName) throws InvalidAttributeValueException
Sets the value of the ExternalDNSName attribute.
externalDNSName
- The new externalDNSName value
InvalidAttributeValueException
NetworkAccessPointMBean.getExternalDNSName()
void setLoginTimeoutMillisSSL(int millis) throws InvalidAttributeValueException
Sets the value of the LoginTimeoutMillisSSL attribute.
millis
- The new loginTimeoutMillisSSL value
InvalidAttributeValueException
NetworkAccessPointMBean.getLoginTimeoutMillisSSL()
void setCompleteT3MessageTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the CompleteT3MessageTimeout attribute.
seconds
- The new completeT3MessageTimeout value
InvalidAttributeValueException
DistributedManagementException
NetworkAccessPointMBean.getCompleteT3MessageTimeout()
void setCompleteHTTPMessageTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the CompleteHTTPMessageTimeout attribute.
seconds
- The new completeHTTPMessageTimeout value
InvalidAttributeValueException
DistributedManagementException
NetworkAccessPointMBean.getCompleteHTTPMessageTimeout()
void setCompleteCOMMessageTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the CompleteCOMMessageTimeout attribute.
seconds
- The new completeCOMMessageTimeout value
InvalidAttributeValueException
DistributedManagementException
NetworkAccessPointMBean.getCompleteCOMMessageTimeout()
void setCompleteIIOPMessageTimeout(int seconds) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the CompleteIIOPMessageTimeout attribute.
seconds
- The new completeIIOPMessageTimeout value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
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 value
InvalidAttributeValueException
- 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()
|
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 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |