|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjdbcadmin.core.access.DeclarativeAccessImpl
Implementation of IConfigurableAuthorizationAccess with declaration of authorized Tables ans Schemas.
Iems not declared are not authorired.
| Constructor Summary | |
DeclarativeAccessImpl()
|
|
| Method Summary | |
void |
addSchema(java.lang.String aSchemaName,
boolean aAutorisationTotale)
Adds an access authorization for the specified schema. |
void |
addTable(java.lang.String aTableName,
java.lang.String aSchemaName)
Adds an access authorization for the specified table. |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DeclarativeAccessImpl()
| Method Detail |
public void addTable(java.lang.String aTableName,
java.lang.String aSchemaName)
addTable in interface IConfigurableAuthorizationAccessaTableName - table nameaSchemaName - schema name, considers that null == ""
public void addSchema(java.lang.String aSchemaName,
boolean aAutorisationTotale)
addSchema in interface IConfigurableAuthorizationAccessaSchemaName - schema name, considers that null == ""aAutorisationTotale - indicates whether the schema is completely authorized.
public boolean isTableAuthorized(java.lang.String aTableName,
java.lang.String aSchemaName)
isTableAuthorized in interface IAccessAuthorizationaTableName - table nameaSchemaName - schema name, considers that null == ""
true if authorized, false otherwisepublic boolean isSchemaAuthorized(java.lang.String aSchemaName)
isSchemaAuthorized in interface IAccessAuthorizationaSchemaName - schema name, considers that null == ""
true if authorized, false otherwise
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||