diff --git a/viewsh-module-video/viewsh-module-video-server/src/main/java/com/viewsh/module/video/conf/security/JwtUtils.java b/viewsh-module-video/viewsh-module-video-server/src/main/java/com/viewsh/module/video/conf/security/JwtUtils.java deleted file mode 100644 index 16e609dc..00000000 --- a/viewsh-module-video/viewsh-module-video-server/src/main/java/com/viewsh/module/video/conf/security/JwtUtils.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.viewsh.module.video.conf.security; - -/** - * JWT utility stub — WVP authentication removed, replaced by viewsh Security framework. - * This class exists only to satisfy unused imports and annotation references in migrated controllers. - * TODO: Phase 6 - remove all references to this class from controllers - * - * @deprecated Use viewsh SecurityFrameworkUtils instead - */ -@Deprecated -public class JwtUtils { - - /** - * HTTP header name for JWT token — used in Swagger @SecurityRequirement annotations. - * TODO: Phase 6 - replace with viewsh security header name - */ - public static final String HEADER = "Authorization"; - - private JwtUtils() { - // utility stub, not instantiable - } -} diff --git a/viewsh-module-video/viewsh-module-video-server/src/main/java/com/viewsh/module/video/conf/security/SecurityUtils.java b/viewsh-module-video/viewsh-module-video-server/src/main/java/com/viewsh/module/video/conf/security/SecurityUtils.java deleted file mode 100644 index 82bf72af..00000000 --- a/viewsh-module-video/viewsh-module-video-server/src/main/java/com/viewsh/module/video/conf/security/SecurityUtils.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.viewsh.module.video.conf.security; - -import com.viewsh.module.video.conf.security.dto.LoginUser; - -/** - * WVP SecurityUtils stub — replaced by viewsh Security framework. - * TODO: Phase 6 - replace usages with viewsh SecurityFrameworkUtils - * - * @deprecated Use viewsh SecurityFrameworkUtils instead - */ -@Deprecated -public class SecurityUtils { - - private SecurityUtils() { - // utility stub - } - - /** - * Get current login user info. - * TODO: Phase 6 - implement using viewsh SecurityFrameworkUtils.getLoginUser() - */ - public static LoginUser getUserInfo() { - // Stub: always returns null (anonymous user) until Phase 6 auth integration - return null; - } -} diff --git a/viewsh-module-video/viewsh-module-video-server/src/main/java/com/viewsh/module/video/conf/security/dto/LoginUser.java b/viewsh-module-video/viewsh-module-video-server/src/main/java/com/viewsh/module/video/conf/security/dto/LoginUser.java deleted file mode 100644 index d9c509bf..00000000 --- a/viewsh-module-video/viewsh-module-video-server/src/main/java/com/viewsh/module/video/conf/security/dto/LoginUser.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.viewsh.module.video.conf.security.dto; - -/** - * WVP LoginUser stub — replaced by viewsh Security framework. - * TODO: Phase 6 - replace usages with viewsh LoginUser - * - * @deprecated Use viewsh SecurityFrameworkUtils instead - */ -@Deprecated -public class LoginUser { - - private Long id; - private String username; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getUsername() { - return username; - } - - public void setUsername(String username) { - this.username = username; - } -}