SecurityToken securityToken =
stsClient.requestSecurityToken("http://localhost:" + PORT2 + "/" + "DoubleItSymmetric");
assertNotNull(securityToken);
callbackHandler.setSecurityToken(securityToken);
assertTrue(stsClient.cancelSecurityToken(securityToken));
}
// mock up a SymmetricBinding policy to talk to the STS
private Policy createSymmetricBindingPolicy() {
// Add Addressing policy