Class DenyExceptOnWhitelistManager

java.lang.Object
org.kawanfw.sql.api.server.firewall.DefaultSqlFirewallManager
org.kawanfw.sql.api.server.firewall.DenyExceptOnWhitelistManager
All Implemented Interfaces:
SqlFirewallManager

public class DenyExceptOnWhitelistManager
extends DefaultSqlFirewallManager
implements SqlFirewallManager
Firewall manager that only allows incoming SQL statements which are also sequentially stored in a text file. The name of the text file that will be used by a database is:   <database>_deny_except_whitelist.txt, where database is the name of the database declared in the aceql.properties files.
The file must be located in the same directory as the aceql.properties file used when starting the AceQL server.

Each line of the text file must contain one statement, without quotes (") or ending semicolon (;).

Note that all statements will be "normalized" using StatementNormalizer before comparison between the statement in the text file and the incoming one from client side.
Since:
11.0
Author:
Nicolas de Pomereu
  • Constructor Details

    • DenyExceptOnWhitelistManager

      public DenyExceptOnWhitelistManager()
  • Method Details