Uses of Class
org.owasp.esapi.errors.IntrusionException
-
Packages that use IntrusionException Package Description org.owasp.esapi The ESAPI interfaces andExceptionclasses model the most important security functions to enterprise web applications.org.owasp.esapi.reference This package contains reference implementations of the ESAPI interfaces. -
-
Uses of IntrusionException in org.owasp.esapi
Methods in org.owasp.esapi that throw IntrusionException Modifier and Type Method Description voidIntrusionDetector. addEvent(java.lang.String eventName, java.lang.String logMessage)Adds the event to the IntrusionDetector.voidIntrusionDetector. addException(java.lang.Exception exception)Adds the exception to the IntrusionDetector.voidValidator. assertValidFileUpload(java.lang.String context, java.lang.String filepath, java.lang.String filename, java.io.File parent, byte[] content, int maxBytes, java.util.List<java.lang.String> allowedExtensions, boolean allowNull)Validates the filepath, filename, and content of a file.voidValidator. assertValidFileUpload(java.lang.String context, java.lang.String filepath, java.lang.String filename, java.io.File parent, byte[] content, int maxBytes, java.util.List<java.lang.String> allowedExtensions, boolean allowNull, ValidationErrorList errorList)Calls getValidFileUpload with the supplied errorList to capture ValidationExceptionsvoidValidator. assertValidHTTPRequestParameterSet(java.lang.String context, javax.servlet.http.HttpServletRequest request, java.util.Set<java.lang.String> required, java.util.Set<java.lang.String> optional)Validates that the parameters in the current request contain all required parameters and only optional ones in addition.voidValidator. assertValidHTTPRequestParameterSet(java.lang.String context, javax.servlet.http.HttpServletRequest request, java.util.Set<java.lang.String> required, java.util.Set<java.lang.String> optional, ValidationErrorList errorList)Calls getValidHTTPRequestParameterSet with the supplied errorList to capture ValidationExceptionsjava.lang.StringValidator. getValidCreditCard(java.lang.String context, java.lang.String input, boolean allowNull)Returns a canonicalized and validated credit card number as a String.java.lang.StringValidator. getValidCreditCard(java.lang.String context, java.lang.String input, boolean allowNull, ValidationErrorList errorList)Calls getValidCreditCard with the supplied errorList to capture ValidationExceptionsjava.util.DateValidator. getValidDate(java.lang.String context, java.lang.String input, java.text.DateFormat format, boolean allowNull)Returns a valid date as a Date.java.util.DateValidator. getValidDate(java.lang.String context, java.lang.String input, java.text.DateFormat format, boolean allowNull, ValidationErrorList errorList)Calls getValidDate with the supplied errorList to capture ValidationExceptionsjava.lang.StringValidator. getValidDirectoryPath(java.lang.String context, java.lang.String input, java.io.File parent, boolean allowNull)Returns a canonicalized and validated directory path as a String, provided that the input maps to an existing directory that is an existing subdirectory (at any level) of the specified parent.java.lang.StringValidator. getValidDirectoryPath(java.lang.String context, java.lang.String input, java.io.File parent, boolean allowNull, ValidationErrorList errorList)Calls getValidDirectoryPath with the supplied errorList to capture ValidationExceptionsjava.lang.DoubleValidator. getValidDouble(java.lang.String context, java.lang.String input, double minValue, double maxValue, boolean allowNull)Returns a validated real number as a double.java.lang.DoubleValidator. getValidDouble(java.lang.String context, java.lang.String input, double minValue, double maxValue, boolean allowNull, ValidationErrorList errorList)Calls getValidDouble with the supplied errorList to capture ValidationExceptionsbyte[]Validator. getValidFileContent(java.lang.String context, byte[] input, int maxBytes, boolean allowNull)Returns validated file content as a byte array.byte[]Validator. getValidFileContent(java.lang.String context, byte[] input, int maxBytes, boolean allowNull, ValidationErrorList errorList)Calls getValidFileContent with the supplied errorList to capture ValidationExceptionsjava.lang.StringValidator. getValidFileName(java.lang.String context, java.lang.String input, java.util.List<java.lang.String> allowedExtensions, boolean allowNull)Returns a canonicalized and validated file name as a String.java.lang.StringValidator. getValidFileName(java.lang.String context, java.lang.String input, java.util.List<java.lang.String> allowedExtensions, boolean allowNull, ValidationErrorList errorList)Calls getValidFileName with the supplied errorList to capture ValidationExceptionsjava.lang.StringValidator. getValidInput(java.lang.String context, java.lang.String input, java.lang.String type, int maxLength, boolean allowNull)Returns canonicalized and validated input as a String.java.lang.StringValidator. getValidInput(java.lang.String context, java.lang.String input, java.lang.String type, int maxLength, boolean allowNull, boolean canonicalize)Returns validated input as a String with optional canonicalization.java.lang.StringValidator. getValidInput(java.lang.String context, java.lang.String input, java.lang.String type, int maxLength, boolean allowNull, boolean canonicalize, ValidationErrorList errorList)Calls getValidInput with the supplied errorList to capture ValidationExceptionsjava.lang.StringValidator. getValidInput(java.lang.String context, java.lang.String input, java.lang.String type, int maxLength, boolean allowNull, ValidationErrorList errorList)Calls getValidInput with the supplied errorList to capture ValidationExceptionsjava.lang.IntegerValidator. getValidInteger(java.lang.String context, java.lang.String input, int minValue, int maxValue, boolean allowNull)Returns a validated integer.java.lang.IntegerValidator. getValidInteger(java.lang.String context, java.lang.String input, int minValue, int maxValue, boolean allowNull, ValidationErrorList errorList)Calls getValidInteger with the supplied errorList to capture ValidationExceptionsjava.lang.StringValidator. getValidListItem(java.lang.String context, java.lang.String input, java.util.List<java.lang.String> list)Returns the list item that exactly matches the canonicalized input.java.lang.StringValidator. getValidListItem(java.lang.String context, java.lang.String input, java.util.List<java.lang.String> list, ValidationErrorList errorList)Calls getValidListItem with the supplied errorList to capture ValidationExceptionsjava.lang.DoubleValidator. getValidNumber(java.lang.String context, java.lang.String input, long minValue, long maxValue, boolean allowNull)Returns a validated number as a double within the range of minValue to maxValue.java.lang.DoubleValidator. getValidNumber(java.lang.String context, java.lang.String input, long minValue, long maxValue, boolean allowNull, ValidationErrorList errorList)Calls getValidSafeHTML with the supplied errorList to capture ValidationExceptionschar[]Validator. getValidPrintable(java.lang.String context, char[] input, int maxLength, boolean allowNull, ValidationErrorList errorList)Calls getValidPrintable with the supplied errorList to capture ValidationExceptionsjava.lang.StringValidator. getValidPrintable(java.lang.String context, java.lang.String input, int maxLength, boolean allowNull, ValidationErrorList errorList)Calls getValidPrintable with the supplied errorList to capture ValidationExceptionsjava.lang.StringValidator. getValidRedirectLocation(java.lang.String context, java.lang.String input, boolean allowNull)Returns a canonicalized and validated redirect location as a String.java.lang.StringValidator. getValidRedirectLocation(java.lang.String context, java.lang.String input, boolean allowNull, ValidationErrorList errorList)Calls getValidRedirectLocation with the supplied errorList to capture ValidationExceptionsjava.lang.StringValidator. getValidSafeHTML(java.lang.String context, java.lang.String input, int maxLength, boolean allowNull)Returns canonicalized and validated "safe" HTML that does not contain unwanted scripts in the body, attributes, CSS, URLs, or anywhere else.java.lang.StringValidator. getValidSafeHTML(java.lang.String context, java.lang.String input, int maxLength, boolean allowNull, ValidationErrorList errorList)Calls getValidSafeHTML with the supplied errorList to capture ValidationExceptionsbooleanValidator. isValidCreditCard(java.lang.String context, java.lang.String input, boolean allowNull)Calls getValidCreditCard and returns true if no exceptions are thrown.booleanValidator. isValidCreditCard(java.lang.String context, java.lang.String input, boolean allowNull, ValidationErrorList errorList)Calls getValidCreditCard and returns true if no exceptions are thrown.booleanValidator. isValidDate(java.lang.String context, java.lang.String input, java.text.DateFormat format, boolean allowNull)Calls isValidDate and returns true if no exceptions are thrown.booleanValidator. isValidDate(java.lang.String context, java.lang.String input, java.text.DateFormat format, boolean allowNull, ValidationErrorList errorList)Calls isValidDate and returns true if no exceptions are thrown.booleanValidator. isValidDirectoryPath(java.lang.String context, java.lang.String input, java.io.File parent, boolean allowNull)Calls getValidDirectoryPath and returns true if no exceptions are thrown.booleanValidator. isValidDirectoryPath(java.lang.String context, java.lang.String input, java.io.File parent, boolean allowNull, ValidationErrorList errorList)Calls getValidDirectoryPath and returns true if no exceptions are thrown.booleanValidator. isValidDouble(java.lang.String context, java.lang.String input, double minValue, double maxValue, boolean allowNull)Calls getValidDouble and returns true if no exceptions are thrown.booleanValidator. isValidDouble(java.lang.String context, java.lang.String input, double minValue, double maxValue, boolean allowNull, ValidationErrorList errorList)Calls getValidDouble and returns true if no exceptions are thrown.booleanValidator. isValidFileContent(java.lang.String context, byte[] input, int maxBytes, boolean allowNull)Calls getValidFileContent and returns true if no exceptions are thrown.booleanValidator. isValidFileContent(java.lang.String context, byte[] input, int maxBytes, boolean allowNull, ValidationErrorList errorList)Calls getValidFileContent and returns true if no exceptions are thrown.booleanValidator. isValidFileName(java.lang.String context, java.lang.String input, boolean allowNull)Calls getValidFileName with the default list of allowedExtensionsbooleanValidator. isValidFileName(java.lang.String context, java.lang.String input, boolean allowNull, ValidationErrorList errorList)Calls getValidFileName with the default list of allowedExtensionsbooleanValidator. isValidFileName(java.lang.String context, java.lang.String input, java.util.List<java.lang.String> allowedExtensions, boolean allowNull)Calls getValidFileName and returns true if no exceptions are thrown.booleanValidator. isValidFileName(java.lang.String context, java.lang.String input, java.util.List<java.lang.String> allowedExtensions, boolean allowNull, ValidationErrorList errorList)Calls getValidFileName and returns true if no exceptions are thrown.booleanValidator. isValidFileUpload(java.lang.String context, java.lang.String filepath, java.lang.String filename, java.io.File parent, byte[] content, int maxBytes, boolean allowNull)Calls getValidFileUpload and returns true if no exceptions are thrown.booleanValidator. isValidFileUpload(java.lang.String context, java.lang.String filepath, java.lang.String filename, java.io.File parent, byte[] content, int maxBytes, boolean allowNull, ValidationErrorList errorList)Calls getValidFileUpload and returns true if no exceptions are thrown.booleanValidator. isValidHTTPRequestParameterSet(java.lang.String context, javax.servlet.http.HttpServletRequest request, java.util.Set<java.lang.String> required, java.util.Set<java.lang.String> optional)Calls assertValidHTTPRequestParameterSet and returns true if no exceptions are thrown.booleanValidator. isValidHTTPRequestParameterSet(java.lang.String context, javax.servlet.http.HttpServletRequest request, java.util.Set<java.lang.String> required, java.util.Set<java.lang.String> optional, ValidationErrorList errorList)Calls assertValidHTTPRequestParameterSet and returns true if no exceptions are thrown.booleanValidator. isValidInput(java.lang.String context, java.lang.String input, java.lang.String type, int maxLength, boolean allowNull)Calls isValidInput and returns true if no exceptions are thrown.booleanValidator. isValidInput(java.lang.String context, java.lang.String input, java.lang.String type, int maxLength, boolean allowNull, boolean canonicalize)Calls isValidInput and returns true if no exceptions are thrown.booleanValidator. isValidInput(java.lang.String context, java.lang.String input, java.lang.String type, int maxLength, boolean allowNull, boolean canonicalize, ValidationErrorList errorList)Calls isValidInput and returns true if no exceptions are thrown.booleanValidator. isValidInput(java.lang.String context, java.lang.String input, java.lang.String type, int maxLength, boolean allowNull, ValidationErrorList errorList)Calls isValidInput and returns true if no exceptions are thrown.booleanValidator. isValidInteger(java.lang.String context, java.lang.String input, int minValue, int maxValue, boolean allowNull)Calls getValidInteger and returns true if no exceptions are thrown.booleanValidator. isValidInteger(java.lang.String context, java.lang.String input, int minValue, int maxValue, boolean allowNull, ValidationErrorList errorList)Calls getValidInteger and returns true if no exceptions are thrown.booleanValidator. isValidListItem(java.lang.String context, java.lang.String input, java.util.List<java.lang.String> list)Calls getValidListItem and returns true if no exceptions are thrown.booleanValidator. isValidListItem(java.lang.String context, java.lang.String input, java.util.List<java.lang.String> list, ValidationErrorList errorList)Calls getValidListItem and returns true if no exceptions are thrown.booleanValidator. isValidNumber(java.lang.String context, java.lang.String input, long minValue, long maxValue, boolean allowNull)Calls getValidNumber and returns true if no exceptions are thrown.booleanValidator. isValidNumber(java.lang.String context, java.lang.String input, long minValue, long maxValue, boolean allowNull, ValidationErrorList errorList)Calls getValidNumber and returns true if no exceptions are thrown.booleanValidator. isValidPrintable(java.lang.String context, char[] input, int maxLength, boolean allowNull)Calls getValidPrintable and returns true if no exceptions are thrown.booleanValidator. isValidPrintable(java.lang.String context, char[] input, int maxLength, boolean allowNull, ValidationErrorList errorList)Calls getValidPrintable and returns true if no exceptions are thrown.booleanValidator. isValidPrintable(java.lang.String context, java.lang.String input, int maxLength, boolean allowNull)Calls getValidPrintable and returns true if no exceptions are thrown.booleanValidator. isValidPrintable(java.lang.String context, java.lang.String input, int maxLength, boolean allowNull, ValidationErrorList errorList)Calls getValidPrintable and returns true if no exceptions are thrown.booleanValidator. isValidSafeHTML(java.lang.String context, java.lang.String input, int maxLength, boolean allowNull)Calls getValidSafeHTML and returns true if no exceptions are thrown.booleanValidator. isValidSafeHTML(java.lang.String context, java.lang.String input, int maxLength, boolean allowNull, ValidationErrorList errorList)Calls getValidSafeHTML and returns true if no exceptions are thrown.voidHTTPUtilities. verifyCSRFToken(javax.servlet.http.HttpServletRequest request)Checks the CSRF token in the URL (see User.getCSRFToken()) against the user's CSRF token and throws an IntrusionException if it is missing. -
Uses of IntrusionException in org.owasp.esapi.reference
Methods in org.owasp.esapi.reference that throw IntrusionException Modifier and Type Method Description voidDefaultIntrusionDetector. addEvent(java.lang.String eventName, java.lang.String logMessage)Adds the event to the IntrusionDetector.voidDefaultValidator. assertValidFileUpload(java.lang.String context, java.lang.String directorypath, java.lang.String filename, java.io.File parent, byte[] content, int maxBytes, java.util.List<java.lang.String> allowedExtensions, boolean allowNull)Validates the filepath, filename, and content of a file.voidDefaultValidator. assertValidFileUpload(java.lang.String context, java.lang.String filepath, java.lang.String filename, java.io.File parent, byte[] content, int maxBytes, java.util.List<java.lang.String> allowedExtensions, boolean allowNull, ValidationErrorList errors)Calls getValidFileUpload with the supplied errorList to capture ValidationExceptionsvoidDefaultValidator. assertValidHTTPRequestParameterSet(java.lang.String context, javax.servlet.http.HttpServletRequest request, java.util.Set<java.lang.String> required, java.util.Set<java.lang.String> optional)Validates that the parameters in the current request contain all required parameters and only optional ones in addition.voidDefaultValidator. assertValidHTTPRequestParameterSet(java.lang.String context, javax.servlet.http.HttpServletRequest request, java.util.Set<java.lang.String> required, java.util.Set<java.lang.String> optional, ValidationErrorList errors)ValidationErrorList variant of assertIsValidHTTPRequestParameterSet Uses current HTTPRequest saved in ESAPI Authenticatorjava.lang.StringDefaultEncoder. getCanonicalizedURI(java.net.URI dirtyUri)Get a version of the input URI that will be safe to run regex and other validations against.java.lang.StringDefaultValidator. getValidCreditCard(java.lang.String context, java.lang.String input, boolean allowNull)Returns a canonicalized and validated credit card number as a String.java.lang.StringDefaultValidator. getValidCreditCard(java.lang.String context, java.lang.String input, boolean allowNull, ValidationErrorList errors)Calls getValidCreditCard with the supplied errorList to capture ValidationExceptionsjava.util.DateDefaultValidator. getValidDate(java.lang.String context, java.lang.String input, java.text.DateFormat format, boolean allowNull)Returns a valid date as a Date.java.util.DateDefaultValidator. getValidDate(java.lang.String context, java.lang.String input, java.text.DateFormat format, boolean allowNull, ValidationErrorList errors)Calls getValidDate with the supplied errorList to capture ValidationExceptionsjava.lang.StringDefaultValidator. getValidDirectoryPath(java.lang.String context, java.lang.String input, java.io.File parent, boolean allowNull)Returns a canonicalized and validated directory path as a String, provided that the input maps to an existing directory that is an existing subdirectory (at any level) of the specified parent.java.lang.StringDefaultValidator. getValidDirectoryPath(java.lang.String context, java.lang.String input, java.io.File parent, boolean allowNull, ValidationErrorList errors)Calls getValidDirectoryPath with the supplied errorList to capture ValidationExceptionsjava.lang.DoubleDefaultValidator. getValidDouble(java.lang.String context, java.lang.String input, double minValue, double maxValue, boolean allowNull)Returns a validated real number as a double.java.lang.DoubleDefaultValidator. getValidDouble(java.lang.String context, java.lang.String input, double minValue, double maxValue, boolean allowNull, ValidationErrorList errors)Calls getValidDouble with the supplied errorList to capture ValidationExceptionsbyte[]DefaultValidator. getValidFileContent(java.lang.String context, byte[] input, int maxBytes, boolean allowNull)Returns validated file content as a byte array.byte[]DefaultValidator. getValidFileContent(java.lang.String context, byte[] input, int maxBytes, boolean allowNull, ValidationErrorList errors)Calls getValidFileContent with the supplied errorList to capture ValidationExceptionsjava.lang.StringDefaultValidator. getValidFileName(java.lang.String context, java.lang.String input, java.util.List<java.lang.String> allowedExtensions, boolean allowNull)Returns a canonicalized and validated file name as a String.java.lang.StringDefaultValidator. getValidFileName(java.lang.String context, java.lang.String input, java.util.List<java.lang.String> allowedParameters, boolean allowNull, ValidationErrorList errors)Calls getValidFileName with the supplied errorList to capture ValidationExceptionsjava.lang.StringDefaultValidator. getValidInput(java.lang.String context, java.lang.String input, java.lang.String type, int maxLength, boolean allowNull, boolean canonicalize, ValidationErrorList errors)Validates data received from the browser and returns a safe version.java.lang.StringDefaultValidator. getValidInput(java.lang.String context, java.lang.String input, java.lang.String type, int maxLength, boolean allowNull, ValidationErrorList errors)Validates data received from the browser and returns a safe version.java.lang.IntegerDefaultValidator. getValidInteger(java.lang.String context, java.lang.String input, int minValue, int maxValue, boolean allowNull)Returns a validated integer.java.lang.IntegerDefaultValidator. getValidInteger(java.lang.String context, java.lang.String input, int minValue, int maxValue, boolean allowNull, ValidationErrorList errors)Calls getValidInteger with the supplied errorList to capture ValidationExceptionsjava.lang.StringDefaultValidator. getValidListItem(java.lang.String context, java.lang.String input, java.util.List<java.lang.String> list)Returns the list item that exactly matches the canonicalized input.java.lang.StringDefaultValidator. getValidListItem(java.lang.String context, java.lang.String input, java.util.List<java.lang.String> list, ValidationErrorList errors)ValidationErrorList variant of getValidListItemjava.lang.DoubleDefaultValidator. getValidNumber(java.lang.String context, java.lang.String input, long minValue, long maxValue, boolean allowNull)Returns a validated number as a double within the range of minValue to maxValue.java.lang.DoubleDefaultValidator. getValidNumber(java.lang.String context, java.lang.String input, long minValue, long maxValue, boolean allowNull, ValidationErrorList errors)Calls getValidSafeHTML with the supplied errorList to capture ValidationExceptionschar[]DefaultValidator. getValidPrintable(java.lang.String context, char[] input, int maxLength, boolean allowNull)Returns canonicalized and validated printable characters as a byte array.char[]DefaultValidator. getValidPrintable(java.lang.String context, char[] input, int maxLength, boolean allowNull, ValidationErrorList errors)ValidationErrorList variant of getValidPrintablejava.lang.StringDefaultValidator. getValidPrintable(java.lang.String context, java.lang.String input, int maxLength, boolean allowNull)Returns canonicalized and validated printable characters as a String.java.lang.StringDefaultValidator. getValidPrintable(java.lang.String context, java.lang.String input, int maxLength, boolean allowNull, ValidationErrorList errors)ValidationErrorList variant of getValidPrintablejava.lang.StringDefaultValidator. getValidRedirectLocation(java.lang.String context, java.lang.String input, boolean allowNull)Returns a canonicalized and validated redirect location as a String.java.lang.StringDefaultValidator. getValidRedirectLocation(java.lang.String context, java.lang.String input, boolean allowNull, ValidationErrorList errors)ValidationErrorList variant of getValidRedirectLocationjava.lang.StringDefaultValidator. getValidSafeHTML(java.lang.String context, java.lang.String input, int maxLength, boolean allowNull)Returns canonicalized and validated "safe" HTML that does not contain unwanted scripts in the body, attributes, CSS, URLs, or anywhere else.java.lang.StringDefaultValidator. getValidSafeHTML(java.lang.String context, java.lang.String input, int maxLength, boolean allowNull, ValidationErrorList errors)Calls getValidSafeHTML with the supplied errorList to capture ValidationExceptionsbooleanDefaultValidator. isValidCreditCard(java.lang.String context, java.lang.String input, boolean allowNull)Calls getValidCreditCard and returns true if no exceptions are thrown.booleanDefaultValidator. isValidCreditCard(java.lang.String context, java.lang.String input, boolean allowNull, ValidationErrorList errors)Calls getValidCreditCard and returns true if no exceptions are thrown.booleanDefaultValidator. isValidDate(java.lang.String context, java.lang.String input, java.text.DateFormat format, boolean allowNull)Calls isValidDate and returns true if no exceptions are thrown.booleanDefaultValidator. isValidDate(java.lang.String context, java.lang.String input, java.text.DateFormat format, boolean allowNull, ValidationErrorList errors)Calls isValidDate and returns true if no exceptions are thrown.booleanDefaultValidator. isValidDirectoryPath(java.lang.String context, java.lang.String input, java.io.File parent, boolean allowNull)Calls getValidDirectoryPath and returns true if no exceptions are thrown.booleanDefaultValidator. isValidDirectoryPath(java.lang.String context, java.lang.String input, java.io.File parent, boolean allowNull, ValidationErrorList errors)Calls getValidDirectoryPath and returns true if no exceptions are thrown.booleanDefaultValidator. isValidDouble(java.lang.String context, java.lang.String input, double minValue, double maxValue, boolean allowNull)Calls getValidDouble and returns true if no exceptions are thrown.booleanDefaultValidator. isValidDouble(java.lang.String context, java.lang.String input, double minValue, double maxValue, boolean allowNull, ValidationErrorList errors)Calls getValidDouble and returns true if no exceptions are thrown.booleanDefaultValidator. isValidFileContent(java.lang.String context, byte[] input, int maxBytes, boolean allowNull)Calls getValidFileContent and returns true if no exceptions are thrown.booleanDefaultValidator. isValidFileContent(java.lang.String context, byte[] input, int maxBytes, boolean allowNull, ValidationErrorList errors)Calls getValidFileContent and returns true if no exceptions are thrown.booleanDefaultValidator. isValidFileName(java.lang.String context, java.lang.String input, boolean allowNull)Calls getValidFileName with the default list of allowedExtensionsbooleanDefaultValidator. isValidFileName(java.lang.String context, java.lang.String input, boolean allowNull, ValidationErrorList errors)Calls getValidFileName with the default list of allowedExtensionsbooleanDefaultValidator. isValidFileName(java.lang.String context, java.lang.String input, java.util.List<java.lang.String> allowedExtensions, boolean allowNull)Calls getValidFileName and returns true if no exceptions are thrown.booleanDefaultValidator. isValidFileName(java.lang.String context, java.lang.String input, java.util.List<java.lang.String> allowedExtensions, boolean allowNull, ValidationErrorList errors)Calls getValidFileName and returns true if no exceptions are thrown.booleanDefaultValidator. isValidFileUpload(java.lang.String context, java.lang.String directorypath, java.lang.String filename, java.io.File parent, byte[] content, int maxBytes, boolean allowNull)Calls getValidFileUpload and returns true if no exceptions are thrown.booleanDefaultValidator. isValidFileUpload(java.lang.String context, java.lang.String directorypath, java.lang.String filename, java.io.File parent, byte[] content, int maxBytes, boolean allowNull, ValidationErrorList errors)Calls getValidFileUpload and returns true if no exceptions are thrown.booleanDefaultValidator. isValidInput(java.lang.String context, java.lang.String input, java.lang.String type, int maxLength, boolean allowNull)Returns true if data received from browser is valid.booleanDefaultValidator. isValidInput(java.lang.String context, java.lang.String input, java.lang.String type, int maxLength, boolean allowNull, boolean canonicalize)booleanDefaultValidator. isValidInput(java.lang.String context, java.lang.String input, java.lang.String type, int maxLength, boolean allowNull, boolean canonicalize, ValidationErrorList errors)booleanDefaultValidator. isValidInput(java.lang.String context, java.lang.String input, java.lang.String type, int maxLength, boolean allowNull, ValidationErrorList errors)booleanDefaultValidator. isValidInteger(java.lang.String context, java.lang.String input, int minValue, int maxValue, boolean allowNull)Calls getValidInteger and returns true if no exceptions are thrown.booleanDefaultValidator. isValidInteger(java.lang.String context, java.lang.String input, int minValue, int maxValue, boolean allowNull, ValidationErrorList errors)Calls getValidInteger and returns true if no exceptions are thrown.booleanDefaultValidator. isValidNumber(java.lang.String context, java.lang.String input, long minValue, long maxValue, boolean allowNull)Calls getValidNumber and returns true if no exceptions are thrown.booleanDefaultValidator. isValidNumber(java.lang.String context, java.lang.String input, long minValue, long maxValue, boolean allowNull, ValidationErrorList errors)Calls getValidNumber and returns true if no exceptions are thrown.booleanDefaultValidator. isValidPrintable(java.lang.String context, char[] input, int maxLength, boolean allowNull)Calls getValidPrintable and returns true if no exceptions are thrown.booleanDefaultValidator. isValidPrintable(java.lang.String context, char[] input, int maxLength, boolean allowNull, ValidationErrorList errors)Calls getValidPrintable and returns true if no exceptions are thrown.booleanDefaultValidator. isValidPrintable(java.lang.String context, java.lang.String input, int maxLength, boolean allowNull)Calls getValidPrintable and returns true if no exceptions are thrown.booleanDefaultValidator. isValidPrintable(java.lang.String context, java.lang.String input, int maxLength, boolean allowNull, ValidationErrorList errors)Calls getValidPrintable and returns true if no exceptions are thrown.booleanDefaultValidator. isValidRedirectLocation(java.lang.String context, java.lang.String input, boolean allowNull)Returns true if input is a valid redirect location.booleanDefaultValidator. isValidRedirectLocation(java.lang.String context, java.lang.String input, boolean allowNull, ValidationErrorList errors)Returns true if input is a valid redirect location.booleanDefaultValidator. isValidSafeHTML(java.lang.String context, java.lang.String input, int maxLength, boolean allowNull)Calls getValidSafeHTML and returns true if no exceptions are thrown.booleanDefaultValidator. isValidSafeHTML(java.lang.String context, java.lang.String input, int maxLength, boolean allowNull, ValidationErrorList errors)Calls getValidSafeHTML and returns true if no exceptions are thrown.voidDefaultHTTPUtilities. verifyCSRFToken()Calls verifyCSRFToken with the *current* request.voidDefaultHTTPUtilities. verifyCSRFToken(javax.servlet.http.HttpServletRequest request)Checks the CSRF token in the URL (see User.getCSRFToken()) against the user's CSRF token and throws an IntrusionException if it is missing.
-