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
| Name | Description |
|---|
| jg_permission | |
| jg_domain | |
| jg_principal_domain | |
| jg_principal_permisison | |
| jg_app_principal | |
| jg_principal_hierarchy | |
Table: jg_permission
| Field Name | Description |
|---|
| id | the permission´s id. |
| class | java.security.Permission subclass used to build this permission. |
| name | name of this permission |
| actions | parameters of this permission |
| domain_id | domain which owns this permission |
Table: jg_domain
| Field Name | Description |
|---|
| id | the domain´s id. |
| name | identifies in a functional way this group of permissions. |
Table: jg_principal_domain
| Field Name | Description |
|---|
| domain_id | link to the domain by its id |
| principal_id | link to the principal by its id |
Table: jg_principal_permisison
| Field Name | Description |
|---|
| permission_id | link to the permisison by its id |
| principal_id | link to the principal by its id |
Table: jg_app_principal
| Field Name | Description |
|---|
| id | id of principal |
| name | name of the principal |
Table: jg_principal_hierarchy
| Field Name | Description |
|---|
| principal_asc_id | id of one of its principal ascendants (in an RBAC meaning) |
| principal_desc_id | id of one of its principal descendants (in an RBAC meaning) |
Comments: 0