org.opensaml.saml.saml2.core.Response.getIssuer()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(2.3k)|赞(0)|评价(0)|浏览(212)

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

Response.getIssuer介绍

暂无

代码示例

代码示例来源:origin: line/armeria

final Issuer issuer = response.getIssuer();
if (issuer != null) {
  idp = resolveIdpConfig(issuer);

代码示例来源:origin: org.apereo.cas/cas-server-support-saml-idp-web

private String[] getPrincipalIdFromSamlResponse(final Response response) {
  val result =
    new ToStringBuilder(this, ToStringStyle.NO_CLASS_NAME_STYLE)
      .append("issuer", response.getIssuer().getValue())
      .append("destination", response.getDestination())
      .toString();
  return new String[]{result};
}

代码示例来源:origin: org.apereo.cas/cas-server-support-saml-idp-web

private void prepareArtifactContext(final Response samlResponse, final MessageContext ctx) {
    val art = ctx.getSubcontext(SAMLArtifactContext.class, true);
    art.setArtifactType(SAML2ArtifactType0004.TYPE_CODE);
    art.setSourceEntityId(samlResponse.getIssuer().getValue());
    val svc = adaptor.getAssertionConsumerServiceForArtifactBinding();
    art.setSourceArtifactResolutionServiceEndpointIndex(svc.getIndex());
    art.setSourceArtifactResolutionServiceEndpointURL(svc.getLocation());
  }
}

代码示例来源:origin: apache/cxf

) throws WSSecurityException {
  validateIssuer(samlResponse.getIssuer());

代码示例来源:origin: spring-projects/spring-security-saml

.setInResponseTo(parsed.getInResponseTo())
.setIssueInstant(parsed.getIssueInstant())
.setIssuer(getIssuer(parsed.getIssuer()))
.setVersion(parsed.getVersion().toString())
.setStatus(getStatus(parsed.getStatus()))

代码示例来源:origin: org.apache.syncope.ext.saml2sp/syncope-ext-saml2sp-logic

if (samlResponse.getIssuer() == null || samlResponse.getIssuer().getValue() == null) {
  throw new IllegalArgumentException("The SAML Response must contain an Issuer");
final SAML2IdPEntity idp = getIdP(samlResponse.getIssuer().getValue());
if (idp.getConnObjectKeyItem() == null) {
  throw new IllegalArgumentException("No mapping provided for SAML 2.0 IdP '" + idp.getId() + "'");

代码示例来源:origin: com.linecorp.armeria/armeria-saml

final Issuer issuer = response.getIssuer();
if (issuer != null) {
  idp = resolveIdpConfig(issuer);

代码示例来源:origin: org.pac4j/pac4j-saml

validateIssuerIfItExists(response.getIssuer(), context);

相关文章