提交 89515df9 编写于 作者: J Jesse Glick

Added @since.

(Method actually introduced in 1.461, but was wrong—corrected in 1.462.)
上级 c9adc144
......@@ -121,6 +121,7 @@ public abstract class ACL {
* <p>
* We need to create a new {@link SecurityContext} instead of {@link SecurityContext#setAuthentication(Authentication)}
* because the same {@link SecurityContext} object is reused for all the concurrent requests from the same session.
* @since 1.462
*/
public static SecurityContext impersonate(Authentication auth) {
SecurityContext old = SecurityContextHolder.getContext();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册