[Esapi-user] How to define "Context" in the ESAPI.validator().getValidInput

weiping guo weiping_guo at yahoo.com
Fri May 20 10:30:06 EDT 2011

Hi All,

I just started learning ESAPI. One puzzle I have is the context used in validator. I am not sure how it is defined and mapped somehow, or just some identification. 

The SwingSet example shows the following code:

ESAPI.validator().getValidInput("Swingset Validation Secure Exercise",input,type,200,false);

It is not clear to me what context "Swingset Validation Secure Exercise” means in here? 

Any suggestions and comments are appreciated!


More information about the Esapi-user mailing list