Package org.owasp.csrfguard
Class CsrfValidator
- java.lang.Object
-
- org.owasp.csrfguard.CsrfValidator
-
public final class CsrfValidator extends Object
-
-
Constructor Summary
Constructors Constructor Description CsrfValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProtectionResultisProtectedPage(String normalizedResourceUri)ProtectionResultisProtectedPageAndMethod(String page, String method)booleanisValid(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-
-
Method Detail
-
isValid
public boolean isValid(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
isProtectedPageAndMethod
public ProtectionResult isProtectedPageAndMethod(String page, String method)
-
isProtectedPage
public ProtectionResult isProtectedPage(String normalizedResourceUri)
-
-