public interface ConfigurationProvider
| Modifier and Type | Method and Description |
|---|---|
List<IAction> |
getActions()
TODO document
|
String |
getDomainOrigin()
TODO document
|
String |
getJavascriptCacheControl()
TODO document
|
String |
getJavascriptDynamicNodeCreationEventName()
TODO
|
Pattern |
getJavascriptRefererPattern()
TODO document
|
String |
getJavascriptSourceFile()
TODO document
|
String |
getJavascriptTemplateCode()
TODO document
|
String |
getJavascriptUnprotectedExtensions()
TODO document
example: "js,css,gif,png,ico,jpg"
|
String |
getJavascriptXrequestedWith()
TODO document
|
ILogger |
getLogger()
TODO document
|
LogicalSessionExtractor |
getLogicalSessionExtractor()
TODO document
|
String |
getNewTokenLandingPage()
TODO document
|
Duration |
getPageTokenSynchronizationTolerance()
TODO document
|
SecureRandom |
getPrng()
TODO document
|
Set<String> |
getProtectedMethods()
TODO document
|
Set<String> |
getProtectedPages()
TODO document
|
TokenHolder |
getTokenHolder()
TODO document
|
int |
getTokenLength()
TODO document
|
String |
getTokenName()
TODO document
|
Set<String> |
getUnprotectedMethods()
if there are methods here, then all other HTTP methods are protected and these (e.g.
|
Set<String> |
getUnprotectedPages()
TODO document
|
boolean |
isAjaxEnabled()
TODO document
|
boolean |
isCacheable()
TODO document
|
boolean |
isEnabled()
if the filter is enabled
|
boolean |
isForceSynchronousAjax()
TODO document
|
boolean |
isJavascriptDomainStrict()
TODO document
|
boolean |
isJavascriptInjectFormAttributes()
if the token should be injected in the action in forms
note, if injectIntoForms is true, then this might not need to be true
|
boolean |
isJavascriptInjectGetForms()
if the token should be injected in GET forms (which will be on the URL)
if the HTTP method GET is unprotected, then this should likely be false
|
boolean |
isJavascriptInjectIntoAttributes()
TODO document
|
boolean |
isJavascriptInjectIntoDynamicallyCreatedNodes()
TODO
|
boolean |
isJavascriptInjectIntoForms()
TODO document
|
boolean |
isJavascriptRefererMatchDomain()
if the referer to the javascript must match domain
|
boolean |
isJavascriptRefererMatchProtocol()
if the referer to the javascript must match match the protocol of the domain
|
boolean |
isPrintConfig()
TODO document
|
boolean |
isProtectEnabled()
The default behavior of CSRFGuard is to protect all pages.
|
boolean |
isRotateEnabled()
TODO document
|
boolean |
isTokenPerPageEnabled()
TODO document
|
boolean |
isTokenPerPagePrecreateEnabled()
TODO document
|
boolean |
isUseNewTokenLandingPage()
TODO document
|
boolean |
isValidateWhenNoSessionExists()
If csrf guard filter should check even if there is no session for the user
Note: this changed around 2014/04, the default behavior used to be to
not check if there is no session.
|
boolean isCacheable()
boolean isPrintConfig()
ILogger getLogger()
String getTokenName()
boolean isValidateWhenNoSessionExists()
int getTokenLength()
boolean isRotateEnabled()
boolean isTokenPerPageEnabled()
boolean isTokenPerPagePrecreateEnabled()
SecureRandom getPrng()
String getNewTokenLandingPage()
boolean isUseNewTokenLandingPage()
boolean isAjaxEnabled()
boolean isProtectEnabled()
boolean isForceSynchronousAjax()
Set<String> getUnprotectedMethods()
boolean isEnabled()
String getJavascriptSourceFile()
boolean isJavascriptDomainStrict()
String getDomainOrigin()
String getJavascriptCacheControl()
Pattern getJavascriptRefererPattern()
boolean isJavascriptInjectGetForms()
boolean isJavascriptInjectFormAttributes()
boolean isJavascriptInjectIntoForms()
boolean isJavascriptRefererMatchProtocol()
boolean isJavascriptRefererMatchDomain()
boolean isJavascriptInjectIntoAttributes()
boolean isJavascriptInjectIntoDynamicallyCreatedNodes()
String getJavascriptDynamicNodeCreationEventName()
String getJavascriptXrequestedWith()
String getJavascriptTemplateCode()
String getJavascriptUnprotectedExtensions()
TokenHolder getTokenHolder()
LogicalSessionExtractor getLogicalSessionExtractor()
Duration getPageTokenSynchronizationTolerance()
Copyright © 2021 OWASP. All rights reserved.