public GadgetSandbox(XmlDocument pagedata, List <ModuleParams> moduleparams, XmlNamespaceManager pagenamespaces) { sm = new Profiles.Framework.Utilities.SessionManagement(); sandboxPassword = ORNGSettings.getSettings().SandboxPassword; if (sandboxPassword != null && sandboxPassword.Length > 0) { LoadAssets(); } }
public GadgetSandbox(XmlDocument pagedata, List <ModuleParams> moduleparams, XmlNamespaceManager pagenamespaces) { sm = new Profiles.Framework.Utilities.SessionManagement(); sandboxPassword = ConfigurationManager.AppSettings["ORNG.SandboxPassword"].ToString().Trim(); if (sandboxPassword != null && sandboxPassword.Length > 0) { LoadAssets(); } }
public Login(XmlDocument pagedata, List <ModuleParams> moduleparams, XmlNamespaceManager pagenamespaces) { sm = new Profiles.Framework.Utilities.SessionManagement(); LoadAssets(); if (ConfigurationSettings.AppSettings["LOGIN_USER"] != null) { autoLogin(); } }
public GadgetSandbox(XmlDocument pagedata, List<ModuleParams> moduleparams, XmlNamespaceManager pagenamespaces) { sm = new Profiles.Framework.Utilities.SessionManagement(); sandboxPassword = ConfigurationManager.AppSettings["ORNG.SandboxPassword"].ToString().Trim(); if (sandboxPassword != null && sandboxPassword.Length > 0) { LoadAssets(); } }
public GadgetSandbox(XmlDocument pagedata, List<ModuleParams> moduleparams, XmlNamespaceManager pagenamespaces) { sm = new Profiles.Framework.Utilities.SessionManagement(); sandboxPassword = ORNGSettings.getSettings().SandboxPassword; if (sandboxPassword != null && sandboxPassword.Length > 0) { LoadAssets(); } }
protected void Page_Load(object sender, EventArgs e) { sm = new Framework.Utilities.SessionManagement(); if (sm.Session().UserID < 0 || sm.Session().UserID == 0) { Response.Redirect(Framework.Utilities.Root.Domain); } masterpage = (Framework.Template)base.Master; LoadPresentationXML(); }
/// <summary> /// /// </summary> /// <param name="userid"></param> /// <param name="password"></param> /// <returns></returns> public bool LogIn(string username, string password) { bool rtn = false; try { Framework.Utilities.SessionManagement sessionmanagement = new Framework.Utilities.SessionManagement(); User user = new User(); Framework.Utilities.Session session = sessionmanagement.Session(); user.UserName = username; //ZAP - need to do an MD5 Hash on the password user.Password = password; Login.Utilities.DataIO dataio = new Login.Utilities.DataIO(); dataio.UserLogin(ref user, ref session); if (user.Roles != null) { rtn = true; } this.SaveUser(user); } catch (Exception ex) { //ZAP- need an error log. ex = ex; rtn = false; } //ZAP- need to cross this bridge soon //Find out if they have a profile //If they have a profile Get the users proxies return rtn; }
public Login(XmlDocument pagedata, List<ModuleParams> moduleparams, XmlNamespaceManager pagenamespaces) { sm = new Profiles.Framework.Utilities.SessionManagement(); LoadAssets(); }
public ShibLogin(XmlDocument pagedata, List <ModuleParams> moduleparams, XmlNamespaceManager pagenamespaces) { sm = new Profiles.Framework.Utilities.SessionManagement(); }
public Login(XmlDocument pagedata, List<ModuleParams> moduleparams, XmlNamespaceManager pagenamespaces) { sm = new Profiles.Framework.Utilities.SessionManagement(); LoadAssets(); if (ConfigurationSettings.AppSettings["LOGIN_USER"] != null) autoLogin(); }