/** * Get the timestamp element generated during <code>prepare()</code>. */ public Element getElement() { if (ts == null) { return null; } return ts.getElement(); } }
/** * Get the timestamp element generated during <code>prepare()</code>. */ public Element getElement() { if (ts == null) { return null; } return ts.getElement(); } }
/** * Prepends the Timestamp 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 Timestamp 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(), ts.getElement()); }
/** * Prepends the Timestamp 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 Timestamp 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(), ts.getElement()); }
public WSSecurityEngineResult(int act, Timestamp tstamp) { put(TAG_ACTION, Integer.valueOf(act)); put(TAG_TIMESTAMP, tstamp); put(TAG_VALIDATED_TOKEN, Boolean.FALSE); put(TAG_TOKEN_ELEMENT, tstamp.getElement()); }
public WSSecurityEngineResult(int act, Timestamp tstamp) { put(TAG_ACTION, Integer.valueOf(act)); put(TAG_TIMESTAMP, tstamp); put(TAG_VALIDATED_TOKEN, Boolean.FALSE); put(TAG_TOKEN_ELEMENT, tstamp.getElement()); }