Sholo.Web.Security/EnhancedSecurity.cs
/// <summary>
/// Initializes configuration-related properties and validates configuration.
/// </summary>        
Initializes configuration-related properties and validates configuration.
Initializes configuration - related properties and validates configuration .
public static void Initialize()
        {
            if (!_initialized)
            {
                lock (LockObject)
                {
                    if (!_initialized)
                    {
                        FormsAuthentication.Initialize();
                        SecurityProfilerConfig = SecurityProfilerConfiguration.GetConfig();
                        _minimumDelayOnSuspiciousRequest = SecurityProfilerConfig.MinimumDelayOnSuspiciousRequest;
                        _maximumDelayOnSuspiciousRequest = SecurityProfilerConfig.MaximumDelayOnSuspiciousRequest;
                        _minimumDelayOnMaliciousRequest = SecurityProfilerConfig.MinimumDelayOnMaliciousRequest;
                        _maximumDelayOnMaliciousRequest = SecurityProfilerConfig.MaximumDelayOnMaliciousRequest;
                        _minimumDelayOnCryptographicException = SecurityProfilerConfig.MinimumDelayOnCryptographicException;
                        _maximumDelayOnCryptographicException = SecurityProfilerConfig.MaximumDelayOnCryptographicException;
                        _initialized = true;
                    }
                }
            }
        }
public static void Initialize ( ) { if ( ! _initialized ) { lock ( LockObject ) { if ( ! _initialized ) { FormsAuthentication . Initialize ( ) ; SecurityProfilerConfig = SecurityProfilerConfiguration . GetConfig ( ) ; _minimumDelayOnSuspiciousRequest = SecurityProfilerConfig . MinimumDelayOnSuspiciousRequest ; _maximumDelayOnSuspiciousRequest = SecurityProfilerConfig . MaximumDelayOnSuspiciousRequest ; _minimumDelayOnMaliciousRequest = SecurityProfilerConfig . MinimumDelayOnMaliciousRequest ; _maximumDelayOnMaliciousRequest = SecurityProfilerConfig . MaximumDelayOnMaliciousRequest ; _minimumDelayOnCryptographicException = SecurityProfilerConfig . MinimumDelayOnCryptographicException ; _maximumDelayOnCryptographicException = SecurityProfilerConfig . MaximumDelayOnCryptographicException ; _initialized = true ; } } } }
Initializes configuration-related properties and validates configuration.
Initializes configuration - related properties and validates configuration .
// _maintainServerTicketStore = UserAuthenticationConfig.StateProvider