mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-01 10:59:16 +00:00
Fix HttpSecurity logout JavaDoc
Removed error provoking extra logout() from example code
This commit is contained in:
parent
1d271184c9
commit
bd0c8a7baa
@ -719,7 +719,7 @@ public final class HttpSecurity extends
|
||||
* http.authorizeRequests().antMatchers("/**").hasRole("USER").and().formLogin()
|
||||
* .and()
|
||||
* // sample logout customization
|
||||
* .logout().logout().deleteCookies("remove").invalidateHttpSession(false)
|
||||
* .logout().deleteCookies("remove").invalidateHttpSession(false)
|
||||
* .logoutUrl("/custom-logout").logoutSuccessUrl("/logout-success");
|
||||
* }
|
||||
*
|
||||
@ -1245,4 +1245,4 @@ public final class HttpSecurity extends
|
||||
}
|
||||
return apply(configurer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user