Added root RequestMapping annotation to ManagerController.java - Spring requires there to be a mapping on the root of controllers.

AuthZ server is up, needs further testing to see if it is behaving as expected.
pull/59/head
Amanda Anganes 13 years ago
parent 7e4e1c9fa9
commit 00822e0ead

@ -8,6 +8,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
*/
@Controller
@RequestMapping("/manager")
public class ManagerController {
@RequestMapping({"/", "/home", "/index"})

@ -6,13 +6,28 @@
<!-- 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 -->
<listener>
<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>

Loading…
Cancel
Save