public String login()

in paimon-web-server/src/main/java/org/apache/paimon/web/server/service/impl/UserServiceImpl.java [49:60]


    public String login(String username, String password) throws BaseException {
        User user = this.lambdaQuery().eq(User::getUsername, username).one();
        if (user == null) {
            throw new UserNotExistsException();
        }
        if (!user.getPassword().equals(password)) {
            throw new UserPasswordNotMatchException();
        }
        StpUtil.login(user.getId());

        return StpUtil.getTokenValue();
    }