parent
9b07b6a991
commit
7da6077727
|
@ -22,7 +22,7 @@ dependencies {
|
|||
api "com.squareup.okhttp3:mockwebserver:3.14.9"
|
||||
api "com.squareup.okhttp3:okhttp:3.14.9"
|
||||
api "com.unboundid:unboundid-ldapsdk:4.0.14"
|
||||
api "commons-codec:commons-codec:1.14"
|
||||
api "commons-codec:commons-codec:1.15"
|
||||
api "commons-collections:commons-collections:3.2.2"
|
||||
api "commons-logging:commons-logging:1.2"
|
||||
api "io.projectreactor.tools:blockhound:1.0.6.RELEASE"
|
||||
|
|
|
@ -23,6 +23,7 @@ import java.util.zip.InflaterOutputStream;
|
|||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import org.apache.commons.codec.CodecPolicy;
|
||||
import org.apache.commons.codec.binary.Base64;
|
||||
|
||||
import org.springframework.core.convert.converter.Converter;
|
||||
|
@ -45,7 +46,7 @@ import org.springframework.util.Assert;
|
|||
*/
|
||||
public final class Saml2AuthenticationTokenConverter implements AuthenticationConverter {
|
||||
|
||||
private static Base64 BASE64 = new Base64(0, new byte[] { '\n' });
|
||||
private static Base64 BASE64 = new Base64(0, new byte[] { '\n' }, false, CodecPolicy.STRICT);
|
||||
|
||||
private final Converter<HttpServletRequest, RelyingPartyRegistration> relyingPartyRegistrationResolver;
|
||||
|
||||
|
|
Loading…
Reference in New Issue