com.trendmicro.grid.acl.l0
Class Level0RestService.RestUtil

java.lang.Object
  extended by com.trendmicro.grid.acl.l0.Level0RestService.RestUtil
Enclosing interface:
Level0RestService

public static final class Level0RestService.RestUtil
extends Object

Is a collection of utilities for rest related services.


Field Summary
static String[] CROSS_SITE_SCRIPTING_TAGS
          Defines a list of HTML tags that may indicate cross site scripting attacks.
 
Method Summary
static void assertIsNotCrossSiteScriptingVulnerable(String input)
          Validates whether the given input may be vulnerable to cross site scripting when it is interpreted by the browsers HTML engine.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CROSS_SITE_SCRIPTING_TAGS

public static final String[] CROSS_SITE_SCRIPTING_TAGS
Defines a list of HTML tags that may indicate cross site scripting attacks.

Method Detail

assertIsNotCrossSiteScriptingVulnerable

public static void assertIsNotCrossSiteScriptingVulnerable(String input)
Validates whether the given input may be vulnerable to cross site scripting when it is interpreted by the browsers HTML engine.

Parameters:
input - The (un-encoded) input value to check.