public class Validators extends Object
| Modifier and Type | Field and Description |
|---|---|
static String[] |
SQL_BLACKLIST |
static Pattern |
VALID_EMAIL_ADDRESS_REGEX |
| Constructor and Description |
|---|
Validators() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areAllUnique(Object[] arr) |
static HashMap<Integer,String> |
fileNameValidator(String fileName) |
static boolean |
hasPermissionForClient(long clientAccountID,
long loginAccountID) |
static boolean |
isAlphaNumeric(String str) |
static boolean |
IsInteger(String str) |
static boolean |
isLimitedSqlAndScriptSafe(String value) |
static boolean |
isSqlSafe(String value) |
static void |
printRequestParams(javax.servlet.http.HttpServletRequest request) |
static boolean |
validate(String password) |
static boolean |
validateEmail(String emailStr) |
static boolean |
validateUser(String password) |
public static final Pattern VALID_EMAIL_ADDRESS_REGEX
public static final String[] SQL_BLACKLIST
public static boolean validateEmail(String emailStr)
public static boolean isSqlSafe(String value)
public static boolean isLimitedSqlAndScriptSafe(String value)
public static boolean validate(String password)
public static boolean IsInteger(String str)
public static boolean isAlphaNumeric(String str)
public static boolean areAllUnique(Object[] arr)
public static boolean hasPermissionForClient(long clientAccountID,
long loginAccountID)
public static void printRequestParams(javax.servlet.http.HttpServletRequest request)
public static boolean validateUser(String password)
Copyright © 2026. All rights reserved.