Acegi security / Login-Logout and remember ok (next step: dynamical menu and user info when authentified)
This commit is contained in:
@@ -42,20 +42,6 @@
|
||||
<filter-name>lazyLoadingFilter</filter-name>
|
||||
<filter-class>org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter</filter-class>
|
||||
</filter>
|
||||
|
||||
<!-- SiteMesh Integration declaration Start -->
|
||||
<filter>
|
||||
<filter-name>sitemesh</filter-name>
|
||||
<filter-class>
|
||||
com.opensymphony.module.sitemesh.filter.PageFilter
|
||||
</filter-class>
|
||||
</filter>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>sitemesh</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<!-- SiteMesh Integration declaration End -->
|
||||
|
||||
<!-- Acegi Security declaration Start -->
|
||||
<filter>
|
||||
@@ -72,6 +58,21 @@
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
|
||||
<!-- SiteMesh Integration declaration Start -->
|
||||
<filter>
|
||||
<filter-name>sitemesh</filter-name>
|
||||
<filter-class>
|
||||
com.opensymphony.module.sitemesh.filter.PageFilter
|
||||
</filter-class>
|
||||
</filter>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>sitemesh</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<!-- SiteMesh Integration declaration End -->
|
||||
|
||||
<!-- Load Context for Acegi security -->
|
||||
<listener>
|
||||
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
||||
@@ -91,11 +92,22 @@
|
||||
</filter-class>
|
||||
</filter>
|
||||
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>SessionService</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<!-- SessionService Integration declaration End -->
|
||||
|
||||
<!-- no access error -->
|
||||
<error-page>
|
||||
<error-code>403</error-code>
|
||||
<location>/WEB-INF/jsp/errors/403error.jsp</location>
|
||||
</error-page>
|
||||
|
||||
<!-- page not found error -->
|
||||
<error-page>
|
||||
<error-code>404</error-code>
|
||||
<location>/WEB-INF/jsp/errors/404error.jsp</location>
|
||||
</error-page>
|
||||
|
||||
</web-app>
|
||||
Reference in New Issue
Block a user