mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-27 06:12:27 +00:00
parent
3935f4bffe
commit
c1b0e5930a
@ -199,8 +199,9 @@ public final class SessionManagementConfigurer<H extends HttpSecurityBuilder<H>>
|
|||||||
/**
|
/**
|
||||||
* If set to true, allows HTTP sessions to be rewritten in the URLs when using
|
* If set to true, allows HTTP sessions to be rewritten in the URLs when using
|
||||||
* {@link HttpServletResponse#encodeRedirectURL(String)} or
|
* {@link HttpServletResponse#encodeRedirectURL(String)} or
|
||||||
* {@link HttpServletResponse#encodeURL(String)}, otherwise disallows HTTP sessions to
|
* {@link HttpServletResponse#encodeURL(String)}, otherwise disallows all URL
|
||||||
* be included in the URL. This prevents leaking information to external domains.
|
* rewriting, including resource chain functionality.
|
||||||
|
* This prevents leaking information to external domains.
|
||||||
* @param enableSessionUrlRewriting true if should allow the JSESSIONID to be
|
* @param enableSessionUrlRewriting true if should allow the JSESSIONID to be
|
||||||
* rewritten into the URLs, else false (default)
|
* rewritten into the URLs, else false (default)
|
||||||
* @return the {@link SessionManagementConfigurer} for further customization
|
* @return the {@link SessionManagementConfigurer} for further customization
|
||||||
|
Loading…
x
Reference in New Issue
Block a user