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

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

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

Assertion.isSigned介绍

暂无

代码示例

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.wss4j

/**
 * Method isSigned returns the signed of this AssertionWrapper object.
 *
 * @return the signed (type boolean) of this AssertionWrapper object.
 */
public boolean isSigned() {
  if (saml2 != null) {
    return saml2.isSigned() || saml2.getSignature() != null;
  } else if (saml1 != null) {
    return saml1.isSigned() || saml1.getSignature() != null;
  }
  return false;
}

代码示例来源:origin: org.apache.ws.security/wss4j

/**
 * Method isSigned returns the signed of this AssertionWrapper object.
 *
 * @return the signed (type boolean) of this AssertionWrapper object.
 */
public boolean isSigned() {
  if (saml2 != null) {
    return saml2.isSigned() || saml2.getSignature() != null;
  } else if (saml1 != null) {
    return saml1.isSigned() || saml1.getSignature() != null;
  }
  return false;
}

相关文章