From a972b60cc5ece0a031bed00bbe21162eff34fd75 Mon Sep 17 00:00:00 2001 From: gsd Date: Tue, 26 May 2026 17:23:23 +0300 Subject: [PATCH] ws fix --- src/main/java/app/annotations/impl/WebAccessAspect.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/app/annotations/impl/WebAccessAspect.java b/src/main/java/app/annotations/impl/WebAccessAspect.java index e6d9115..3a1a122 100644 --- a/src/main/java/app/annotations/impl/WebAccessAspect.java +++ b/src/main/java/app/annotations/impl/WebAccessAspect.java @@ -48,6 +48,11 @@ public class WebAccessAspect { } } + @Before("@annotation(app.annotations.interfaces.CheckWebAccess) && args(session)") + public void beforeWS(JoinPoint joinPoint, WebSocketSession session) throws IOException { + before(joinPoint, session); + } + @Before("@annotation(app.annotations.interfaces.CheckWebAccess) && args(session,..)") public void before(JoinPoint joinPoint, WebSocketSession session) throws IOException { AuthMethod auth_method = ((MethodSignature) joinPoint.getSignature()).getMethod().getAnnotation(CheckWebAccess.class).auth_method();