|
|
|
@ -16,6 +16,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
package org.springframework.security.web.context; |
|
|
|
package org.springframework.security.web.context; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import jakarta.servlet.http.HttpServletRequest; |
|
|
|
import jakarta.servlet.http.HttpServletResponse; |
|
|
|
import jakarta.servlet.http.HttpServletResponse; |
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.security.core.context.SecurityContext; |
|
|
|
import org.springframework.security.core.context.SecurityContext; |
|
|
|
@ -39,7 +40,10 @@ import org.springframework.security.web.util.OnCommittedResponseWrapper; |
|
|
|
* @author Marten Algesten |
|
|
|
* @author Marten Algesten |
|
|
|
* @author Rob Winch |
|
|
|
* @author Rob Winch |
|
|
|
* @since 3.0 |
|
|
|
* @since 3.0 |
|
|
|
|
|
|
|
* @deprecated Use {@link SecurityContextRepository#loadContext(HttpServletRequest)} |
|
|
|
|
|
|
|
* instead. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@Deprecated |
|
|
|
public abstract class SaveContextOnUpdateOrErrorResponseWrapper extends OnCommittedResponseWrapper { |
|
|
|
public abstract class SaveContextOnUpdateOrErrorResponseWrapper extends OnCommittedResponseWrapper { |
|
|
|
|
|
|
|
|
|
|
|
private boolean contextSaved = false; |
|
|
|
private boolean contextSaved = false; |
|
|
|
|