if (characterEncoding != null) {
request.setCharacterEncoding(characterEncoding);
So PicketLink read its parameters before the tomcat valve has a chance to set the encoding by which time it's to late.
I'll create a fix and log a pull request.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
@Anil, looking at the PL code we have in short:
265 public boolean authenticate(Request request, Response response, LoginConfig loginConfig) throws IOException {
...
282 String samlRequest = request.getParameter(GeneralConstants.SAML_REQUEST_KEY);
283 String samlResponse = request.getParameter(GeneralConstants.SAML_RESPONSE_KEY);
...
306 return localAuthentication(request, response, loginConfig);
which in turn does:
337 return super.authenticate(request, response, loginConfig);
and the tomcat valve:
if (characterEncoding != null) {
request.setCharacterEncoding(characterEncoding);
So PicketLink read its parameters before the tomcat valve has a chance to set the encoding by which time it's to late.
I'll create a fix and log a pull request.