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