I'm using idp 2 and I'm having the same error while I'm trying to configure
my to idp2.0 with microsoft's dreamspak SP
11:03:18.672 DEBUG [org.opensaml.saml2.binding.AuthnResponseEndpointSelector:46] - Unable to select endpoint, no entity role metadata available.
11:03:18.673 ERROR [edu.internet2.middleware.shibboleth.idp.profile.AbstractSAMLProfileHandler:396] - No return endpoint available for relying party https://staging.dreamspark.com/shibboleth-sp
11:03:18.674 ERROR [edu.internet2.middleware.shibboleth.common.profile.ProfileRequestDispatcherServlet:85] - Error processing profile request
edu.internet2.middleware.shibboleth.common.profile.ProfileException: No peer endpoint available to which to send SAML response
This is some relevant part of the metadata I load from my federation:
<EntityDescriptor entityID="https://staging.dreamspark.com/shibboleth-sp">
<SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:1.1:protocol">
<ds:KeyName>staging.dreamspark.com</ds:KeyName>
<ds:X509Data>
<ds:X509Certificate>
MIIFGTCCBAGgAwIBAgICAb4wDQYJKoZIhvcNAQEFBQAwVjELMAkGA1UEBhMCVVMx
</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</KeyDescriptor>
<NameIDFormat>urn:mace:shibboleth:1.0:nameIdentifier</NameIDFormat> <AssertionConsumerService Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post" Location="https://staging.dreamspark.com/Shibboleth.sso/SAML/POST" index="1"/>
</SPSSODescriptor>
<Organization>
<OrganizationName xml:lang="en">Microsoft</OrganizationName> <OrganizationDisplayName xml:lang="en">Microsoft</OrganizationDisplayName> <OrganizationURL xml:lang="en">http://www.microsoft.com/en/us/default.aspx</OrganizationURL>
</Organization>
</EntityDescriptor>
According to the previous post, "EntityDescriptor for the SP does not have an AssertionConsumerService endpoint defined for any SAML 2 binding"
In our metadata there is not any AssertionConsumerService defined for any SAML 2 binding. However my idp works with those SPs. What should be added?
Thanks in advance
Giannis
I've added those in my local metadata copy (and made sure that they were
not updated on reload):
<SPSSODescriptor
protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol
urn:oasis:names:tc:SAML:1.1:protocol">
<Extensions>
<idpdisc:DiscoveryResponse
xmlns:idpdisc="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
index="1"
Binding="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
Location="http://staging.dreamspark.com/Shibboleth.sso/DS"/>
<idpdisc:DiscoveryResponse
xmlns:idpdisc="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
index="2"
Binding="urn:oasis:names:tc:SAML:profiles:SSO:idp-discovery-protocol"
Location="https://staging.dreamspark.com/Shibboleth.sso/DS"/>
</Extensions>
<NameIDFormat>urn:mace:shibboleth:1.0:nameIdentifier</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<AssertionConsumerService
Binding="urn:oasis:names:tc:SAML:1.0:profiles:browser-post"
Location="https://staging.dreamspark.com/Shibboleth.sso/SAML/POST"
index="1"/>
<AssertionConsumerService
Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
Location="https://staging.dreamspark.com/Shibboleth.sso/SAML2/POST"
index="2" />
No it passes the endoint binding:
12:38:29.656 DEBUG
[org.opensaml.saml2.binding.AuthnResponseEndpointSelector:95] -
Filtering peer endpoints. Supported peer endpoint bindings:
[urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign,
urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST,
urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact]
but gives an error later on:
12:38:30.098 DEBUG
[org.opensaml.xml.security.credential.criteria.EvaluableCredentialCriteriaRegistry:75]
- Registry located evaluable criteria class
org.opensaml.xml.security.credential.criteria.EvaluableEntityIDCredentialCriteria
for criteria class org.opensaml.xml.security.criteria.EntityIDCriteria
12:38:30.099 DEBUG
[org.opensaml.xml.security.credential.criteria.EvaluableCredentialCriteriaRegistry:106]
- Registry could not locate evaluable criteria for criteria class
org.opensaml.security.MetadataCriteria
12:38:30.104 DEBUG [org.opensaml.xml.security.SecurityHelper:264] -
Unable to determine length in bits of specified Key instance
12:38:30.121 DEBUG [org.opensaml.xml.encryption.Encrypter:642] -
Generating random symmetric data encryption key from algorithm URI:
http://www.w3.org/2001/04/xmlenc#aes128-cbc
12:38:30.125 DEBUG [org.opensaml.xml.encryption.Encrypter:427] -
Encrypting XMLObject using algorithm URI
http://www.w3.org/2001/04/xmlenc#aes128-cbc with content mode false
12:38:30.136 ERROR
[edu.internet2.middleware.shibboleth.common.profile.ProfileRequestDispatcherServlet:85]
- Error processing profile request
java.lang.NoClassDefFoundError:
org/apache/xml/utils/URI$MalformedURIException
at
org.opensaml.xml.encryption.Encrypter.encryptElement(Encrypter.java:440)
Thanks
Giannis
> On 16/10/2008, *bil...@edu.physics.uoc.gr
> <mailto:bil...@edu.physics.uoc.gr>* <bil...@edu.physics.uoc.gr
> <mailto:bil...@edu.physics.uoc.gr>> wrote:
>
> Hi,
>
> I'm using idp 2 and I'm having the same error while I'm trying to
> configure
> my to idp2.0 with microsoft's dreamspak SP
>
> 11:03:18.672 DEBUG
> [org.opensaml.saml2.binding.AuthnResponseEndpointSelector:46] -
> Unable to select endpoint, no entity role metadata available.
> 11:03:18.673 ERROR
> [edu.internet2.middleware.shibboleth.idp.profile.AbstractSAMLProfileHandler:396]
> - No return endpoint available for relying party
> https://staging.dreamspark.com/shibboleth-sp
> 11:03:18.674 ERROR
> [edu.internet2.middleware.shibboleth.common.profile.ProfileRequestDispatcherServlet:85]
> - Error processing profile request
> edu.internet2.middleware.shibboleth.common.profile.ProfileException:
> No peer endpoint available to which to send SAML response
>
>
> This is some relevant part of the metadata I load from my federation:
>
> <EntityDescriptor
> entityID="https://staging.dreamspark.com/shibboleth-sp">
> <SPSSODescriptor
> protocolSupportEnumeration="urn:oasis:names:tc:SAML:1.1:protocol">
> <ds:KeyName>staging.dreamspark.com
> <http://staging.dreamspark.com></ds:KeyName>
Indeed it needed the xalan and xerces that ship with the IdP copied in
/var/lib/tomcat5/common/endorsed/
Greetings, you are successfully verified...!
Click here
<javascript:__doPostBack('ctl00$ContentPlaceHolder1$lnkClickHere','')>
to continue...
:))
thanks for all the help Nate
my best regards,
Giannis
case closed :)
https://mail.internet2.edu/wws/arc/shibboleth-users/2008-05/msg00547.html
tomcat needs xalan and xerces that ship with the IdP.
regards
Giannis