LOGGER.info("Start deployment " + SP);
final WebArchive war = ShrinkWrap.create(WebArchive.class, SP + ".war");
war.addAsWebInfResource(SAML2AttributeMappingTestCase.class.getPackage(), "attrib-web.xml", "web.xml");
war.addAsWebInfResource(Utils.getJBossWebXmlAsset("sp",
"org.picketlink.identity.federation.bindings.tomcat.sp.ServiceProviderAuthenticator"), "jboss-web.xml");
war.addAsManifestResource(Utils.getJBossDeploymentStructure("org.picketlink"), "jboss-deployment-structure.xml");
war.addAsWebInfResource(
new StringAsset(PicketLinkTestBase.propertiesReplacer("picketlink-sp.xml", SP, "REDIRECT", IDP_CONTEXT_PATH)),
"picketlink.xml");
war.add(new StringAsset(SP_RESPONSE_BODY), "index.jsp");
war.addClass(PrintAttributeServlet.class);