ENTITY); String idPEntityId = Config.getInstance().getIdpEntityId(); issuer.setValue(idPEntityId); return issuer; } 代码示例来源:origin: org.wso2.carbon.identity.agent.sso.java/org.wso2.carbon.identity.sso.agent protected LogoutRequest buildLogoutRequest(String user, String sessionIdx) throws ...
private boolean validateIdpEntityId(Assertion assertion, String tenantDomain, String idpEntityId) throws IdentityOAuth2Exception { if (idpEntityId == null || !assertion.getIssuer().getValue().equals(idpEntityId)) { if(log.isDebugEnabled()) { log.debug("SAML Token Issuer verification failed agai...
entityId.equals(issuer.getValue())) { throw new SAMLIssuerException("Issuer " + issuer.getValue() + " does not match idp entityId " + entityId); } } 代码示例来源:origin: apache/cxf /** * Validate the Issuer (if it exists) */ private void validateIssuer(org.opensaml.saml.saml2.co...
self.client = client.Saml2Client(conf)deftest_issuer(self):issuer= self.server.issuer()assertisinstance(issuer, saml.Issuer)assert_eq(issuer.keyswv(), ["text","format"])assertissuer.format == saml.NAMEID_FORMAT_ENTITYassertissuer.text == self.server.conf.entityiddeftest_assertion(self):asse...
[saml] fqdn = <our_fqdn> entityId = <our_id> idpSSOUrl = https://idp.address.com/idp/SSO.saml2 inboundSignatureAlgorithm = RSA-SHA256 issuerId = <our_issuer_id> redirectPort = 8000 replicateCertificates = true signAuthnRequest = false signatureAlgorithm = RSA-SHA256 signedAssertion = fal...
issuer.setFormat(Issuer.ENTITY); if(this.useNameQualifier){ issuer.setNameQualifier(spEntityId); } returnissuer; } 代码示例来源:origin: org.apereo.cas/cas-server-support-saml-idp-web /** * Build entity issuer issuer. * * @return the issuer ...
if ((idPEntityIdValue == null) || (idPEntityIdValue.isEmpty())) { throw new SSOException("SAML 2.0 Response does not contain an Issuer value"); 代码示例来源:origin: com.linecorp.armeria/armeria-saml final Issuer issuer = assertion.getIssuer(); if (issuer == null || issuer.getValue...
LOGGER.debug("Binding [{}] is supported by [{}]",svc.getBinding(),entityId); returnbinding; } } 代码示例来源:origin: spring-projects/spring-security-saml .setIssuer(getIssuer(request.getIssuer())) .setForceAuth(request.isForceAuthn()) ...
issuer.setFormat(NameIDType.ENTITY); return issuer; } 代码示例来源:origin: org.wso2.carbon.identity/org.wso2.carbon.identity.entitlement /** * Check for the validity of the issuer * * @param issuer :who makes the claims inside the Query * @return whether the issuer is valid */ private ...
final String idpEntityId = issuer.getValue(); config = idpConfigs.get(idpEntityId); if (config == null) { 代码示例来源:origin: line/armeria if (issuer == null || issuer.getValue() == null) { throw new SamlException("failed to get an Issuer element from the assertion"); 代码示例...