| org.jaffa.persistence.engines.jdbcengine.security.IJdbcSecurityPlugin
All known Subclasses: org.jaffa.security.JDBCSecurityPlugin,
IJdbcSecurityPlugin | public interface IJdbcSecurityPlugin (Code) | | The JDBC Engine will invoke the suitable trigger points of a plugin class that implements this interface.
The plugin class will have to be specified in framework.properties
The implementing class should have a no-argument constructor.
author: GautamJ |
Method Summary | |
public void | freeConnection(Connection connection) This method will be invoked before returning a Connection back to the connection pool. | public void | newConnection(Connection connection) This method will be invoked after a new Connection object is obtained from a connection pool. |
freeConnection | public void freeConnection(Connection connection) throws SQLException(Code) | | This method will be invoked before returning a Connection back to the connection pool.
An implementing class will undo the changes made by the newConnection() method.
Parameters: connection - The Connection object to be returned back to the pool. throws: SQLException - if any error occurs. |
newConnection | public void newConnection(Connection connection) throws SQLException(Code) | | This method will be invoked after a new Connection object is obtained from a connection pool.
An implementing class can add all the logic pertaining to user security in this method.
Parameters: connection - The new Connection object from the pool. throws: SQLException - if any error occurs. |
|
|