Class SecureWebPageSectionHandler

SecureWebPageSectionHandler reads any <secureWebPages> section from a configuration file.

Inheritance
System.Object
SecureWebPageSectionHandler
Implements
System.Configuration.IConfigurationSectionHandler
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Website.Ssl
Assembly: Mediachase.Commerce.Website.dll
Version: 10.8.0
Syntax
public class SecureWebPageSectionHandler : IConfigurationSectionHandler

Constructors

SecureWebPageSectionHandler()

Initializes an instance of this class.

Declaration
public SecureWebPageSectionHandler()

Methods

Create(Object, Object, XmlNode)

Parses the XML configuration section and returns the settings.

Declaration
public object Create(object parent, object configContext, XmlNode section)
Parameters
Type Name Description
System.Object parent

The configuration settings in a corresponding parent configuration section.

System.Object configContext

An HttpConfigurationContext when Create is called from the ASP.NET configuration system. Otherwise, this parameter is reserved and is a null reference (Nothing in Visual Basic).

System.Xml.XmlNode section

The XmlNode that contains the configuration information from the configuration file. Provides direct access to the XML contents of the configuration section.

Returns
Type Description
System.Object

Returns a SecureWebPageSettings instance initialized with the read configuration settings.

ReadChildItem(XmlNode, SecureWebPageItem)

Reads the typical attributes for a SecureWebPageItem from the configuration node.

Declaration
protected void ReadChildItem(XmlNode node, SecureWebPageItem item)
Parameters
Type Name Description
System.Xml.XmlNode node

The XmlNode to read from.

SecureWebPageItem item

The SecureWebPageItem to set values for.

ReadDirectoryItem(XmlNode)

Reads a directory item from the configuration node and returns a new instance of SecureWebPageDirectory.

Declaration
protected SecureWebPageDirectory ReadDirectoryItem(XmlNode node)
Parameters
Type Name Description
System.Xml.XmlNode node

The XmlNode to read from.

Returns
Type Description
SecureWebPageDirectory

A SecureWebPageDirectory initialized with values read from the node.

ReadFileItem(XmlNode)

Reads a file item from the configuration node and returns a new instance of SecureWebPageFile.

Declaration
protected SecureWebPageFile ReadFileItem(XmlNode node)
Parameters
Type Name Description
System.Xml.XmlNode node

The XmlNode to read from.

Returns
Type Description
SecureWebPageFile

A SecureWebPageFile initialized with values read from the node.

ReadGeneralSettings(XmlNode, SecureWebPageSettings)

Reads general settings from the secureWebPages section into the given SecureWebPageSettings instance.

Declaration
protected void ReadGeneralSettings(XmlNode section, SecureWebPageSettings settings)
Parameters
Type Name Description
System.Xml.XmlNode section

The XmlNode to read from.

SecureWebPageSettings settings

The SecureWebPageSettings instance to set.

Implements

System.Configuration.IConfigurationSectionHandler