|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class represents a JMS connection factory that resides on another server, and is accessed via JNDI. A remote connection factory can be used to refer to another instance of WebLogic JMS running in a different cluster or server, or a foreign JMS provider, as long as that provider supports JNDI. This MBean will always be a sub-element of the ForeignJMSServerMBean.
Fields inherited from class weblogic.management.configuration.ConfigurationMBean |
CACHING_STUB_SVUID,
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
java.lang.String |
getLocalJNDIName()
The name that the remote object will be bound to in the local server's JNDI tree. |
java.lang.String |
getPassword()
The password that will be used in conjunction with the user name specified in the "Username" attribute. |
byte[] |
getPasswordEncrypted()
The encrypted password that will be used in conjunction with the user name specified in the "Username" attribute. |
java.lang.String |
getRemoteJNDIName()
The name of the remote object that will be looked up in the remote JNDI directory. |
java.lang.String |
getUsername()
The user name that will be passed when opening a connection to the remote JMS server represented by this connection factory. |
void |
setLocalJNDIName(java.lang.String name)
The name that the remote object will be bound to in the local server's JNDI tree. |
void |
setPassword(java.lang.String passwd)
As of 8.1 sp4, this method does the following: |
void |
setPasswordEncrypted(byte[] encryptedBytes)
Encrypts the user password and sets the value of the PasswordEncrypted attribute. |
void |
setRemoteJNDIName(java.lang.String name)
The name of the remote object that will be looked up in the remote JNDI directory. |
void |
setUsername(java.lang.String name)
The user name that will be passed when opening a connection to the remote JMS server represented by this connection factory. |
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 |
Method Detail |
public void setLocalJNDIName(java.lang.String name)
name
- The new localJNDIName valuepublic java.lang.String getLocalJNDIName()
public void setRemoteJNDIName(java.lang.String name)
name
- The new remoteJNDIName valuepublic java.lang.String getRemoteJNDIName()
public void setUsername(java.lang.String name)
name
- The new username valuepublic java.lang.String getUsername()
public java.lang.String getPassword()
The password that will be used in conjunction with the user name specified in the "Username" attribute.
As of 8.1 sp4, the getPassword()
method does the following:
PasswordEncrypted
attribute.
Using getPassword()
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 getPasswordEncrypted()
to retrieve the encrypted password. On the same WebLogic Server that
encrypted the value of the PasswordEncrypted attribute, use
weblogic.management.EncryptionHelper.encrypt()
to encrypt the user-supplied password. Then compare the encrypted values.
getPasswordEncrypted()
public void setPassword(java.lang.String passwd)
As of 8.1 sp4, this method does the following:
PasswordEncrypted
attribute to the
encrypted parameter value.
passwd
- The new password valuesetPasswordEncrypted(byte[] bytes)
public byte[] getPasswordEncrypted()
The encrypted password that will be used in conjunction with the user name specified in the "Username" attribute.
EncryptionHelper
public void setPasswordEncrypted(byte[] encryptedBytes)
passwd
- The new password value as encrypted byte arraygetPasswordEncrypted()
|
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 |