Пример #1
0
        //
        // Private implementation
        //
        internal protected AuthenticablePrincipal(PrincipalContext context)
        {
            if (context == null)
            {
                throw new ArgumentException(SR.NullArguments);
            }

            this.ContextRaw  = context;
            this.unpersisted = true;
            this.rosf        = new AdvancedFilters(this);
        }
Пример #2
0
 protected internal AuthenticablePrincipal(PrincipalContext context)
 {
     this.certificates = new X509Certificate2Collection();
     this.certificateOriginalThumbprints = new List <string>();
     if (context != null)
     {
         base.ContextRaw  = context;
         this.unpersisted = true;
         this.rosf        = new AdvancedFilters(this);
         return;
     }
     else
     {
         throw new ArgumentException(StringResources.NullArguments);
     }
 }