get logout working
fix issue with white screen after login
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
<http pattern="/images/**" security="none"/>
|
||||
<http pattern="/javascript/**" security="none"/>
|
||||
<http pattern="/favicon.ico" security="none"/>
|
||||
<http auto-config="true" use-expressions="true">
|
||||
<http use-expressions="true">
|
||||
<intercept-url pattern="/login.do" access="permitAll" />
|
||||
<intercept-url pattern="/logout.do" access="permitAll" />
|
||||
<intercept-url pattern="/servlet/AdminServlet/**" access="hasAnyRole('ROLE_WEBGOAT_ADMIN','ROLE_SERVER_ADMIN')" />
|
||||
@ -27,9 +27,9 @@
|
||||
authentication-failure-url="/login.do?error"
|
||||
username-parameter="username"
|
||||
password-parameter="password" />
|
||||
<logout logout-success-url="/logout.do" />
|
||||
<logout logout-url="/j_spring_security_logout" logout-success-url="/logout.do" />
|
||||
<!-- enable csrf protection -->
|
||||
<csrf/>
|
||||
<!--csrf/-->
|
||||
</http>
|
||||
|
||||
<!-- Authentication Manager -->
|
||||
|
Reference in New Issue
Block a user