ServiceAuthenticationBehavior(ServiceAuthenticationBehavior other) { this.serviceAuthenticationManager = other.ServiceAuthenticationManager; this.authenticationSchemes = other.authenticationSchemes; this.isReadOnly = other.isReadOnly; this.isAuthenticationManagerSet = other.isAuthenticationManagerSet; this.isAuthenticationSchemesSet = other.isAuthenticationSchemesSet; }
internal SCTServiceAuthenticationManagerWrapper(ServiceAuthenticationManager wrappedServiceAuthManager) { if (wrappedServiceAuthManager == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("wrappedServiceAuthManager"); } this.wrappedAuthenticationManager = wrappedServiceAuthManager; }
internal SCTServiceAuthenticationManagerWrapper(ServiceAuthenticationManager wrappedServiceAuthManager) { if (wrappedServiceAuthManager == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("wrappedServiceAuthManager"); } this.wrappedAuthenticationManager = wrappedServiceAuthManager; }
internal ServiceAuthenticationManagerWrapper(ServiceAuthenticationManager wrappedServiceAuthManager, string[] actionUriFilter) { if (wrappedServiceAuthManager == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("wrappedServiceAuthManager"); } if ((actionUriFilter != null) && (actionUriFilter.Length > 0)) { this.filteredActionUriCollection = new string[actionUriFilter.Length]; for (int i = 0; i < actionUriFilter.Length; i++) { this.filteredActionUriCollection[i] = actionUriFilter[i]; } } this.wrappedAuthenticationManager = wrappedServiceAuthManager; }
void IServiceBehavior.AddBindingParameters(System.ServiceModel.Description.ServiceDescription description, ServiceHostBase serviceHostBase, Collection <ServiceEndpoint> endpoints, BindingParameterCollection parameters) { if (parameters == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("parameters"); } System.ServiceModel.ServiceAuthenticationManager manager = parameters.Find <System.ServiceModel.ServiceAuthenticationManager>(); if (manager != null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(System.ServiceModel.SR.GetString("MultipleAuthenticationManagersInServiceBindingParameters", new object[] { manager }))); } if (this.serviceAuthenticationManager != null) { parameters.Add(this.serviceAuthenticationManager); } }
internal ServiceAuthenticationManagerWrapper(ServiceAuthenticationManager wrappedServiceAuthManager, string[] actionUriFilter) { if (wrappedServiceAuthManager == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("wrappedServiceAuthManager"); } if ((actionUriFilter != null) && (actionUriFilter.Length > 0)) { this.filteredActionUriCollection = new string[actionUriFilter.Length]; for (int i = 0; i < actionUriFilter.Length; i++) { this.filteredActionUriCollection[i] = actionUriFilter[i]; } } this.wrappedAuthenticationManager = wrappedServiceAuthManager; }
private ServiceAuthenticationBehavior(ServiceAuthenticationBehavior other) { this.serviceAuthenticationManager = other.ServiceAuthenticationManager; this.isReadOnly = other.isReadOnly; }
private AuthenticationBehavior(ServiceAuthenticationManager authenticationManager) { this.serviceAuthenticationManager = authenticationManager; }
private ServiceAuthenticationBehavior(ServiceAuthenticationBehavior other) { this.serviceAuthenticationManager = other.ServiceAuthenticationManager; this.isReadOnly = other.isReadOnly; }