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();