public AccountController()
 {
     this.Auth = ObjectFactory.GetInstance <IDirectoryServices>();
     this.Svc  = ObjectFactory.GetInstance <RemoteLabService>();
 }
Exemple #2
0
 public ClaimsUtility( IDirectoryServices Auth, IEnumerable<Pool> Pools, string AdministratorGroup)
 {
     this.Pools = Pools;
     this.Auth = Auth;
     this.AdminGroup = AdministratorGroup;
 }
 public AccountController(IDirectoryServices Auth, RemoteLabService Svc)
 {
     this.Auth = Auth;
     this.Svc  = Svc;
 }
 public ADGroupValidationAttribute()
 {
     this.Auth = new ActiveDirectory(Properties.Settings.Default.ActiveDirectoryDNSDomain);
 }
Exemple #5
0
        public const string APPLICATION_POOL_USER          = "******";           // User of at least 1 pool

        public ClaimsUtility(IDirectoryServices Auth, IEnumerable <Pool> Pools, string AdministratorGroup)
        {
            this.Pools      = Pools;
            this.Auth       = Auth;
            this.AdminGroup = AdministratorGroup;
        }
 public AccountController()
 {
     this.Auth = ObjectFactory.GetInstance<IDirectoryServices>();
     this.Svc = ObjectFactory.GetInstance<RemoteLabService>();
 }
 public AccountController(IDirectoryServices Auth, RemoteLabService Svc) 
 {
     this.Auth = Auth;
     this.Svc = Svc;
 }