|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This bean is used to configure the attributes necessary to start up a server on a remote machine.
Field Summary | |
static long |
CACHING_STUB_SVUID
|
Fields inherited from class weblogic.management.configuration.ConfigurationMBean |
CACHING_STUB_SVUID,
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
java.lang.String |
getArguments()
The startup arguments to use when starting this server. |
java.lang.String |
getBeaHome()
Returns the BEA home to be used to start this server. |
java.lang.String |
getClassPath()
The classpath to use when starting this server. |
java.lang.String |
getJavaHome()
The Java home directory (on the Node Manager machine) to use when starting this server. |
java.lang.String |
getPassword()
The password of the username used to boot the server and perform server health monitoring. |
byte[] |
getPasswordEncrypted()
The encrypted password of the username used to boot the server and perform server health monitoring. |
java.lang.String |
getRootDirectory()
Returns the RootDirectory to be used to start this server. |
java.lang.String |
getSecurityPolicyFile()
The security policy file to use when starting this server. |
java.lang.String |
getUsername()
The username to use when booting the server and performing server health monitoring. |
void |
setArguments(java.lang.String classpath)
Set the arguments that are to used to start up this server. |
void |
setBeaHome(java.lang.String path)
The BEA home directory to use when starting this server. |
void |
setClassPath(java.lang.String classpath)
Set the classpath to be used to start this server. |
void |
setJavaHome(java.lang.String path)
Set the Java home to be used to start this server. |
void |
setOutputFile(java.lang.String fileName)
Sets the file containing the data generated as a result of the start operation. |
void |
setPassword(java.lang.String password)
As of 8.1 sp4, this method does the following: |
void |
setPasswordEncrypted(byte[] bytes)
Encrypts the user password and sets the value of the PasswordEncrypted attribute. |
void |
setRootDirectory(java.lang.String path)
The root directory to use when starting this server. |
void |
setSecurityPolicyFile(java.lang.String filePath)
Set the security policy file to be used to start this server. |
void |
setUsername(java.lang.String username)
Sets the username attribute of the ServerStartMBean 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 long CACHING_STUB_SVUID
Method Detail |
public java.lang.String getJavaHome()
public void setJavaHome(java.lang.String path) throws javax.management.InvalidAttributeValueException
path
- The new javaHome valuepublic java.lang.String getClassPath()
public void setClassPath(java.lang.String classpath) throws javax.management.InvalidAttributeValueException
classpath
- The new classPath valuepublic java.lang.String getBeaHome()
public void setBeaHome(java.lang.String path) throws javax.management.InvalidAttributeValueException
path
- The new beaHome valuepublic java.lang.String getRootDirectory()
public void setRootDirectory(java.lang.String path) throws javax.management.InvalidAttributeValueException
path
- The new rootDirectory valuepublic java.lang.String getSecurityPolicyFile()
public void setSecurityPolicyFile(java.lang.String filePath) throws javax.management.InvalidAttributeValueException
filePath
- The new securityPolicyFile valuepublic java.lang.String getArguments()
public void setArguments(java.lang.String classpath) throws javax.management.InvalidAttributeValueException
classpath
- The new arguments valuepublic void setOutputFile(java.lang.String fileName)
fileName
- The new outputFile valuepublic java.lang.String getUsername()
public void setUsername(java.lang.String username) throws javax.management.InvalidAttributeValueException
username
- The new username valuepublic java.lang.String getPassword()
The password of the username used to boot the server and perform server health monitoring.
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 password) throws javax.management.InvalidAttributeValueException
As of 8.1 sp4, this method does the following:
PasswordEncrypted
attribute to the
encrypted parameter value.
password
- The new password valuesetPasswordEncrypted(byte[] bytes)
public byte[] getPasswordEncrypted()
The encrypted password of the username used to boot the server and perform server health monitoring.
EncryptionHelper
public void setPasswordEncrypted(byte[] bytes) throws javax.management.InvalidAttributeValueException
Encrypts the user password and sets the value of the PasswordEncrypted attribute.
bytes
- The new password value as a 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 |