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

Version 1.11 last modified by Charles Gay on 25/09/2006 at 19:07

Comments 0

No comments for this document

Attachments 2

Image
jguard_authorization.jpg 1.1
PostedBy: Inácio Ferrarini on 18/09/2006 (36kb )
BIN
jguard_authorization.xcf 1.1
PostedBy: Inácio Ferrarini on 18/09/2006 (120kb )
 

Creator: Inácio Ferrarini on 2006/09/18 06:44
jGuard team copyright 2004-2007
1.1.1