mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-06 05:17:46 +08:00
refactor: 优化上下文传递
This commit is contained in:
@@ -10,7 +10,7 @@ import javax.annotation.Nonnull;
|
||||
public class AuthenticationThreadLocalAccessor
|
||||
implements ThreadLocalAccessor<Authentication> {
|
||||
|
||||
static final String KEY = "cp.hs.auth";
|
||||
static final Object KEY = Authentication.class;
|
||||
|
||||
static {
|
||||
ReactiveAuthenticationHolder.addSupplier(
|
||||
|
||||
Reference in New Issue
Block a user