/** * Get the SignatureConfirmation element generated during * <code>prepare()</code>. * * @return Return the SignatureConfirmation element or null if <code>prepare()</code> * was not called before. */ public Element getSignatureConfirmationElement() { return (sc != null) ? sc.getElement() : null; }
/** * Get the SignatureConfirmation element generated during * <code>prepare()</code>. * * @return Return the SignatureConfirmation element or null if <code>prepare()</code> * was not called before. */ public Element getSignatureConfirmationElement() { return (sc != null) ? sc.getElement() : null; }
/** * Prepends the SignatureConfirmation element to the elements already in the * Security header. * * The method can be called any time after <code>prepare()</code>. * This allows to insert the SignatureConfirmation element at any position in the * Security header. * * @param secHeader The security header that holds the Signature element. */ public void prependToHeader(WSSecHeader secHeader) { WSSecurityUtil.prependChildElement(secHeader.getSecurityHeader(), sc.getElement()); }
/** * Prepends the SignatureConfirmation element to the elements already in the * Security header. * * The method can be called any time after <code>prepare()</code>. * This allows to insert the SignatureConfirmation element at any position in the * Security header. * * @param secHeader The security header that holds the Signature element. */ public void prependToHeader(WSSecHeader secHeader) { WSSecurityUtil.prependChildElement(secHeader.getSecurityHeader(), sc.getElement()); }
public WSSecurityEngineResult(int act, SignatureConfirmation sc) { put(TAG_ACTION, Integer.valueOf(act)); put(TAG_SIGNATURE_CONFIRMATION, sc); put(TAG_VALIDATED_TOKEN, Boolean.FALSE); put(TAG_TOKEN_ELEMENT, sc.getElement()); }
public WSSecurityEngineResult(int act, SignatureConfirmation sc) { put(TAG_ACTION, Integer.valueOf(act)); put(TAG_SIGNATURE_CONFIRMATION, sc); put(TAG_VALIDATED_TOKEN, Boolean.FALSE); put(TAG_TOKEN_ELEMENT, sc.getElement()); }