Hello Christian, I've added such issue => https://github.com/restlet/restlet-framework-java/issues/588. The original idea behind the Enroler is to get the list of all roles for the current ClientInfo#user, which in theory depends only on the user. Do you need to restrict the list of roles according to the kind of resources targetted or kind of operations?
Best regards, Thierry Boileau This interface is too narrow: > > public void enrole(ClientInfo clientInfo); > > I need access to the Request in this method and I don't like the > ThreadLocal "solution". Enhancement issue on github? > > ------------------------------------------------------ > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2959415 > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2961075

