doTestEnvelopedSAMLToken(false);
}
public void doTestEnvelopedSAMLToken(boolean signed) throws Exception {
String address = "https://localhost:" + PORT + "/samlxml/bookstore/books";
WebClient wc = createWebClient(address, new SamlEnvelopedOutInterceptor(!signed),
null, signed);
XmlSigOutInterceptor xmlSig = new XmlSigOutInterceptor();
if (signed) {
xmlSig.setStyle(XmlSigOutInterceptor.DETACHED_SIG);
}