#6607·shenyu

[Task] Deprecated raw-password auth path still exported on public service interface

Author: Aias00Created Aug 2, 2026Updated Sep 26, 2026
Labelstype: refactoradmin: permissionpriority: medium

Description

All three @Deprecated ("do not use … for authentication with raw passwords"). The impl still calls the mapper directly. PasswordHashService is the replacement but the raw-password entry point remains on a public service interface with no removal version.

Location

shenyu-admin/.../mapper/DashboardUserMapper.java:69
.../service/DashboardUserService.java:91
.../service/impl/DashboardUserServiceImpl.java:266

Impact

Misleading API surface; security-sensitive deprecation without removal target.

Suggested fix

Set a removal version; gate the impl to delegate to PasswordHashService; or remove the public method.

Related existing issue(s)

Adjacent to #5255/#4602 (closed password-security tasks) but this is the lingering deprecated public surface.

Identified during the 2026-08-02 audit; full list in docs/issue-candidates-2026-08-02.md.