|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This bean is represents a NodeManager that is associated with a machine.
Field Summary | |
static long |
CACHING_STUB_SVUID
|
static byte[] |
DEFAULT_CERTIFICATE_PASSWORD_BYTE_ARRAY
|
Fields inherited from class weblogic.management.configuration.ConfigurationMBean |
CACHING_STUB_SVUID,
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
java.lang.String |
getCertificate()
The certificate file to use for secure communications with NodeManager. |
java.lang.String |
getCertificatePassword()
The certificate password used for secure communications with NodeManager. |
byte[] |
getCertificatePasswordEncrypted()
The encrypted certificate password used for secure communications with NodeManager. |
java.lang.String |
getCertificateType()
The certificate type used for secure communications with the NodeManager |
java.lang.String |
getListenAddress()
The address on which NodeManager listens for connections. |
int |
getListenPort()
Returns the listen port of the NodeManager |
java.lang.String |
getTrustedCertsFile()
The trusted certs file password to use for secure communication with NodeManager. |
boolean |
isDebugEnabled()
Whether or not communication with this NodeManager needs to be debugged. |
void |
setCertificate(java.lang.String certificate)
Sets the certificate attribute of the NodeManagerMBean object |
void |
setCertificatePassword(java.lang.String certificatePassword)
As of 8.1 sp4, this method does the following: |
void |
setCertificatePasswordEncrypted(byte[] bytes)
Encrypts and sets the value of the CertificatePasswordEncrypted attribute. |
void |
setCertificateType(java.lang.String certificateType)
Sets the certificateType attribute of the NodeManagerMBean object |
void |
setDebugEnabled(boolean enable)
Set the DebugEnabled value |
void |
setListenAddress(java.lang.String address)
Sets the listenAddress attribute of the NodeManagerMBean object |
void |
setListenPort(int port)
The TCP port on which NodeManager listens. |
void |
setSSLEnabled(boolean enable)
Set the SSLEnabled value |
void |
setTrustedCertsFile(java.lang.String trustedCertsFile)
Sets the trustedCertsFile attribute of the NodeManagerMBean object |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
freezeCurrentValue,
getNotes,
restoreDefaultValue,
setComments,
setDefaultedMBean,
setNotes,
setPersistenceEnabled |
Methods inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo,
getName,
getObjectName,
getParent,
getType,
isCachingDisabled,
isRegistered,
setName,
setParent |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute,
getAttributes,
invoke,
setAttribute,
setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister,
postRegister,
preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
Field Detail |
public static final byte[] DEFAULT_CERTIFICATE_PASSWORD_BYTE_ARRAY
public static final long CACHING_STUB_SVUID
Method Detail |
public java.lang.String getListenAddress()
public void setListenAddress(java.lang.String address) throws javax.management.InvalidAttributeValueException
address
- The new listenAddress valuepublic int getListenPort()
public void setListenPort(int port)
port
- The new listenPort valuepublic void setSSLEnabled(boolean enable)
enable
- The new sSLEnabled valuepublic java.lang.String getCertificate()
public void setCertificate(java.lang.String certificate) throws javax.management.InvalidAttributeValueException
certificate
- The new certificate valuepublic java.lang.String getCertificateType()
public void setCertificateType(java.lang.String certificateType) throws javax.management.InvalidAttributeValueException
certificateType
- The new certificateType valuepublic java.lang.String getCertificatePassword()
The certificate password used for secure communications with NodeManager.
As of 8.1 sp4, the getCertificatePassword()
method does
the following:
CertificatePasswordEncrypted
attribute.
Using getCertificatePassword()
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. 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 method, use
getCertificatePasswordEncrypted()
to retrieve the encrypted password. On the same WebLogic Server that
encrypted the value of the CertificatePasswordEncrypted attribute, use
weblogic.management.EncryptionHelper.encrypt()
to encrypt the user-supplied password. Then compare the encrypted values.
getCertificatePasswordEncrypted()
public void setCertificatePassword(java.lang.String certificatePassword) throws javax.management.InvalidAttributeValueException
As of 8.1 sp4, this method does the following:
CertificatePasswordEncrypted
attribute to the encrypted parameter value.
certificatePassword
- The new certificatePassword valuesetCertificatePasswordEncrypted(byte[] bytes)
public byte[] getCertificatePasswordEncrypted()
The encrypted certificate password used for secure communications with NodeManager.
EncryptionHelper
public void setCertificatePasswordEncrypted(byte[] bytes) throws javax.management.InvalidAttributeValueException
Encrypts and sets the value of the CertificatePasswordEncrypted attribute.
bytes
- The new certificatePassword value as a byte array#getPasswordEncrypted()
public java.lang.String getTrustedCertsFile()
public void setTrustedCertsFile(java.lang.String trustedCertsFile) throws javax.management.InvalidAttributeValueException
trustedCertsFile
- The new trustedCertsFile valuepublic boolean isDebugEnabled()
public void setDebugEnabled(boolean enable)
enable
- The new debugEnabled value
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |