public SAMLMessageHandler(KeyManager keyManager, Collection<SAMLMessageDecoder> decoders, SAMLMessageEncoder encoder, SecurityPolicyResolver securityPolicyResolver, IdpConfiguration idpConfiguration, String idpBaseUrl) throws URISyntaxException { this.keyManager = keyManager; this.encoder = encoder; this.decoders = decoders; this.resolver = securityPolicyResolver; this.idpConfiguration = idpConfiguration; this.validatorSuites = asList( getValidatorSuite("saml2-core-schema-validator"), getValidatorSuite("saml2-core-spec-validator")); this.proxiedSAMLContextProviderLB = new ProxiedSAMLContextProviderLB(new URI(idpBaseUrl)); }