public GatingService(HttpRequest request, HttpResponse response)
        {
            Request     = request;
            Response    = response;
            HtmlService = new HtmlService();
            switch (Configuration.SecurityType)
            {
            case SupportedSecurityType.SimpleEncryption:
                EncryptionService = new SimpleEncryptionService(Configuration.EncryptionKey, Configuration.EncryptionIV);
                break;

            default:
                EncryptionService = new HashService();
                break;
            }
        }