public object Create(object parent, object configContext, XmlNode section)
        {
            //
            // Either inherit the incoming parent configuration (for example
            // from the machine configuration file) or start with a fresh new
            // one.
            //

            FormsAuthenticationDispositionConfiguration config;

            if (parent != null)
            {
                FormsAuthenticationDispositionConfiguration parentConfig = (FormsAuthenticationDispositionConfiguration) parent;
                config = (FormsAuthenticationDispositionConfiguration) parentConfig.Clone();
            }
            else
            {
                config = new FormsAuthenticationDispositionConfiguration();
            }

            //
            // Treate the child <discriminators> section as a regular group.
            //

            XmlElement discriminatorsNode = section["discriminators"];

            if (discriminatorsNode != null)
            {
                Discriminator discriminator = new Discriminator();
                ((IConfigurationCallback) discriminator).Configure(discriminatorsNode);
                config.SetDiscriminator(discriminator);
            }

            return config;
        }
 public virtual void Init(HttpApplication context)
 {
     _config = (FormsAuthenticationDispositionConfiguration) ConfigurationSettings.GetConfig("madam/formsAuthenticationDisposition");
     context.EndRequest += new EventHandler(OnEndRequest);
 }