ATG Secure Repository.

The ATG secured repository system works in conjunction with the ATG Security System to provide fine-grained access control to repository item descriptors, individual repository items, and even individual properties through the use of Access Control Lists (ACLs). The secured repository feature permits you to control the access users have to assets, asset properties, and asset types. You can convert any existing repository to a secure repository in ATG without disturbing the existing design or data. ATG Secure Repository design is very much like a decorator, an existing real repository can be wrapped with access control.

How to create ATG Composite Repository?

Refer this post to write an ATG Composite Repository.

Secure repository component diagram.

ATG Secure Repository

Secure repository static design.

ATG Secure Repository Design

Steps to create secure repository.

In the below given example we are converting an already existing repository name cricketer to a secure repository.

1. Alter the underneath table to add owner, item acl and property acl. (ACL == Access Control List)

ATG Secure Repository

OWNER column contains the name of the user who created the row/item/record.
ITEM_ACL column (item access control list) contains ACL for the row/item/record.
PROPERTY_ACL column (property access control list) contains ACL for specific properties.

2. Add ACL related properties to cricketer item descriptor.
ATG Secure Repository

3. Create secure repository template for the cricketer item descriptor.

4. Configure the cricketer repository as a secured repository.

GenericSecuredMutableRepository is used to wrap or decorate the un-secure repository named CricketerRepository.
Every call from client will go thru GenericSecuredMutableRepository to access the underneath repository.
GenericSecuredMutableRepository filter the records based upon the ACL given for the item/property.

5. Register the repositories. This is required to expose the two repositories to the ATG Control Center Repository Editor and activate them on application startup.

above give property shall be added to /atg/registry/ContentRepositories.

You are done. CricketRepository is ACL enabled now!

Appendix

1. Possible attributes for secured repository definition.

ATG Secure Repository Design

Самая детальная информация Recurring payments in crypto у нас. Самая актуальная информация louisville granite countertops на нашем сайте. Все подробности KETO Fat Burn Chile entrega на нашем сайте.

One thought on “ATG Secure Repository.