BEA Systems, Inc.

BEA WebLogic Server 9.0 API Reference


weblogic.wtc.gwt
Class genpasswd

java.lang.Object
  extended byweblogic.wtc.gwt.genpasswd

public final class genpasswd
extends Object

This class is a utility function that takes a key, a password and the type of password and generates a line that can be used in the bdmconfig.xml configuration file. The password will have been encrypted with the key. Note that the key field must be the same key used with the PasswordKey property in the WTCService class. Hence, passwords for the remote or local domain is never stored in text, nor is the application password stored in text in the bdmconfig.xml file. The usage of this utility is

genpasswd key password {local|remote|application}

The third argument has the following meaning:

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
genpasswd()
           
 
Method Summary
static void main(String[] args)
          The starting point for this utility.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

genpasswd

public genpasswd()
Method Detail

main

public static void main(String[] args)
                 throws Exception
The starting point for this utility. The utility has the following prototype:

genpasswd key password {local|remote|application}

key is the same key passed in the PasswordKey property in the WTCService class. password is the actual password to be stored in the bdmconfig.xml file and the {local|remote|application} choice determines the type of field this password is to be used for. See the class description for more details.

Throws:
Exception

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.