Search in sources :

Example 1 with CoreTransformersFactory

use of uk.gov.ida.saml.core.api.CoreTransformersFactory in project verify-hub by alphagov.

the class ProtectiveMonitoringLogFormatterTest method setUp.

@Before
public void setUp() throws Exception {
    CoreTransformersFactory coreTransformersFactory = new CoreTransformersFactory();
    stringtoOpenSamlObjectTransformer = coreTransformersFactory.getStringtoOpenSamlObjectTransformer(input -> {
    });
}
Also used : Files(java.nio.file.Files) URL(java.net.URL) StringToOpenSamlObjectTransformer(uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer) URISyntaxException(java.net.URISyntaxException) Assertions.assertThat(org.assertj.core.api.Assertions.assertThat) RunWith(org.junit.runner.RunWith) ResponseBuilder.aResponse(uk.gov.ida.saml.core.test.builders.ResponseBuilder.aResponse) AuthnRequest(org.opensaml.saml.saml2.core.AuthnRequest) Test(org.junit.Test) IOException(java.io.IOException) OpenSAMLRunner(uk.gov.ida.saml.core.test.OpenSAMLRunner) Base64(java.util.Base64) Direction(uk.gov.ida.hub.samlproxy.repositories.Direction) SignatureException(org.opensaml.xmlsec.signature.support.SignatureException) Paths(java.nio.file.Paths) AuthnRequestBuilder.anAuthnRequest(uk.gov.ida.saml.core.test.builders.AuthnRequestBuilder.anAuthnRequest) CoreTransformersFactory(uk.gov.ida.saml.core.api.CoreTransformersFactory) MarshallingException(org.opensaml.core.xml.io.MarshallingException) Before(org.junit.Before) Response(org.opensaml.saml.saml2.core.Response) CoreTransformersFactory(uk.gov.ida.saml.core.api.CoreTransformersFactory) Before(org.junit.Before)

Aggregations

IOException (java.io.IOException)1 URISyntaxException (java.net.URISyntaxException)1 URL (java.net.URL)1 Files (java.nio.file.Files)1 Paths (java.nio.file.Paths)1 Base64 (java.util.Base64)1 Assertions.assertThat (org.assertj.core.api.Assertions.assertThat)1 Before (org.junit.Before)1 Test (org.junit.Test)1 RunWith (org.junit.runner.RunWith)1 MarshallingException (org.opensaml.core.xml.io.MarshallingException)1 AuthnRequest (org.opensaml.saml.saml2.core.AuthnRequest)1 Response (org.opensaml.saml.saml2.core.Response)1 SignatureException (org.opensaml.xmlsec.signature.support.SignatureException)1 Direction (uk.gov.ida.hub.samlproxy.repositories.Direction)1 CoreTransformersFactory (uk.gov.ida.saml.core.api.CoreTransformersFactory)1 OpenSAMLRunner (uk.gov.ida.saml.core.test.OpenSAMLRunner)1 AuthnRequestBuilder.anAuthnRequest (uk.gov.ida.saml.core.test.builders.AuthnRequestBuilder.anAuthnRequest)1 ResponseBuilder.aResponse (uk.gov.ida.saml.core.test.builders.ResponseBuilder.aResponse)1 StringToOpenSamlObjectTransformer (uk.gov.ida.saml.deserializers.StringToOpenSamlObjectTransformer)1