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