Add DispatcherType enum for configuration purpose

This commit creates our own version of javax.servlet.DispatcherType for
configuration purpose as we can use the other one now the servlet api
is optional.

Closes gh-9856
This commit is contained in:
Stephane Nicoll
2017-08-24 10:28:59 +02:00
parent 8383648a14
commit f8e08f79ed
7 changed files with 83 additions and 24 deletions

View File

@@ -476,7 +476,7 @@ content into your application; rather pick only the properties that you need.
security.basic.realm=Spring # HTTP basic realm name.
security.enable-csrf=false # Enable Cross Site Request Forgery support.
security.filter-order=0 # Security filter chain order.
security.filter-dispatcher-types=ASYNC, FORWARD, INCLUDE, REQUEST # Security filter chain dispatcher types.
security.filter-dispatcher-types=ASYNC,ERROR,REQUEST # Security filter chain dispatcher types.
security.headers.cache=true # Enable cache control HTTP headers.
security.headers.content-security-policy= # Value for content security policy header.
security.headers.content-security-policy-mode=default # Content security policy mode.