@Override
    public Optional<Buffer> getUser() {
        // TODO: this is not 100% correct since it may
        // actually contain a password as well.
        if (this.userInfo != null) {
            return Optional.of(this.userInfo.slice());
        }

        return Optional.empty();
    }
@ Override public Optional < Buffer > getUser ( ) { if ( this . userInfo != null ) { return Optional . of ( this . userInfo . slice ( ) ) ; } return Optional . empty ( ) ; }
{@inheritDoc}