Welcome to the jGuard's wiki » jGuard Documentation » Jdbc Authorization Manager´s Data Model

Jdbc Authorization Manager´s Data Model

Last modified by RaffaelloPelagalli on 2006/09/25 19:07

JdbcAuthorizationManagerDataModel

Description

At a first look, jGuard´s data model would look a little hard to understand. To make it a little bit easier to understand, here it goes a definition of the data structure used by the JDBC implementation of the AuthorizationManager interface used by jGuard.

Tables and Fields

Tables

NameDescription
jg_permission 
jg_domain 
jg_principal_domain 
jg_principal_permisison 
jg_app_principal 
jg_principal_hierarchy 

Table: jg_permission

Field NameDescription
idthe permission´s id.
classjava.security.Permission subclass used to build this permission.
namename of this permission
actionsparameters of this permission
domain_iddomain which owns this permission

Table: jg_domain

Field NameDescription
idthe domain´s id.
nameidentifies in a functional way this group of permissions.

Table: jg_principal_domain

Field NameDescription
domain_idlink to the domain by its id
principal_idlink to the principal by its id

Table: jg_principal_permisison

Field NameDescription
permission_idlink to the permisison by its id
principal_idlink to the principal by its id

Table: jg_app_principal

Field NameDescription
idid of principal
namename of the principal

Table: jg_principal_hierarchy

Field NameDescription
principal_asc_idid of one of its principal ascendants (in an RBAC meaning)
principal_desc_idid of one of its principal descendants (in an RBAC meaning)

jguard_authorization.jpg

Tags:
Created by Inácio Ferrarini on 2006/09/18 06:44

jGuard team copyright 2004-2009
3.1.1