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;
 }
示例#2
0
 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;
 }
示例#4
0
 public ServiceAuthorizationBehavior()
 {
     this.impersonateCallerForAllOperations = false;
     this.principalPermissionMode           = System.ServiceModel.Description.PrincipalPermissionMode.UseWindowsGroups;
 }