/// <summary>
        /// Returns true if ComDayCqWcmFoundationImplHTTPAuthHandlerProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqWcmFoundationImplHTTPAuthHandlerProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqWcmFoundationImplHTTPAuthHandlerProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Path == other.Path ||
                     Path != null &&
                     Path.Equals(other.Path)
                     ) &&
                 (
                     AuthHttpNologin == other.AuthHttpNologin ||
                     AuthHttpNologin != null &&
                     AuthHttpNologin.Equals(other.AuthHttpNologin)
                 ) &&
                 (
                     AuthHttpRealm == other.AuthHttpRealm ||
                     AuthHttpRealm != null &&
                     AuthHttpRealm.Equals(other.AuthHttpRealm)
                 ) &&
                 (
                     AuthDefaultLoginpage == other.AuthDefaultLoginpage ||
                     AuthDefaultLoginpage != null &&
                     AuthDefaultLoginpage.Equals(other.AuthDefaultLoginpage)
                 ) &&
                 (
                     AuthCredForm == other.AuthCredForm ||
                     AuthCredForm != null &&
                     AuthCredForm.Equals(other.AuthCredForm)
                 ) &&
                 (
                     AuthCredUtf8 == other.AuthCredUtf8 ||
                     AuthCredUtf8 != null &&
                     AuthCredUtf8.Equals(other.AuthCredUtf8)
                 ));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Returns true if OrgApacheSlingEngineImplAuthSlingAuthenticatorProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheSlingEngineImplAuthSlingAuthenticatorProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheSlingEngineImplAuthSlingAuthenticatorProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     OsgiHttpWhiteboardContextSelect == other.OsgiHttpWhiteboardContextSelect ||
                     OsgiHttpWhiteboardContextSelect != null &&
                     OsgiHttpWhiteboardContextSelect.Equals(other.OsgiHttpWhiteboardContextSelect)
                     ) &&
                 (
                     OsgiHttpWhiteboardListener == other.OsgiHttpWhiteboardListener ||
                     OsgiHttpWhiteboardListener != null &&
                     OsgiHttpWhiteboardListener.Equals(other.OsgiHttpWhiteboardListener)
                 ) &&
                 (
                     AuthSudoCookie == other.AuthSudoCookie ||
                     AuthSudoCookie != null &&
                     AuthSudoCookie.Equals(other.AuthSudoCookie)
                 ) &&
                 (
                     AuthSudoParameter == other.AuthSudoParameter ||
                     AuthSudoParameter != null &&
                     AuthSudoParameter.Equals(other.AuthSudoParameter)
                 ) &&
                 (
                     AuthAnnonymous == other.AuthAnnonymous ||
                     AuthAnnonymous != null &&
                     AuthAnnonymous.Equals(other.AuthAnnonymous)
                 ) &&
                 (
                     SlingAuthRequirements == other.SlingAuthRequirements ||
                     SlingAuthRequirements != null &&
                     SlingAuthRequirements.Equals(other.SlingAuthRequirements)
                 ) &&
                 (
                     SlingAuthAnonymousUser == other.SlingAuthAnonymousUser ||
                     SlingAuthAnonymousUser != null &&
                     SlingAuthAnonymousUser.Equals(other.SlingAuthAnonymousUser)
                 ) &&
                 (
                     SlingAuthAnonymousPassword == other.SlingAuthAnonymousPassword ||
                     SlingAuthAnonymousPassword != null &&
                     SlingAuthAnonymousPassword.Equals(other.SlingAuthAnonymousPassword)
                 ) &&
                 (
                     AuthHttp == other.AuthHttp ||
                     AuthHttp != null &&
                     AuthHttp.Equals(other.AuthHttp)
                 ) &&
                 (
                     AuthHttpRealm == other.AuthHttpRealm ||
                     AuthHttpRealm != null &&
                     AuthHttpRealm.Equals(other.AuthHttpRealm)
                 ) &&
                 (
                     AuthUriSuffix == other.AuthUriSuffix ||
                     AuthUriSuffix != null &&
                     AuthUriSuffix.Equals(other.AuthUriSuffix)
                 ));
        }