com.waveset.session
Class WavesetConsole

java.lang.Object
  extended bycom.waveset.util.Console
      extended bycom.waveset.session.WavesetConsole

public class WavesetConsole
extends Console

A simple console interpreter for administration and testing.


Nested Class Summary
 class WavesetConsole.ConsoleBulkMonitor
          Internal monitor class that prints import/export results to the console.
 
Field Summary
static java.lang.String code_id
           
protected static WSTrace trace
           
 
Constructor Summary
WavesetConsole()
           
WavesetConsole(Session ses)
          Constructor added for the SOAP interface.
 
Method Summary
 void cmdAddKey(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdApproveWorkItem(java.util.Vector args, java.io.PrintWriter out)
          Approve a work item.
 void cmdAuthenticate(java.util.Vector args, java.io.PrintWriter out)
          Try to authenticate as a user/administrator
 void cmdBreakLock(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdChangePassword(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdCheckin(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdCheckinView(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdCheckout(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdCheckoutView(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdCheckSum(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdCleanup(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdClearCache(java.util.Vector args, java.io.PrintWriter out)
          Clear the session cache.
 void cmdClearKeys(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdClose(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdConvert(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdConvertRoles(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdDelete(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdDeleteUser(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdDeProvision(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdDump(java.util.Vector args, java.io.PrintWriter out)
          Dump random debug info.
 void cmdEncrypt(java.util.Vector args, java.io.PrintWriter out)
          Encrypt a string.
 void cmdExport(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdExportUsers(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdExtract(java.util.Vector args, java.io.PrintWriter out)
          Perform a bulk extraction.
 void cmdGetLastMod(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdGetLock(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdGetModCounter(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdGetObject(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdGetTask(java.util.Vector args, java.io.PrintWriter out)
          Display the XML for a TaskInstance.
 void cmdGetUser(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdGetView(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdGetWorkItem(java.util.Vector args, java.io.PrintWriter out)
          Display the XML for a work item.
 void cmdImport(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdInstalled(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdInventory(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdLdapCapture(java.util.Vector args, java.io.PrintWriter out)
          Capture the current LDAP event log to a file.
 void cmdLdapListen(java.util.Vector args, java.io.PrintWriter out)
          Launch the LDAP listener thread.
 void cmdLdapStatus(java.util.Vector args, java.io.PrintWriter out)
          Display LDAP listener thread status.
 void cmdLdapStop(java.util.Vector args, java.io.PrintWriter out)
          Stop the LDAP listener thread.
 void cmdListLocks(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdListObjects(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdListPolicyTypes(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdListResourceTypes(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdListTaskDefinitions(java.util.Vector args, java.io.PrintWriter out)
          Display the available background task definitions.
 void cmdListTasks(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdListTypes(java.util.Vector args, java.io.PrintWriter out)
          List the available type names.
 void cmdListUsers(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdListWorkItems(java.util.Vector args, java.io.PrintWriter out)
          Display the WorkItem objects currently in the repository.
 void cmdLoad(java.util.Vector args, java.io.PrintWriter out)
          Perform a bulk load.
 void cmdLock(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdOpen(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdQuit(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdRefreshType(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdRejectWorkItem(java.util.Vector args, java.io.PrintWriter out)
          Reject a work item.
 void cmdRemoveKey(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdRename(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdReProvision(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdResetPassword(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdResume(java.util.Vector args, java.io.PrintWriter out)
          Resume a background task.
 void cmdRule(java.util.Vector args, java.io.PrintWriter out)
          Evaluate a rule.
 void cmdRunProcess(java.util.Vector args, java.io.PrintWriter out)
          Launch an abstract process.
 void cmdRunScheduler(java.util.Vector args, java.io.PrintWriter out)
          Make the scheduler run.
 void cmdRunTask(java.util.Vector args, java.io.PrintWriter out)
          Launch a background task.
 void cmdRunTemplate(java.util.Vector args, java.io.PrintWriter out)
          Launch a background task from a stored template.
 void cmdServerRefresh(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdServerStart(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdServerStop(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdSessions(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdShowKeys(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdShowTaskReport(java.util.Vector args, java.io.PrintWriter out)
          Display the task report if it has one.
 void cmdStartScheduler(java.util.Vector args, java.io.PrintWriter out)
          Start the task scheduler.
 void cmdStatus(java.util.Vector args, java.io.PrintWriter out)
          Display session statsus.
 void cmdStopScheduler(java.util.Vector args, java.io.PrintWriter out)
          Stop the task scheduler.
 void cmdStoreProperty(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdSuspend(java.util.Vector args, java.io.PrintWriter out)
          Suspend a background task.
 void cmdTerminate(java.util.Vector args, java.io.PrintWriter out)
          Terminate a background task.
 void cmdTest(java.util.Vector args, java.io.PrintWriter out)
          Run some arbitrary test.
 void cmdThreads(java.util.Vector args, java.io.PrintWriter out)
          Display information about threads.
 void cmdTrace(java.util.Vector args, java.io.PrintWriter out)
          Turn trace on and off, show status and set the trace level.
 void cmdUnlock(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdUnlockView(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdUpgradeViews(java.util.Vector args, java.io.PrintWriter out)
           
 void cmdVersion(java.util.Vector args, java.io.PrintWriter out)
          Override default implementation of "version" command.
 void cmdVmid(java.util.Vector args, java.io.PrintWriter out)
          Generate a VMID.
 void cmdWarp(java.util.Vector args, java.io.PrintWriter out)
          "warp" an object from its XML representation into a PersistentObject, then back to XML.
static void main(java.lang.String[] args)
           
 boolean preCommand(java.lang.String command)
          This is called by Console before invoking any command.
 void start(java.lang.String[] args)
          Start the console.
 
Methods inherited from class com.waveset.util.Console
addCommand, doCommand, doCommand, fullpath, isInteractive, print, println, readLine, readPropertyFile, run, setPrompt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values

trace

protected static final WSTrace trace
Constructor Detail

WavesetConsole

public WavesetConsole()
               throws WavesetException

WavesetConsole

public WavesetConsole(Session ses)
               throws WavesetException
Constructor added for the SOAP interface. We already have a Session, just put something together that can execute a commands.

Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

start

public void start(java.lang.String[] args)
           throws WavesetException
Start the console. Create an initial session if we can, then start the run the interpreter.

Throws:
WavesetException

preCommand

public boolean preCommand(java.lang.String command)
                   throws java.lang.Exception
This is called by Console before invoking any command. Return true to allow the command.

Overrides:
preCommand in class Console
Throws:
java.lang.Exception

cmdVersion

public void cmdVersion(java.util.Vector args,
                       java.io.PrintWriter out)
                throws java.lang.Exception
Override default implementation of "version" command.

Overrides:
cmdVersion in class Console
Throws:
java.lang.Exception

cmdOpen

public void cmdOpen(java.util.Vector args,
                    java.io.PrintWriter out)
             throws java.lang.Exception
Throws:
java.lang.Exception

cmdClose

public void cmdClose(java.util.Vector args,
                     java.io.PrintWriter out)
              throws java.lang.Exception
Throws:
java.lang.Exception

cmdSessions

public void cmdSessions(java.util.Vector args,
                        java.io.PrintWriter out)
                 throws java.lang.Exception
Throws:
java.lang.Exception

cmdLock

public void cmdLock(java.util.Vector args,
                    java.io.PrintWriter out)
             throws java.lang.Exception
Throws:
java.lang.Exception

cmdBreakLock

public void cmdBreakLock(java.util.Vector args,
                         java.io.PrintWriter out)
                  throws java.lang.Exception
Throws:
java.lang.Exception

cmdGetLock

public void cmdGetLock(java.util.Vector args,
                       java.io.PrintWriter out)
                throws java.lang.Exception
Throws:
java.lang.Exception

cmdGetLastMod

public void cmdGetLastMod(java.util.Vector args,
                          java.io.PrintWriter out)
                   throws java.lang.Exception
Throws:
java.lang.Exception

cmdUnlock

public void cmdUnlock(java.util.Vector args,
                      java.io.PrintWriter out)
               throws java.lang.Exception
Throws:
java.lang.Exception

cmdGetObject

public void cmdGetObject(java.util.Vector args,
                         java.io.PrintWriter out)
                  throws java.lang.Exception
Throws:
java.lang.Exception

cmdCheckout

public void cmdCheckout(java.util.Vector args,
                        java.io.PrintWriter out)
                 throws java.lang.Exception
Throws:
java.lang.Exception

cmdDelete

public void cmdDelete(java.util.Vector args,
                      java.io.PrintWriter out)
               throws java.lang.Exception
Throws:
java.lang.Exception

cmdRename

public void cmdRename(java.util.Vector args,
                      java.io.PrintWriter out)
               throws java.lang.Exception
Throws:
java.lang.Exception

cmdCheckin

public void cmdCheckin(java.util.Vector args,
                       java.io.PrintWriter out)
                throws java.lang.Exception
Throws:
java.lang.Exception

cmdCleanup

public void cmdCleanup(java.util.Vector args,
                       java.io.PrintWriter out)
                throws java.lang.Exception
Throws:
java.lang.Exception

cmdGetView

public void cmdGetView(java.util.Vector args,
                       java.io.PrintWriter out)
                throws java.lang.Exception
Throws:
java.lang.Exception

cmdCheckoutView

public void cmdCheckoutView(java.util.Vector args,
                            java.io.PrintWriter out)
                     throws java.lang.Exception
Throws:
java.lang.Exception

cmdCheckinView

public void cmdCheckinView(java.util.Vector args,
                           java.io.PrintWriter out)
                    throws java.lang.Exception
Throws:
java.lang.Exception

cmdUnlockView

public void cmdUnlockView(java.util.Vector args,
                          java.io.PrintWriter out)
                   throws java.lang.Exception
Throws:
java.lang.Exception

cmdImport

public void cmdImport(java.util.Vector args,
                      java.io.PrintWriter out)
               throws java.lang.Exception
Throws:
java.lang.Exception

cmdExport

public void cmdExport(java.util.Vector args,
                      java.io.PrintWriter out)
               throws java.lang.Exception
Throws:
java.lang.Exception

cmdExportUsers

public void cmdExportUsers(java.util.Vector args,
                           java.io.PrintWriter out)
                    throws java.lang.Exception
Throws:
java.lang.Exception

cmdListObjects

public void cmdListObjects(java.util.Vector args,
                           java.io.PrintWriter out)
                    throws java.lang.Exception
Throws:
java.lang.Exception

cmdListLocks

public void cmdListLocks(java.util.Vector args,
                         java.io.PrintWriter out)
                  throws java.lang.Exception
Throws:
java.lang.Exception

cmdStoreProperty

public void cmdStoreProperty(java.util.Vector args,
                             java.io.PrintWriter out)
                      throws java.lang.Exception
Throws:
java.lang.Exception

cmdRefreshType

public void cmdRefreshType(java.util.Vector args,
                           java.io.PrintWriter out)
                    throws java.lang.Exception
Throws:
java.lang.Exception

cmdConvert

public void cmdConvert(java.util.Vector args,
                       java.io.PrintWriter out)
                throws java.lang.Exception
Throws:
java.lang.Exception

cmdConvertRoles

public void cmdConvertRoles(java.util.Vector args,
                            java.io.PrintWriter out)
                     throws java.lang.Exception
Throws:
java.lang.Exception

cmdUpgradeViews

public void cmdUpgradeViews(java.util.Vector args,
                            java.io.PrintWriter out)
                     throws java.lang.Exception
Throws:
java.lang.Exception

cmdListTaskDefinitions

public void cmdListTaskDefinitions(java.util.Vector args,
                                   java.io.PrintWriter out)
                            throws java.lang.Exception
Display the available background task definitions.

Throws:
java.lang.Exception

cmdRunTask

public void cmdRunTask(java.util.Vector args,
                       java.io.PrintWriter out)
                throws java.lang.Exception
Launch a background task. the properties file will be converted to a HashMap and passed in as the variables for the task.

Throws:
java.lang.Exception

cmdRunTemplate

public void cmdRunTemplate(java.util.Vector args,
                           java.io.PrintWriter out)
                    throws java.lang.Exception
Launch a background task from a stored template.

Throws:
java.lang.Exception

cmdRunProcess

public void cmdRunProcess(java.util.Vector args,
                          java.io.PrintWriter out)
                   throws java.lang.Exception
Launch an abstract process.

Throws:
java.lang.Exception

cmdListTasks

public void cmdListTasks(java.util.Vector args,
                         java.io.PrintWriter out)
                  throws java.lang.Exception
Throws:
java.lang.Exception

cmdGetTask

public void cmdGetTask(java.util.Vector args,
                       java.io.PrintWriter out)
                throws java.lang.Exception
Display the XML for a TaskInstance. The object may be reference using its id, or with an index in to the last result returned by cmdListTasks.

Throws:
java.lang.Exception

cmdShowTaskReport

public void cmdShowTaskReport(java.util.Vector args,
                              java.io.PrintWriter out)
                       throws java.lang.Exception
Display the task report if it has one.

Throws:
java.lang.Exception

cmdResume

public void cmdResume(java.util.Vector args,
                      java.io.PrintWriter out)
               throws java.lang.Exception
Resume a background task.

Throws:
java.lang.Exception

cmdSuspend

public void cmdSuspend(java.util.Vector args,
                       java.io.PrintWriter out)
                throws java.lang.Exception
Suspend a background task.

Throws:
java.lang.Exception

cmdTerminate

public void cmdTerminate(java.util.Vector args,
                         java.io.PrintWriter out)
                  throws java.lang.Exception
Terminate a background task.

Throws:
java.lang.Exception

cmdRunScheduler

public void cmdRunScheduler(java.util.Vector args,
                            java.io.PrintWriter out)
                     throws java.lang.Exception
Make the scheduler run.

Throws:
java.lang.Exception

cmdStopScheduler

public void cmdStopScheduler(java.util.Vector args,
                             java.io.PrintWriter out)
                      throws java.lang.Exception
Stop the task scheduler.

Throws:
java.lang.Exception

cmdStartScheduler

public void cmdStartScheduler(java.util.Vector args,
                              java.io.PrintWriter out)
                       throws java.lang.Exception
Start the task scheduler.

Throws:
java.lang.Exception

cmdListWorkItems

public void cmdListWorkItems(java.util.Vector args,
                             java.io.PrintWriter out)
                      throws java.lang.Exception
Display the WorkItem objects currently in the repository.

Throws:
java.lang.Exception

cmdGetWorkItem

public void cmdGetWorkItem(java.util.Vector args,
                           java.io.PrintWriter out)
                    throws java.lang.Exception
Display the XML for a work item.

Throws:
java.lang.Exception

cmdApproveWorkItem

public void cmdApproveWorkItem(java.util.Vector args,
                               java.io.PrintWriter out)
                        throws java.lang.Exception
Approve a work item.

Throws:
java.lang.Exception

cmdRejectWorkItem

public void cmdRejectWorkItem(java.util.Vector args,
                              java.io.PrintWriter out)
                       throws java.lang.Exception
Reject a work item.

Throws:
java.lang.Exception

cmdListPolicyTypes

public void cmdListPolicyTypes(java.util.Vector args,
                               java.io.PrintWriter out)
                        throws java.lang.Exception
Throws:
java.lang.Exception

cmdListResourceTypes

public void cmdListResourceTypes(java.util.Vector args,
                                 java.io.PrintWriter out)
                          throws java.lang.Exception
Throws:
java.lang.Exception

cmdReProvision

public void cmdReProvision(java.util.Vector args,
                           java.io.PrintWriter out)
                    throws java.lang.Exception
Throws:
java.lang.Exception

cmdDeProvision

public void cmdDeProvision(java.util.Vector args,
                           java.io.PrintWriter out)
                    throws java.lang.Exception
Throws:
java.lang.Exception

cmdDeleteUser

public void cmdDeleteUser(java.util.Vector args,
                          java.io.PrintWriter out)
                   throws java.lang.Exception
Throws:
java.lang.Exception

cmdChangePassword

public void cmdChangePassword(java.util.Vector args,
                              java.io.PrintWriter out)
                       throws java.lang.Exception
Throws:
java.lang.Exception

cmdResetPassword

public void cmdResetPassword(java.util.Vector args,
                             java.io.PrintWriter out)
                      throws java.lang.Exception
Throws:
java.lang.Exception

cmdListUsers

public void cmdListUsers(java.util.Vector args,
                         java.io.PrintWriter out)
                  throws java.lang.Exception
Throws:
java.lang.Exception

cmdGetUser

public void cmdGetUser(java.util.Vector args,
                       java.io.PrintWriter out)
                throws java.lang.Exception
Throws:
java.lang.Exception

cmdGetModCounter

public void cmdGetModCounter(java.util.Vector args,
                             java.io.PrintWriter out)
                      throws java.lang.Exception
Throws:
java.lang.Exception

cmdExtract

public void cmdExtract(java.util.Vector args,
                       java.io.PrintWriter out)
                throws java.lang.Exception
Perform a bulk extraction.

Throws:
java.lang.Exception

cmdLoad

public void cmdLoad(java.util.Vector args,
                    java.io.PrintWriter out)
             throws java.lang.Exception
Perform a bulk load.

Throws:
java.lang.Exception

cmdQuit

public void cmdQuit(java.util.Vector args,
                    java.io.PrintWriter out)
             throws java.lang.Exception
Throws:
java.lang.Exception

cmdServerStart

public void cmdServerStart(java.util.Vector args,
                           java.io.PrintWriter out)
                    throws java.lang.Exception
Throws:
java.lang.Exception

cmdServerStop

public void cmdServerStop(java.util.Vector args,
                          java.io.PrintWriter out)
                   throws java.lang.Exception
Throws:
java.lang.Exception

cmdServerRefresh

public void cmdServerRefresh(java.util.Vector args,
                             java.io.PrintWriter out)
                      throws java.lang.Exception
Throws:
java.lang.Exception

cmdClearKeys

public void cmdClearKeys(java.util.Vector args,
                         java.io.PrintWriter out)
                  throws java.lang.Exception
Throws:
java.lang.Exception

cmdAddKey

public void cmdAddKey(java.util.Vector args,
                      java.io.PrintWriter out)
               throws java.lang.Exception
Throws:
java.lang.Exception

cmdRemoveKey

public void cmdRemoveKey(java.util.Vector args,
                         java.io.PrintWriter out)
                  throws java.lang.Exception
Throws:
java.lang.Exception

cmdShowKeys

public void cmdShowKeys(java.util.Vector args,
                        java.io.PrintWriter out)
                 throws java.lang.Exception
Throws:
java.lang.Exception

cmdStatus

public void cmdStatus(java.util.Vector args,
                      java.io.PrintWriter out)
               throws java.lang.Exception
Display session statsus.

Throws:
java.lang.Exception

cmdListTypes

public void cmdListTypes(java.util.Vector args,
                         java.io.PrintWriter out)
                  throws java.lang.Exception
List the available type names.

Throws:
java.lang.Exception

cmdDump

public void cmdDump(java.util.Vector args,
                    java.io.PrintWriter out)
             throws java.lang.Exception
Dump random debug info.

Throws:
java.lang.Exception

cmdTrace

public void cmdTrace(java.util.Vector args,
                     java.io.PrintWriter out)
              throws java.lang.Exception
Turn trace on and off, show status and set the trace level. This method is now controlling the state and level of the system trace singleton. The configuration is pulled from a properties file relative to waveset.home. The properties file is being watched by a thread which will dynamically update the state of the trace logger if the properties file is updated. If just "on" is specified on the command line, the behavior is to default to level 4. All of the original code here was left intact - djs This is an older trace mechanism used by Workflow before we had the trace logger. It could probably be removed, but we might still want console control over the new trace system.

Throws:
java.lang.Exception

cmdVmid

public void cmdVmid(java.util.Vector args,
                    java.io.PrintWriter out)
             throws java.lang.Exception
Generate a VMID.

Throws:
java.lang.Exception

cmdTest

public void cmdTest(java.util.Vector args,
                    java.io.PrintWriter out)
             throws java.lang.Exception
Run some arbitrary test.

Throws:
java.lang.Exception

cmdThreads

public void cmdThreads(java.util.Vector args,
                       java.io.PrintWriter out)
                throws java.lang.Exception
Display information about threads.

Throws:
java.lang.Exception

cmdWarp

public void cmdWarp(java.util.Vector args,
                    java.io.PrintWriter out)
             throws java.lang.Exception
"warp" an object from its XML representation into a PersistentObject, then back to XML. This is used to test object serialization.

Throws:
java.lang.Exception

cmdClearCache

public void cmdClearCache(java.util.Vector args,
                          java.io.PrintWriter out)
                   throws java.lang.Exception
Clear the session cache. We'll also clear the server cache and user form cache, since that's usually what you want.

Throws:
java.lang.Exception

cmdAuthenticate

public void cmdAuthenticate(java.util.Vector args,
                            java.io.PrintWriter out)
                     throws java.lang.Exception
Try to authenticate as a user/administrator

Throws:
java.lang.Exception

cmdRule

public void cmdRule(java.util.Vector args,
                    java.io.PrintWriter out)
             throws java.lang.Exception
Evaluate a rule. rule

Throws:
java.lang.Exception

cmdEncrypt

public void cmdEncrypt(java.util.Vector args,
                       java.io.PrintWriter out)
                throws java.lang.Exception
Encrypt a string. This may be used to obtain an encrypted password for use for the soap.password property of the Waveset.properties file // // LighthouseContext should have an interface for this so applications // can encrypt strings and place them in views. There can however be // no interface for decrypting strings accessible from the API.

Throws:
java.lang.Exception

cmdLdapListen

public void cmdLdapListen(java.util.Vector args,
                          java.io.PrintWriter out)
                   throws java.lang.Exception
Launch the LDAP listener thread.

Throws:
java.lang.Exception

cmdLdapStatus

public void cmdLdapStatus(java.util.Vector args,
                          java.io.PrintWriter out)
                   throws java.lang.Exception
Display LDAP listener thread status.

Throws:
java.lang.Exception

cmdLdapStop

public void cmdLdapStop(java.util.Vector args,
                        java.io.PrintWriter out)
                 throws java.lang.Exception
Stop the LDAP listener thread.

Throws:
java.lang.Exception

cmdLdapCapture

public void cmdLdapCapture(java.util.Vector args,
                           java.io.PrintWriter out)
                    throws java.lang.Exception
Capture the current LDAP event log to a file. This no longer works, since we're not using LDAPListenerLog any more.

Throws:
java.lang.Exception

cmdInventory

public void cmdInventory(java.util.Vector args,
                         java.io.PrintWriter out)
                  throws java.lang.Exception
Throws:
java.lang.Exception

cmdInstalled

public void cmdInstalled(java.util.Vector args,
                         java.io.PrintWriter out)
                  throws java.lang.Exception
Throws:
java.lang.Exception

cmdCheckSum

public void cmdCheckSum(java.util.Vector args,
                        java.io.PrintWriter out)
                 throws java.lang.Exception
Throws:
java.lang.Exception