*/
@org.junit.Test
public void testSaml1ActionRef() throws Exception {
final WSSConfig cfg = WSSConfig.getNewInstance();
final int action = WSConstants.ST_UNSIGNED;
final RequestData reqData = new RequestData();
reqData.setWssConfig(cfg);
java.util.Map<String, Object> config = new java.util.TreeMap<String, Object>();
Properties props = new Properties();
props.put("org.apache.ws.security.saml.issuerClass",
"org.apache.ws.security.saml.SAMLIssuerImpl");
props.put("org.apache.ws.security.saml.issuer",
"www.example.com");
props.put("org.apache.ws.security.saml.callback",
"org.apache.ws.security.common.SAML1CallbackHandler");
config.put(WSHandlerConstants.SAML_PROP_REF_ID, "RefId-" + props.hashCode());
reqData.setMsgContext(config);
final java.util.List<Integer> actions = new java.util.ArrayList<Integer>();
actions.add(Integer.valueOf(action));
final Document doc = SOAPUtil.toSOAPPart(SOAPUtil.SAMPLE_SOAP_MSG);
CustomHandler handler = new CustomHandler();