Index
All Classes|All Packages
G
- generateSessionId(String, String) - Method in class org.kawanfw.sql.api.server.session.DefaultSessionConfigurator
-
The method builds an authentication session id by a call to:
SessionIdentifierGenerator
- generateSessionId(String, String) - Method in class org.kawanfw.sql.api.server.session.JwtSessionConfigurator
-
Generates a self contained JWT that stores the username and the database.
- generateSessionId(String, String) - Method in interface org.kawanfw.sql.api.server.session.SessionConfigurator
-
Generates a unique session id for the (username, database) couple.
- getAnomalyDetected() - Method in class org.kawanfw.sql.api.server.BasicSqlInjectionAnalyser
-
Returns the anomaly detected
- getBlobsDirectory(String) - Method in interface org.kawanfw.sql.api.server.DatabaseConfigurator
-
Allows to define the directory into which Blobs/Clobs are uploaded by client side, and from which Blobs/Clobs are downloaded by client side.
- getBlobsDirectory(String) - Method in class org.kawanfw.sql.api.server.DefaultDatabaseConfigurator
- getConnection(String) - Method in interface org.kawanfw.sql.api.server.DatabaseConfigurator
-
Attempts to establish a connection with an underlying data source.
- getConnection(String) - Method in class org.kawanfw.sql.api.server.DefaultDatabaseConfigurator
-
Returns a
Connection
from Tomcat JDBC Connection Pool.
theConnection
is extracted from theDataSource
created by the embedded Tomcat JDBC Pool. - getConnectionId() - Method in class org.kawanfw.sql.api.server.connectionstore.ConnectionKey
-
Returns the unique connection Id corresponding to this ConnectionKey.
- getConnectTimeout() - Method in class org.kawanfw.sql.api.server.util.SimpleHttpClient
-
Gets the connect timeout.
- getCreationTimeMillis() - Method in class org.kawanfw.sql.api.server.session.SessionInfo
-
Returns the date/time in milliseconds when this
SessionInfo
instance was created - getDatabase() - Method in class org.kawanfw.sql.api.server.executor.ClientEvent
-
Returns the database name.
- getDatabase() - Method in class org.kawanfw.sql.api.server.session.SessionInfo
-
Returns the database in use for this session
- getDatabase() - Method in class org.kawanfw.sql.api.server.SqlEvent
-
Returns the database name.
- getDatabase(String) - Method in class org.kawanfw.sql.api.server.session.DefaultSessionConfigurator
- getDatabase(String) - Method in class org.kawanfw.sql.api.server.session.JwtSessionConfigurator
-
Extracts the Database from the decoded JWT.
- getDatabase(String) - Method in interface org.kawanfw.sql.api.server.session.SessionConfigurator
-
Loads the database stored for the passed session id
- getDataSources() - Static method in class org.kawanfw.sql.api.server.DataSourceStore
-
Method to be called by users servlets to get info on the JDBC Pool DataSources created for each database.
- getElements() - Method in class org.kawanfw.sql.api.server.logging.DefaultLoggerCreator
- getElements() - Method in interface org.kawanfw.sql.api.server.logging.LoggerCreator
-
Return the elements of the
Logger
: name, fileNamePattern, etc. - getException() - Method in class org.kawanfw.sql.api.server.StatementNormalizer
-
Gets the Exception caught if the normalization was a failure (nested comments, odd number of single quotes or any other cause).
- getFirstParameter() - Method in class org.kawanfw.sql.api.server.StatementAnalyzer
-
Returns the value in string of the first parameter of the parameters list.
- getHttpStatusCode() - Method in class org.kawanfw.sql.api.server.util.SimpleHttpClient
-
Gets the HTTP status code
- getHttpStatusMessage() - Method in class org.kawanfw.sql.api.server.util.SimpleHttpClient
-
Gets the HTTP status message
- getIpAddress() - Method in class org.kawanfw.sql.api.server.executor.ClientEvent
-
Returns the IP address of the client user.
- getIpAddress() - Method in class org.kawanfw.sql.api.server.SqlEvent
-
Returns the IP address of the client user.
- getKeys() - Static method in class org.kawanfw.sql.api.server.connectionstore.ConnectionStoreManager
-
Returns the keys of the Connection Store.
- getLastParameter() - Method in class org.kawanfw.sql.api.server.StatementAnalyzer
-
Returns the value in string of the last parameter of the parameters list.
- getLogger() - Method in interface org.kawanfw.sql.api.server.DatabaseConfigurator
-
Returns the SLF4J
Logger
that will be used by AceQL for logging: All Exceptions thrown by server side will be logged. Exceptions thrown are flattened when logged for compatible usage with tools like Logstash. It is not necessary nor recommended to implement this method; do it only if you want take control of the logging to modify the default characteristics ofDefaultDatabaseConfigurator.getLogger()
. - getLogger() - Method in class org.kawanfw.sql.api.server.DefaultDatabaseConfigurator
-
Creates a static default Logback/sl4fj Logger for main AceQL activity.
- getLogger() - Method in class org.kawanfw.sql.api.server.logging.DefaultLoggerCreator
- getLogger() - Method in interface org.kawanfw.sql.api.server.logging.LoggerCreator
-
Returns the Logger as sl4fj instance
- getLoggerElements() - Static method in class org.kawanfw.sql.api.server.DefaultDatabaseConfigurator
-
Returns the Logger elements (for debug purpose)
- getLoggerElements() - Static method in class org.kawanfw.sql.api.server.firewall.trigger.JsonLoggerSqlFirewallTrigger
-
Returns the Logger elements (for debug purpose)
- getLoggerElements() - Static method in class org.kawanfw.sql.api.server.listener.JsonLoggerUpdateListener
-
Returns the Logger elements (for debug purpose)
- getMaxRows(String, String) - Method in interface org.kawanfw.sql.api.server.DatabaseConfigurator
-
Allows to define the maximum rows per request to be returned to the client.
- getMaxRows(String, String) - Method in class org.kawanfw.sql.api.server.DefaultDatabaseConfigurator
- getNormalized() - Method in class org.kawanfw.sql.api.server.StatementNormalizer
-
Returns normalized text of the SQL statement.
- getParameter(int) - Method in class org.kawanfw.sql.api.server.StatementAnalyzer
-
Returns the value as object of the parameter index in the list.
- getParameterCount() - Method in class org.kawanfw.sql.api.server.StatementAnalyzer
-
Returns the number of parameters in the statement.
- getParameterStringValues() - Method in class org.kawanfw.sql.api.server.executor.ClientEvent
-
Returns the parameter String values.
- getParameterStringValues() - Method in class org.kawanfw.sql.api.server.SqlEvent
-
Returns the parameter String values of a prepared statement in the natural order, empty list for a (non prepared) statement.
- getParameterValues() - Method in class org.kawanfw.sql.api.server.executor.ClientEvent
-
Returns the parameter values to pass to the server query.
- getParameterValues() - Method in class org.kawanfw.sql.api.server.SqlEvent
-
Returns the parameter values of a prepared statement in the natural order, empty list for a (non prepared) statement.
- getParsedStatement() - Method in class org.kawanfw.sql.api.server.StatementAnalyzer
-
Returns the statement parsed with JSQLParser.
- getParseException() - Method in class org.kawanfw.sql.api.server.StatementAnalyzer
-
Returns the parse Exception if any.
- getPassword() - Method in class org.kawanfw.sql.api.server.auth.crypto.DefaultPropertiesPasswordManager
-
Returns the value of the "password" property contained in the file
properties_password_manager.properties
which must be located in the same directory as theaceql-server.properties
file. - getPassword() - Method in interface org.kawanfw.sql.api.server.auth.crypto.PropertiesPasswordManager
-
Returns the password to use to decrypt the encrypted the
Properties
of theaceql-server.properties
file. - getPostDataString(Map<String, String>) - Static method in class org.kawanfw.sql.api.server.util.SimpleHttpClient
-
Formats and URL encode the the post data for POST.
- getReadTimeout() - Method in class org.kawanfw.sql.api.server.util.SimpleHttpClient
-
Get the read timeout.
- getSessionId() - Method in class org.kawanfw.sql.api.server.connectionstore.ConnectionKey
-
Returns the unique session Id corresponding to this ConnectionKey.
- getSessionId() - Method in class org.kawanfw.sql.api.server.session.SessionInfo
-
Returns the session id
- getSessionTimelifeMinutes() - Method in class org.kawanfw.sql.api.server.session.DefaultSessionConfigurator
-
Returns the value of
session.timelifeMinutes
property ofaceql-server.properties
. - getSessionTimelifeMinutes() - Method in class org.kawanfw.sql.api.server.session.JwtSessionConfigurator
-
Returns same as
DefaultSessionConfigurator.getSessionTimelifeMinutes()
value. - getSessionTimelifeMinutes() - Method in interface org.kawanfw.sql.api.server.session.SessionConfigurator
-
Allows to define the sessions lifetime in minutes
- getSql() - Method in class org.kawanfw.sql.api.server.SqlEvent
-
Returns the SQL statement to execute.
- getSql() - Method in class org.kawanfw.sql.api.server.StatementAnalyzer
-
Returns the string content of the SQL statement.
- getStatementName() - Method in class org.kawanfw.sql.api.server.StatementAnalyzer
-
Extracts the statement name from a SQL order.
- getTables() - Method in class org.kawanfw.sql.api.server.StatementAnalyzer
-
Returns the list of tables in the statement.
- getUsername() - Method in class org.kawanfw.sql.api.server.connectionstore.ConnectionKey
-
Returns the client username corresponding to this ConnectionKey.
- getUsername() - Method in class org.kawanfw.sql.api.server.executor.ClientEvent
-
Returns the client username that asked to execute the server query.
- getUsername() - Method in class org.kawanfw.sql.api.server.session.SessionInfo
-
Returns the client username
- getUsername() - Method in class org.kawanfw.sql.api.server.SqlEvent
-
Returns the client username that asked for the SQL request.
- getUsername(String) - Method in class org.kawanfw.sql.api.server.session.DefaultSessionConfigurator
- getUsername(String) - Method in class org.kawanfw.sql.api.server.session.JwtSessionConfigurator
-
Extracts the username from the decoded JWT.
- getUsername(String) - Method in interface org.kawanfw.sql.api.server.session.SessionConfigurator
-
Loads the username stored for the passed session id
- getVersion() - Method in class org.kawanfw.sql.api.server.util.Version
-
Returns the product name, version and date
All Classes|All Packages