|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 MBean API Reference 11g Release 1 (10.3.1) Part Number E13945-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ForeignJMSConnectionFactoryMBean
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.
This is a type-safe interface for a
WebLogic Server MBean, which you can import into your client
classes and access through
weblogic.management.MBeanHome
. As of 9.0, the
MBeanHome
interface and all type-safe interfaces for
WebLogic Server MBeans are deprecated. Instead, client classes that
interact with WebLogic Server MBeans should use standard JMX design
patterns in which clients use the
javax.management.MBeanServerConnection
interface to
discover MBeans, attributes, and attribute types at runtime.
Method Summary | |
---|---|
String |
getLocalJNDIName()
Deprecated. |
String |
getPassword()
Deprecated. The password that will be used in conjunction with the user name specified in the "Username" attribute. |
byte[] |
getPasswordEncrypted()
Deprecated. The encrypted password that will be used in conjunction with the user name specified in the "Username" attribute. |
String |
getRemoteJNDIName()
Deprecated. |
String |
getUsername()
Deprecated. The user name that will be passed when opening a connection to the remote JMS server (represented by this foreign JMS connection factory). |
void |
setLocalJNDIName(String name)
Deprecated. |
void |
setPassword(String passwd)
Deprecated. Sets the value of the Password attribute. |
void |
setPasswordEncrypted(byte[] encryptedBytes)
Deprecated. Encrypts the user password and sets the value of the PasswordEncrypted attribute. |
void |
setRemoteJNDIName(String name)
Deprecated. |
void |
setUsername(String name)
Deprecated. Sets the value of the Username attribute. |
Method Detail |
---|
void setLocalJNDIName(String name)
String getLocalJNDIName()
void setRemoteJNDIName(String name)
String getRemoteJNDIName()
void setUsername(String name)
Sets the value of the Username attribute.
name
- The new username valueForeignJMSConnectionFactoryMBean.getUsername()
String getUsername()
The user name that will be passed when opening a connection to the remote JMS server (represented by this foreign JMS connection factory). If not set, then no user name will be used.
void setPassword(String passwd)
Sets the value of the Password attribute.
passwd
- The new password valueForeignJMSConnectionFactoryMBean.getPassword()
String getPassword()
The password that will be used in conjunction with the user name specified in the "Username" attribute.
As of 8.1 sp4, when you get the value of this attriubte, WebLogic Server does the following:
PasswordEncrypted
attribute.
When you set the value of this attribute, WebLogic Server does the following:
PasswordEncrypted
attribute to the
encrypted value.Using Password()
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 PasswordEncrypted
.
byte[] getPasswordEncrypted()
The encrypted password that will be used in conjunction with the user name specified in the "Username" attribute.
To set this attribute, use weblogic.management.EncryptionHelper.encrypt()
to encrypt the value. Then set this attribute to the output of the encrypt() method.
To compare a password that a user enters with the encrypted
value of this attribute, go to the same WebLogic Server instance
that you used to set and encrypt this attribute
and use weblogic.management.EncryptionHelper.encrypt()
to encrypt the user-supplied password. Then compare the encrypted values.
void setPasswordEncrypted(byte[] encryptedBytes)
passwd
- The new password value as encrypted byte arrayForeignJMSConnectionFactoryMBean.getPasswordEncrypted()
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 MBean API Reference 11g Release 1 (10.3.1) Part Number E13945-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |