I need to pass the REMOTE_USER via request with Acegi. Since there is no setRemoteUser method I need to build a wrapper. I build an own authentication filter who is able to provide REMOTE_USER using a wrapper. And now I would like to do this with Acegi, but I have no idea where I should place the wrapper.
Have anybody done something like this before? Where should I set the principal and the wrapper?