jdbcadmin.core.access
Interface IAccessAuthorization

All Known Subinterfaces:
IConfigurableAuthorizationAccess
All Known Implementing Classes:
DeclarativeAccessImpl, RestrictiveAccessImpl

public interface IAccessAuthorization

Interface for the access authorization classes.

Author:
Thomas Recloux (trecloux@norsys.fr)

Method Summary
 boolean isSchemaAuthorized(java.lang.String aSchemaName)
          Indicates whether the schema is authorized
 boolean isTableAuthorized(java.lang.String aTableName, java.lang.String aSchemaName)
          Indicates whether the table is authorized
 

Method Detail

isTableAuthorized

public boolean isTableAuthorized(java.lang.String aTableName,
                                 java.lang.String aSchemaName)
Indicates whether the table is authorized

Parameters:
aTableName - table name
aSchemaName - schema name, considers that null == ""
Returns:
true if authorized, false otherwise

isSchemaAuthorized

public boolean isSchemaAuthorized(java.lang.String aSchemaName)
Indicates whether the schema is authorized

Parameters:
aSchemaName - schema name, considers that null == ""
Returns:
true if authorized, false otherwise


Copyright © 2004-2005 Norsys. All Rights Reserved.