Shibboleth SP attributes character encoding

Robert Führicht Robert.Fuehricht at jku.at
Tue Sep 1 09:46:39 EDT 2015


> Does this help?
> http://wiki.apache.org/tomcat/FAQ/CharacterEncoding

Yes, I'm guessing but not in the way you meant it, Peter. Just setting
the request charset to UTF-8 with a ServletFilter doesn't change a thing.

As Scott said, the ball is out of the SP's court and fiddling
on its end may have other undesired effects.

So I used a ServletFilter as Peter suggested and Bytebuddy to create 
a proxy class around the request object and inject it back in the processing
chain to fix the data when the application asks for it (i.e. decorating getAttribute/getHeader).

It's not pretty, but it works and it's confined to the application that needs the fix.

Thanks for the help!
-Robert



More information about the users mailing list