|
|
|
@ -6,7 +6,9 @@
|
|
|
|
|
<!-- The definition of the Root Spring Container shared by all Servlets and Filters -->
|
|
|
|
|
<context-param>
|
|
|
|
|
<param-name>contextConfigLocation</param-name>
|
|
|
|
|
<param-value>/WEB-INF/spring/application-context.xml</param-value>
|
|
|
|
|
<param-value>
|
|
|
|
|
/WEB-INF/spring/application-context.xml
|
|
|
|
|
</param-value>
|
|
|
|
|
</context-param>
|
|
|
|
|
|
|
|
|
|
<!-- Creates the Spring Container shared by all Servlets and Filters -->
|
|
|
|
@ -14,6 +16,19 @@
|
|
|
|
|
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
|
|
|
|
</listener>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Since we defined a custom authorization-endpoint-url, we need an additional filter: -->
|
|
|
|
|
<filter>
|
|
|
|
|
<filter-name>oauth2EndpointUrlFilter</filter-name>
|
|
|
|
|
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
|
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
|
|
<filter-mapping>
|
|
|
|
|
<filter-name>oauth2EndpointUrlFilter</filter-name>
|
|
|
|
|
<url-pattern>/*</url-pattern>
|
|
|
|
|
</filter-mapping>
|
|
|
|
|
|
|
|
|
|
<!-- filter through Spring Security -->
|
|
|
|
|
<filter>
|
|
|
|
|
<filter-name>springSecurityFilterChain</filter-name>
|
|
|
|
|