Class SecurityConfigurationSection

Implemented as a thread-safe singleton class

Inheritance
System.Object
SecurityConfigurationSection
Namespace: Mediachase.Commerce.Security.Configuration
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class SecurityConfigurationSection : ConfigurationSection

Properties

ApplicationId

Unique identifier for application.

Declaration
public Guid ApplicationId { get; }
Property Value
Type Description
System.Guid

The application id.

Cache

Config settings which define where caching is enabled and timeouts related to it.

Declaration
public SecurityCacheElement Cache { get; }
Property Value
Type Description
SecurityCacheElement

The cache.

Connection

Gets the connection.

Declaration
public SecurityConnectionElement Connection { get; }
Property Value
Type Description
SecurityConnectionElement

The connection.

DefaultProviderName

Gets the default security provider.

Declaration
public string DefaultProviderName { get; }
Property Value
Type Description
System.String

The default provider.

EnablePermissions

Gets a value indicating whether [enable permissions].

Declaration
public bool EnablePermissions { get; }
Property Value
Type Description
System.Boolean

true if [enable permissions]; otherwise, false.

EnableSecurityScope

Gets a value indicating whether [enable security scope].

Declaration
public bool EnableSecurityScope { get; }
Property Value
Type Description
System.Boolean

true if [enable security scope]; otherwise, false.

Instance

Singleton instance

Declaration
public static SecurityConfigurationSection Instance { get; }
Property Value
Type Description
SecurityConfigurationSection

The instance.

Providers

Gets the security providers.

Declaration
public SecurityProviderElementCollection Providers { get; }
Property Value
Type Description
SecurityProviderElementCollection

The providers.

Roles

Configuration element defines the mapping of mapped types to type names specified in configuration file

Declaration
public RoleElementCollection Roles { get; }
Property Value
Type Description
RoleElementCollection

The mapped types.

SingleSignOn

Declaration
public SingleSignOnConfiguration SingleSignOn { get; }
Property Value
Type Description
SingleSignOnConfiguration

Methods

GetRole(String)

Returns class names mapped to the event key (name)

Declaration
public RoleDefinitionElement GetRole(string key)
Parameters
Type Name Description
System.String key

The key.

Returns
Type Description
RoleDefinitionElement