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

<value>
                                
sample.contact.ContactManager.create=PROPAGATION_REQUIRED
                                
sample.contact.ContactManager.getAllRecipients=PROPAGATION_REQUIRED,readOnly
                                
sample.contact.ContactManager.getAll=PROPAGATION_REQUIRED,readOnly
                                
sample.contact.ContactManager.getById=PROPAGATION_REQUIRED,readOnly
                                
sample.contact.ContactManager.delete=PROPAGATION_REQUIRED
                                
sample.contact.ContactManager.deletePermission=PROPAGATION_REQUIRED
                                
sample.contact.ContactManager.addPermission=PROPAGATION_REQUIRED
</value>

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


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to