public void setUserId(Long userId) {
        this.userId = userId;
    }
Command binding object for editing a user.
samples/spring-hibernate/src/main/java/org/apache/shiro/samples/sprhib/web/EditUserCommand.java