public DataAccessComponent(AuthorizedIdent ident) { DataProviderFactory.GetInstance(this); m_ident = ident; }
public Submissions(AuthorizedIdent ident) : base(ident) { }
public Principals(AuthorizedIdent ident) : base(ident) { }
public Groups(AuthorizedIdent ident) : base(ident) { }
public Rubrics(AuthorizedIdent ident) : base(ident) { }
public AutoJobs(AuthorizedIdent ident) : base(ident) { }
public ZoneService(string prefix, AuthorizedIdent ident, TestLogger logger) { m_prefix = prefix; m_ident = ident; m_logger = logger; }
public Assignments(AuthorizedIdent ident) : base(ident) { }
public Backups(AuthorizedIdent ident) : base(ident) { }
public DependencyGraph(Evaluation eval, AuthorizedIdent ident) { m_eval = eval; m_ident = ident; }
public EmailWizard(AuthorizedIdent ident) { m_ident = ident; }
public Evaluations(AuthorizedIdent ident) : base(ident) { }
public Activities(AuthorizedIdent ident) : base(ident) { }
public Results(AuthorizedIdent ident) : base(ident) { }
public Courses(AuthorizedIdent ident) : base(ident) { }
public bool Authenticate(string username, string password) { //Run auth through the auth svc to get an identity AuthenticateService authsvc = new AuthenticateService(); try { authsvc.Url = String.Format("http://{0}/FrontDeskServices/authsvc.asmx", TestConfig.AuthenticationAddress); Authentication.ServiceTicket tik = authsvc.Authenticate(username, password); FrontDesk.Services.ServiceTicket ticket = new FrontDesk.Services.ServiceTicket(); ticket.HostAddress = tik.HostAddress; ticket.Username = tik.Username; ticket.Ident = tik.Ident; m_ident = AuthorizedIdent.Create(ticket); if (m_ident != null) { m_logger.Log("Authentication for: " + username + " succeeded."); return true; } else { m_logger.Log("Authentication for: " + username + " failed.", TestLogger.LogType.ERROR); return false; } } catch (Exception er) { m_logger.Log("Error during authentication: MESSAGE: " + er.Message, TestLogger.LogType.ERROR); return false; } }
public Users(AuthorizedIdent ident) : base(ident) { }
public Settings(AuthorizedIdent ident) : base(ident) { }
public Announcements(AuthorizedIdent ident) : base(ident) { }
public Sections(AuthorizedIdent ident) : base(ident) { }