@Override
    public void doPreProcess(final Object bean, final Method method, final Stopwatch stopwatch) {
        // If the Super Administrator privilege attribute is not enabled
        if (!Boolean.TRUE.equals(properties.getEnableOnlySuperAdminPermission())) {
            // skip
            return;
        }
        if (!Boolean.TRUE.equals(properties.getEnableSuperAdminPasswordSafe())) {
            return;
        }
        // if not supper admin
        if (!SessionUtil.isAdmin()) {
            // skip
            return;
        }
        
        final RequiresPermissions permissions = AnnotatedElementUtils.findMergedAnnotation(method, RequiresPermissions.class);
        if (Objects.isNull(permissions) || Objects.isNull(permissions.value())) {
            return;
        }
        // This method exists in the list of super administrator privileges
        if (properties.getOnlySuperAdminPermission()
                .stream()
                .anyMatch(p -> Arrays.asList(permissions.value()).contains(p))) {
            
            userService.checkUserPassword(SessionUtil.visitor().getUserId());
        }
        
    }
SuperAdminPasswordSafeAdvice.<br>
<p>The Super Administrator account has some privileges that are dangerous and unique to the account</p>
<p>This is implemented to ensure that the super administrator account password is secure</p>
<p>1 The password is the initial password, which we consider dangerous and will force it to change the password if the user is so set</p>
<p>2 If the password has not been changed for a long time, we consider this risky and will force the user to change the password</p>
shenyu-admin/src/main/java/org/apache/shenyu/admin/aspect/controller/SuperAdminPasswordSafeAdvice.java