com.adventnet.agent.tl1.security
Class UserSecurityCommands
java.lang.Object
|
+--com.adventnet.agent.tl1.security.UserSecurityCommands
- public class UserSecurityCommands
- extends java.lang.Object
- implements TL1RequestHandler, SecurityVariables
This class implements the commands related to
user security view.
| Fields inherited from interface com.adventnet.agent.tl1.security.SecurityVariables |
aid,
ALW_LOG_SECU,
cap,
chap,
DLT_CID_SECU,
DLT_CMD_SECU,
DLT_RSC_SECU,
DLT_SECU,
DLT_USER_SECU,
DURAL,
ECMR,
ECSP,
ED_CID_SECU,
ED_CMD_SECU,
ED_RSC_SECU,
ED_SECU,
ED_USER_SECU,
EIUA,
ENT_CID_SECU,
ENT_CMD_SECU,
ENT_RSC_SECU,
ENT_SECU,
ENT_USER_SECU,
ERSP,
ESCC,
EURA,
EUSP,
INH_LOG_SECU,
IS,
LSTOI,
MXINV,
OOS,
PAGE,
PCND,
PCNN,
POINT,
rap,
root,
RTRV_ATTR_SECULOG,
RTRV_AUDIT_SECULOG,
SET_ATTR_SECULOG,
TMOUT,
UOUT |
|
Constructor Summary |
UserSecurityCommands(TL1Agent agent)
This constructor receives the parameter of TL1Agent
and from that SecurityView reference is obtained. |
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
UserSecurityCommands
public UserSecurityCommands(TL1Agent agent)
- This constructor receives the parameter of TL1Agent
and from that SecurityView reference is obtained.
- Parameters:
agent - -- TL1Agent Reference
getAck
public java.lang.String getAck(TL1AgentRequestInfo reqInfo)
- This method will be invoked from the TL1 NE before processing the TL1 input message.
If returns null, then no acknowlegement will be sent.
- Specified by:
- getAck in interface TL1RequestHandler
- Parameters:
reqInfo - -- TL1AgentRequestInfo Reference
doAction
public TL1AgentResponseInfo doAction(TL1AgentRequestInfo reqInfo)
throws TL1AgentException
- This method will be invoked by the TL1 NE for processing the input Message.
- Specified by:
- doAction in interface TL1RequestHandler
- Parameters:
reqInfo - -- TL1AgentRequestInfo Reference- Returns:
- A TL1AgentResponseInfo which contains the response values, the line
types and all the required information to form the response.
isValidForOtherSecurities
boolean isValidForOtherSecurities(TL1UserSecurity userSec,
java.lang.String commandCode,
java.lang.String channel,
TL1Session sess)
throws TL1AgentException
- This method receive the TL1UserSecurity object ,command and channel
and verifies wheter it's privilege matches for othe security levels.
Returns false if conditions are not satisfied.