TAuthorizingSqlDatabase

Adds authorization capabilities to a TSqlDatabase.

Inheritance

LevelAncestorDescription
1TObjectUltimate ancestor in a class hierarchy
2TSqlStatementExecutorAbstract base class for a facility that executes a TSqlStatement
3TSqlDatabase Abstract base class for connections to databases that can be queried using SQL statements.
4TLogicalSqlDatabase Abstract base class for TSqlDatabase implementations that manipulate or translate queries before they sent to an actual physical TSqlDatabase.
5TAuthorizingSqlDatabase

Source

Sql.Database.Logical.Authorizing.pas (34)

Description

TAuthorizingSqlDatabase can be used to add authorization capabilities to an other database. Its implementation adds the proper restrictions to queries in order to enforce the authorization rules as dictated by the provided TAuthorizer.

Fields

ScopeVisibilityTypeNameDescription
InstanceprotectedTAuthorizerAuthorizer

Methods

ScopeVisibilityResultNameDescription
InstanceprotectedTSqlResultHandleDecoratedStatement(Statement: TSqlStatement; ResultMethod: TSqlQueryResultMethod)
InstancepublicCreate(Database: TSqlDatabase; Authorizer: TAuthorizer)
InstancepublicTSqlResultQuery(Statement: TSqlStatement; ResultMethod: TSqlQueryResultMethod)