|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.agent.tl1.security.SecurityUtils
This class is used to evaluate the various parameters comming under security view. (E.g UID,UAP,CHAP,FAP...) This checks the length restrictions and syntax restrictions as per TR835.
| Constructor Summary | |
SecurityUtils()
|
|
| Method Summary | |
static boolean |
isAlphanumeric(java.lang.String checkStr)
Checks whether the string is alphanumric or not. |
static boolean |
isNumeric(java.lang.String value)
Checks whether the string given is numeric. |
static boolean |
isValidCID(java.util.Vector cids)
Checks if the CID is valid. |
static boolean |
isValidCommand(java.lang.String command)
Checks if the command given is a alphanumeric one. |
static boolean |
isValidDural(java.lang.String value)
Checks whether the given string is valid DURAL or not Valid Dural : hh-mm-ss where hh <= 23 && mm <=59 && ss <= 59 |
static boolean |
isValidID(java.lang.String id)
Checks if the identifiers are valid. |
static boolean |
isValidPID(java.lang.String PID)
Checks if the PID is in the right format. |
static boolean |
isValidPrivilege(java.util.Vector privileges)
Checks if the access privilege is valid. |
static boolean |
isValidUID(java.lang.String UID)
Checks if the UID doesn't cross the limit of 10 characters. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public SecurityUtils()
| Method Detail |
public static boolean isValidUID(java.lang.String UID)
throws TL1AgentException
public static boolean isValidPID(java.lang.String PID)
throws TL1AgentException
public static boolean isValidCID(java.util.Vector cids)
throws TL1AgentException
public static boolean isValidPrivilege(java.util.Vector privileges)
throws TL1AgentException
public static boolean isValidID(java.lang.String id)
throws TL1AgentException
public static boolean isValidCommand(java.lang.String command)
throws TL1AgentException
public static boolean isAlphanumeric(java.lang.String checkStr)
public static boolean isNumeric(java.lang.String value)
public static boolean isValidDural(java.lang.String value)
throws TL1AgentException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||