-
Bug
-
Resolution: Done
-
Major
-
7.2.0.GA
The default-encoding is not set for formParserFactory object*1*2 in SPFormAuthenticationMechanism.
org.picketlink.identity.federation.bindings.wildfly.sp.SPFormAuthenticationMechanism
public SPFormAuthenticationMechanism(FormParserFactory parserFactory, String name, String loginPage, String errorPage, ServletContext servletContext, PicketLinkType configuration, PicketLinkAuditHelper auditHelper) { super(parserFactory, name, loginPage, errorPage); this.servletContext = servletContext; this.configuration = configuration; this.spConfiguration = (SPType) configuration.getIdpOrSP(); this.auditHelper = auditHelper; // we need to create a new formParserFactory to be able to process Multi-Part messages this.formParserFactory = FormParserFactory.builder(true).build(); <- *1 startPicketLink(); }
io.undertow.server.handlers.form.FormParserFactory
public static Builder builder(boolean includeDefault) { Builder builder = new Builder(); if (includeDefault) { builder.addParsers(new FormEncodedDataDefinition(), new MultiPartParserDefinition()); <- *2 } return builder; } public static class Builder { ... public FormParserFactory build() { if(defaultCharset != null) { for (ParserDefinition parser : parsers) { parser.setDefaultEncoding(defaultCharset); } } return new FormParserFactory(parsers); } }
- is cloned by
-
PLINK-792 Need to set default encoding for FormParserFactory in SPFormAuthenticationMechanism
- Open
- is incorporated by
-
JBEAP-15477 (7.2.z) Upgrade PicketLink bindings from 2.5.5.SP12-redhat-2 to 2.5.5.SP12-redhat-4
- Closed