Re: [apacheds]ACI support classes never consider "attributeValue" in ACIItem
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > Re: [apacheds]ACI support classes never consider "attributeValue" in ACIItem




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: [apacheds]ACI support classes never consider "attributeValue" in ACIItem  
Trustin Lee


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-25-05 12:45 PM

2005/10/19, Alex Karasulu <aok123-Bdlq13kUjeyLZ21kGMrzwg@public.gmane.org>:
>
> Trustin,
>
> Within the o.a.l.s.authz.support package nothing checks to see if the
> "attributeValue" field in a protectedItem is adhered too. For this
> reason permission checks are failing. Let me give you an example that I
> have in a testcase:
>
> I have the following ACIItem:
>
> {
> identificationTag "searchAci"
> precedence 14
> authenticationLevel none,
> itemOrUserFirst userFirst:
> {
> userClasses { allUsers },
> userPermissions
> {
> {
> protectedItems {entry, attributeType { ou }, allAttributeValues
> { objectClass }, attributeValue { ou=0, ou=1, ou=2 } }, grantsAn
dDenials
> { grantRead, grantReturnDN, grantBrowse } }
> }
> }
> }
>
> This should only allow the return of ou values that are "0", "1" and "2"
> and not allow the return of other ou values in a search. However it's
> not doing that. Nothing in the support pkg seems to test to see if the
> value is equal to any of these values.
>
> Could you advise on what's happening?


It was because RelatedProtectedItemFilter didn't ignore AttributeType when
operationScope is not ATTRIBUTE_TYPE_AND_VALUE. Now it should work fine.

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:44 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register