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

            return
                ((
                     Path == other.Path ||
                     Path != null &&
                     Path.Equals(other.Path)
                     ) &&
                 (
                     ServiceRanking == other.ServiceRanking ||
                     ServiceRanking != null &&
                     ServiceRanking.Equals(other.ServiceRanking)
                 ) &&
                 (
                     JaasControlFlag == other.JaasControlFlag ||
                     JaasControlFlag != null &&
                     JaasControlFlag.Equals(other.JaasControlFlag)
                 ) &&
                 (
                     JaasRealmName == other.JaasRealmName ||
                     JaasRealmName != null &&
                     JaasRealmName.Equals(other.JaasRealmName)
                 ) &&
                 (
                     JaasRanking == other.JaasRanking ||
                     JaasRanking != null &&
                     JaasRanking.Equals(other.JaasRanking)
                 ) &&
                 (
                     Headers == other.Headers ||
                     Headers != null &&
                     Headers.Equals(other.Headers)
                 ) &&
                 (
                     Cookies == other.Cookies ||
                     Cookies != null &&
                     Cookies.Equals(other.Cookies)
                 ) &&
                 (
                     Parameters == other.Parameters ||
                     Parameters != null &&
                     Parameters.Equals(other.Parameters)
                 ) &&
                 (
                     Usermap == other.Usermap ||
                     Usermap != null &&
                     Usermap.Equals(other.Usermap)
                 ) &&
                 (
                     Format == other.Format ||
                     Format != null &&
                     Format.Equals(other.Format)
                 ) &&
                 (
                     TrustedCredentialsAttribute == other.TrustedCredentialsAttribute ||
                     TrustedCredentialsAttribute != null &&
                     TrustedCredentialsAttribute.Equals(other.TrustedCredentialsAttribute)
                 ));
        }