org.opensaml.saml1.core.Assertion.getDOM()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(134)

本文整理了Java中org.opensaml.saml1.core.Assertion.getDOM()方法的一些代码示例,展示了Assertion.getDOM()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Assertion.getDOM()方法的具体详情如下:
包路径:org.opensaml.saml1.core.Assertion
类名称:Assertion
方法名:getDOM

Assertion.getDOM介绍

暂无

代码示例

代码示例来源:origin: org.apache.rampart/rampart-core

@Override
public OMElement getAssertionElement() throws TrustException {
  return (OMElement)this.assertion.getDOM();
}

代码示例来源:origin: org.apache.rampart/rampart-core

@Override
public byte[] getAssertionKeyInfoSecret(Crypto signatureCrypto, TokenCallbackHandler tokenCallbackHandler)
    throws WSSecurityException {
  RequestData requestData = new RequestData();
  requestData.setCallbackHandler(tokenCallbackHandler);
  requestData.setSigCrypto(signatureCrypto);
  WSDocInfo docInfo = new WSDocInfo(assertion.getDOM().getOwnerDocument()); // TODO Improve ..
  // TODO change this to use SAMLAssertion parameter once wss4j conversion is done ....
  SAMLKeyInfo samlKi = SAMLUtil.getCredentialFromSubject(assertion,
      requestData, docInfo, true);
  return samlKi.getSecret();
}

代码示例来源:origin: org.apache.rampart/rampart-trust

Token assertionToken;
  Node tempNode = assertion.getDOM();
  reqSecTokenElem.addChild((OMNode) ((Element) rstrElem)
      .getOwnerDocument().importNode(tempNode, true));
      (OMElement) assertion.getDOM(), creationTime.toDate(),
      expirationTime.toDate());

代码示例来源:origin: org.apache.rampart/rampart-trust

.createRequestedSecurityTokenElement(wstVersion, rstrElem);
Node tempNode = samlAssertion.getDOM();
reqSecTokenElem.addChild((OMNode) ((Element) rstrElem)
    .getOwnerDocument().importNode(tempNode, true));

相关文章