本文整理了Java中org.opensaml.saml1.core.Assertion.getDOM()
方法的一些代码示例,展示了Assertion.getDOM()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Assertion.getDOM()
方法的具体详情如下:
包路径:org.opensaml.saml1.core.Assertion
类名称: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));
内容来源于网络,如有侵权,请联系作者删除!