Example #1
0
        public CasController(IUserValidate UserValidate, ICasAuthenticator CasAuthenticator, CasServer CasServer,
                             IUserService userService)
        {
            if (UserValidate == null) throw new ArgumentNullException("UserValidate");
            if (CasAuthenticator == null) throw new ArgumentNullException("CasAuthenticator");
            this.casAuthenticator = CasAuthenticator;

            this.userValidate = UserValidate;

            this.casServer = CasServer;
            this._userService = userService;
        }
Example #2
0
        public CasController(IUserValidate UserValidate, ICasAuthenticator CasAuthenticator, CasServer CasServer,
                             IUserService userService)
        {
            if (UserValidate == null)
            {
                throw new ArgumentNullException("UserValidate");
            }
            if (CasAuthenticator == null)
            {
                throw new ArgumentNullException("CasAuthenticator");
            }
            this.casAuthenticator = CasAuthenticator;

            this.userValidate = UserValidate;

            this.casServer    = CasServer;
            this._userService = userService;
        }
Example #3
0
 public UserController(IUserService userService, IKey key)
 {
     this._userService      = userService;
     this._key              = key;
     this._casAuthenticator = new FormsCasAuthenticator();
 }
Example #4
0
 public UserController(IUserService userService, IKey key)
 {
     this._userService = userService;
     this._key = key;
     this._casAuthenticator = new FormsCasAuthenticator();
 }
Example #5
0
 public CasServer(IUserValidate userValidate, ICasAuthenticator casAuthenticator)
 {
     this._userValidate     = userValidate;
     this._casAuthenticator = casAuthenticator;
 }
Example #6
0
 public CasServer(IUserValidate userValidate, ICasAuthenticator casAuthenticator)
 {
     this._userValidate = userValidate;
     this._casAuthenticator = casAuthenticator;
 }