Class SecureWebPageSettings
SecureWebPageSettings contains the settings of a secureWebPages configuration section.
Inheritance
Inherited Members
Namespace: Mediachase.Commerce.Website.Ssl
Assembly: Mediachase.Commerce.Website.dll
Version: 10.8.0Syntax
public class SecureWebPageSettings
Constructors
SecureWebPageSettings()
The default constructor creates the needed lists.
Declaration
public SecureWebPageSettings()
Properties
BypassQueryParamName
Gets or sets the name of the query parameter that will indicate to the module to bypass any security warning if WarningBypassMode = BypassWithQueryParam.
Declaration
public string BypassQueryParamName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Directories
Gets the collection of directories read from the configuration section.
Declaration
public SecureWebPageDirectoryCollection Directories { get; }
Property Value
Type | Description |
---|---|
SecureWebPageDirectoryCollection |
EncryptedUri
Gets or sets the path to a URI for encrypted redirections, if any.
Declaration
public string EncryptedUri { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Files
Gets the collection of files read from the configuration section.
Declaration
public SecureWebPageFileCollection Files { get; }
Property Value
Type | Description |
---|---|
SecureWebPageFileCollection |
MaintainPath
Gets or sets a flag indicating whether or not to maintain the current path when redirecting to a different host.
Declaration
public bool MaintainPath { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Mode
Gets or sets the mode indicating how the secure web page settings handled.
Declaration
public SecureWebPageMode Mode { get; set; }
Property Value
Type | Description |
---|---|
SecureWebPageMode |
UnencryptedUri
Gets or sets the path to a URI for unencrypted redirections, if any.
Declaration
public string UnencryptedUri { get; set; }
Property Value
Type | Description |
---|---|
System.String |
WarningBypassMode
Gets or sets the bypass mode indicating whether or not to bypass security warnings when switching to a unencrypted page.
Declaration
public SecurityWarningBypassMode WarningBypassMode { get; set; }
Property Value
Type | Description |
---|---|
SecurityWarningBypassMode |
Methods
ValidateHostPath(String)
Validates a host path by stripping out any unneeded elements.
Declaration
protected string ValidateHostPath(string hostPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | hostPath | The host path to validate. |
Returns
Type | Description |
---|---|
System.String | Returns a string that is stripped as needed. |