Back Forum Reply New

acegi amp; ACLs..

hello all,i have downloaded acegi contacts application and populated tables
with some scripts that i found on the internet.
application works just fine, and now i am trying to apply same
principles to my application so that i can use acegi in my
application.
I have no problems with authentication (configuration seems pretty
straightforward), but i am having difficulties with authentication,
since is acl-based.
My questions are:
- how do i populates tables with authorization data? in particular i
have problems iin understanding what should be the proper value for
the object identity column

In applicationContext-common-business and
applicationContext-common-authorization  i found following
declarations

lt;valuegt;                   sample.contact.ContactManager.create=PROPAGATION_R  EQUIRED                   sample.contact.ContactManager.getAllRecipients=PRO  PAGATION_REQUIRED,readOnly                   sample.contact.ContactManager.getAll=PROPAGATION_R  EQUIRED,readOnly                   sample.contact.ContactManager.getById=PROPAGATION_  REQUIRED,readOnly                   sample.contact.ContactManager.delete=PROPAGATION_R  EQUIRED                   sample.contact.ContactManager.deletePermission=PRO  PAGATION_REQUIRED                   sample.contact.ContactManager.addPermission=PROPAG  ATION_REQUIRED
lt;/valuegt;

for both contactManagerSecurity and  TransactionInterceptor.
I assume they have something to do with autohrization using
MethodInterceptor, but i cannot figure out the meaning, for example,
of
sample.contact.Contact:1 for object_identity column in
acl_object_identity, and i can't understand what is the purpose of the
acl_permission table, in particular the mask column and acl_object
identity

Can anyone give me some explanation on how the acl_permission and
acl_object_identity should be populated?

thanx in advance and regards marco

...cegi.html#acls will help you a lot.

Regards,
Gustavo

For the benefit of the archives, I answered this at acegisec.../msg01032.html
¥
Back Forum Reply New