com.adventnet.agent.tl1.security
Class TL1SecurityCommandsRegister

java.lang.Object
  |
  +--com.adventnet.agent.tl1.security.TL1SecurityCommandsRegister

public class TL1SecurityCommandsRegister
extends java.lang.Object

This class contains flags for each security views. If the flag is true then the corresponding commands are registered with the Command Registry.


Constructor Summary
TL1SecurityCommandsRegister(TL1Agent agent)
          This constructor is used to receive Tl1Agent as parameter.
 
Method Summary
 void setSecurityFlags(boolean user, boolean channel, boolean command, boolean operation, boolean resource)
          This method receives status of the various security views.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TL1SecurityCommandsRegister

public TL1SecurityCommandsRegister(TL1Agent agent)
This constructor is used to receive Tl1Agent as parameter. The instance of the TL1Agent, will register the security commands for the various view in the command registry
Method Detail

setSecurityFlags

public void setSecurityFlags(boolean user,
                             boolean channel,
                             boolean command,
                             boolean operation,
                             boolean resource)
This method receives status of the various security views.
Parameters:
user - - true when user security view is enabled
channel - - true when channel security view is enabled
command - - true when command security view is enabled
operation - - true when operation security view is enabled
resource - - true when resource security view is enabled