public void setUsername(String username) {
        this.username = username;
    }
Sets the username for submission during an authentication attempt.

@param username the username to be used for submission during an authentication attempt.
core/src/main/java/org/apache/shiro/authc/UsernamePasswordToken.java