@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        UsernamePasswordCredentials that = (UsernamePasswordCredentials) o;
        return Arrays.equals(password, that.password) && Objects
            .equals(principle, that.principle);
    }
Simple username and password credentials.

When used with try-with-resources or #close the password array will be overwritten with
<tt>\ u0000</tt> characters.

@author Marc Savy {@literal <marc@blackparrotlabs.io>}
gateway/platforms/vertx3/vertx3/src/main/java/io/apiman/gateway/platforms/vertx3/engine/proxy/UsernamePasswordCredentials.java