Exemplo n.º 1
0
 public Authentication(ILdapRepository ldapRepository, IPermissionGroupRepository permissionGroupRepository,
                       IParameterRepository parameterRepository, ILogRepository log)
 {
     this.ldapRepository            = ldapRepository;
     this.permissionGroupRepository = permissionGroupRepository;
     this.parameterRepository       = parameterRepository;
     this.log = log;
 }
Exemplo n.º 2
0
 public AuthenticationRepository(IUserRepository userRepository, ISqlSettingsRepository settingsRepository, ILdapRepository ldapRepository, ISamlRepository samlRepository, IServiceLogRepository logRepository, IApplicationSettingsRepository applicationSettingsRepository)
 {
     _userRepository     = userRepository;
     _settingsRepository = settingsRepository;
     _ldapRepository     = ldapRepository;
     _samlRepository     = samlRepository;
     _log = logRepository;
     _applicationSettingsRepository = applicationSettingsRepository;
 }
Exemplo n.º 3
0
 public SolicitacaoCadastroController(
     ISolicitacaoCadastroRespository solicitacaoCadastroRespository,
     IUsuarioRepository usuarioRepository,
     ILdapRepository ldapRepository
     )
 {
     this.solicitacaoCadastroRespository = solicitacaoCadastroRespository;
     this.usuarioRepository = usuarioRepository;
     this.ldapRepository    = ldapRepository;
 }
Exemplo n.º 4
0
        public AccountController(IApplicationUserRepository applicationUserService, ISocialAPIRepositoryVk socialApiRepositoryVk,
                                 ISocialAPIRepositoryFacebook socialApiRepositoryFacebook, IEncryptor encryptor, ILdapRepository ldapRepository)
        {
            this.applicationUserService = applicationUserService;
            this.encryptor      = encryptor;
            this.ldapRepository = ldapRepository;

            apiVk       = socialApiRepositoryVk;
            apiFacebook = socialApiRepositoryFacebook;
        }
Exemplo n.º 5
0
 public UsuarioRepository(
     IGetUserByLogin getUserByLogin,
     IGetUserByEmail getUserByEmail,
     ILdapRepository ldapRepository,
     ICreateUser createUser,
     IUpdateToken updateToken,
     IRecreateUser recreateUser
     )
 {
     this.getUserByLogin = getUserByLogin;
     this.getUserByEmail = getUserByEmail;
     this.createUser     = createUser;
     this.ldapRepository = ldapRepository;
     this.updateToken    = updateToken;
     this.recreateUser   = recreateUser;
 }
Exemplo n.º 6
0
 public UserService(IUserRepository userRepository,
                    ILdapRepository ldapRepository,
                    IUserSecurityService securityService)
 {
     if (userRepository == null)
     {
         throw new ArgumentNullException("userRepository");
     }
     _userRepository = userRepository;
     if (ldapRepository == null)
     {
         throw new ArgumentNullException("ldapRepository");
     }
     _ldapRepository = ldapRepository;
     if (securityService == null)
     {
         throw new ArgumentNullException("securityService");
     }
     _securityRepository = securityService;
 }
Exemplo n.º 7
0
 public UsuarioRepository(
     IGetUserByLogin getUserByLogin,
     IGetUserByEmail getUserByEmail,
     ICreateUser createUser,
     INotification notification,
     IUpdateToken updateToken,
     IRecreateUser recreateUser,
     IUpdateDB updateDb,
     ILdapRepository ldapRepository
     )
 {
     this.getUserByLogin = getUserByLogin;
     this.getUserByEmail = getUserByEmail;
     this.createUser     = createUser;
     this.notification   = notification;
     this.updateToken    = updateToken;
     this.recreateUser   = recreateUser;
     this.updateDb       = updateDb;
     this.ldapRepository = ldapRepository;
 }
Exemplo n.º 8
0
 public UsuarioController(IUsuarioRepository usuarioRepository, ILdapRepository ldapRepository)
 {
     this.usuarioRepository = usuarioRepository;
     this.ldapRepository    = ldapRepository;
 }
Exemplo n.º 9
0
 public AuthenticationHandler(ILdapRepository ldapRepository,
                              IAuthenticationSchemeProvider schemes, IAuthenticationHandlerProvider handlers,
                              IClaimsTransformation transform) : base(schemes, handlers, transform)
 {
     _ldapRepository = ldapRepository;
 }
Exemplo n.º 10
0
 public LdapController(ILdapRepository ldapRepository)
 {
     this.ldapRepository = ldapRepository;
 }