public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof SecurityHeader)) return false;
        SecurityHeader other = (SecurityHeader) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true &&
            ((this.usernameToken==null && other.getUsernameToken()==null) ||
             (this.usernameToken!=null &&
              this.usernameToken.equals(other.getUsernameToken())));
        __equalsCalc = null;
        return _equals;
    }