RE: RoleAuthorizer.authorize

2012-03-25 Thread Grant
I figured this out. The problem was due to the fact that I was getting the Role instances from another Restlet Resource, so they were just proxy instances and not actual Role instances. To fix it, I instantiated real Role objects from the proxies I got back from the other service. ---

Re: RoleAuthorizer.authorize

2012-03-25 Thread Tim Peierls
It would be tempting to think that this is related to the following bug: http://restlet.tigris.org/issues/show_bug.cgi?id=1245 But as it was fixed before 2.1-RC3 (and thus not transferred to GitHub issue tracking), I mention it only because you say you aren't sure that you're "in sync library-wis

RoleAuthorizer.authorize

2012-03-25 Thread Grant
I'm on 2.1-RC3 and seeing some weirdness that I can't explain. I've setup roles for my various endpoints and hooked them in via the RoleAuthorizer. I've got an enroler that adds the users roles into the ClientInfo much like the Security example. However, when I make a request to the system, t