private ServiceAuthorizationBehavior(ServiceAuthorizationBehavior other) { this.impersonateCallerForAllOperations = other.impersonateCallerForAllOperations; this.principalPermissionMode = other.principalPermissionMode; this.roleProvider = other.roleProvider; this.isExternalPoliciesSet = other.isExternalPoliciesSet; this.isAuthorizationManagerSet = other.isAuthorizationManagerSet; if (other.isExternalPoliciesSet || other.isAuthorizationManagerSet) { this.CopyAuthorizationPoliciesAndManager(other); } this.isReadOnly = other.isReadOnly; }
public ServiceAuthorizationBehavior() { this.impersonateCallerForAllOperations = false; this.principalPermissionMode = System.ServiceModel.Description.PrincipalPermissionMode.UseWindowsGroups; }