public void init(String username, Credentials credentials) {
        this.credentials = credentials;
        setIdentifier(username.toLowerCase());
    }
public void init ( String username , Credentials credentials ) { this . credentials = credentials ; setIdentifier ( username . toLowerCase ( ) ) ; }
Initializes this AuthenticatedUser using the given username and
credentials.

@param username
The username of the user that was authenticated.

@param credentials
The credentials provided when this user was authenticated.