public interface CsrfCheck extends ServerExtension, jetbrains.buildServer.log.Loggable
Modifier and Type | Interface and Description |
---|---|
static class |
CsrfCheck.CheckResult |
static interface |
CsrfCheck.Handler |
Modifier and Type | Field and Description |
---|---|
static java.util.Set<java.lang.String> |
ACTION_METHODS |
static CsrfCheck.CheckResult |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
CsrfCheck.CheckResult |
isSafe(javax.servlet.http.HttpServletRequest request)
Check the request for access safety.
|
static final java.util.Set<java.lang.String> ACTION_METHODS
static final CsrfCheck.CheckResult UNKNOWN
CsrfCheck.CheckResult isSafe(@NotNull javax.servlet.http.HttpServletRequest request)
CsrfCheck.CheckResult.safe()
when the request is possibly safe (and other checks should be made, for a possible CsrfCheck.CheckResult.unsafe(String)
return value);CsrfCheck.CheckResult.unsafe(String)
when the request is definitely unsafe, no further checks is madeUNKNOWN
when the check can say nothing about such a request