@Override
    public String toString() {

        AuthenticatedUser user = event.getAuthenticatedUser();
        String identifier = user.getIdentifier();

        if (AuthenticatedUser.ANONYMOUS_IDENTIFIER.equals(identifier))
            return "Anonymous user (authenticated by \"" + user.getAuthenticationProvider().getIdentifier() + "\")";

        return "User \"" + identifier + "\" (authenticated by \"" + user.getAuthenticationProvider().getIdentifier() + "\")";
        
    }
Creates a new RequestingUser that represents the user that requested the
operation described by the given event.

@param event
    The event representing the requested operation.
guacamole/src/main/java/org/apache/guacamole/event/RequestingUser.java