CAS Configuration for IdPv3

Nanda Kumar NKK at FISCHERINTERNATIONAL.COM
Thu Aug 17 09:33:13 EDT 2017


Following is the entire relyingparty.xml:

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:util="http://www.springframework.org/schema/util"
       xmlns:p="http://www.springframework.org/schema/p"
       xmlns:c="http://www.springframework.org/schema/c"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
                    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
                    http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"
      default-init-method="initialize"
      default-destroy-method="destroy">
    <bean id="shibboleth.UnverifiedRelyingParty" parent="RelyingParty">
    <property name="profileConfigurations">
    <list/>		
    </property>
    </bean>
    <bean id="shibboleth.DefaultRelyingParty" parent="RelyingParty">
    <property name="profileConfigurations">
        <list>
            <bean parent="Shibboleth.SSO" />
             <ref bean="SAML1.AttributeQuery" />
            <ref bean="SAML1.ArtifactResolution" />
            <bean parent="SAML2.SSO" />
            <ref bean="SAML2.ECP" />
             <ref bean="SAML2.Logout" />
             <ref bean="SAML2.AttributeQuery" />
            <ref bean="SAML2.ArtifactResolution" />
            <ref bean="Liberty.SSOS" />
			<ref bean="CAS.LoginConfiguration" />
            <ref bean="CAS.ProxyConfiguration" />
            <ref bean="CAS.ValidateConfiguration" />
       </list>
    </property>
    </bean>
    <util:list id="shibboleth.RelyingPartyOverrides">
    <bean parent="RelyingPartyByName" c:relyingPartyIds="google.com">
      <property name="profileConfigurations">
        <list>
          <bean parent="SAML2.SSO" p:includeAttributeStatement="true" p:encryptAssertions="false" p:signAssertions="false" p:encryptNameIDs="false" p:nameIDFormatPrecedence="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress" p:includeConditionsNotBefore="true" p:assertionLifetime="PT5M0.000S" p:signResponses="true" p:resolveAttributes="true"/>
        </list>
      </property>
    </bean>
    </util:list>
</beans>


And the error message:

"nested exception is org.xml.sax.SAXParseException; lineNumber: 33; columnNumber: 15; cvc-complex-type.2.3: Element 'list' cannot have character [children], because the type's content type is element-only."


-----Original Message-----
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Rod Widdowson
Sent: Thursday, August 17, 2017 9:20 AM
To: 'Shib Users' <users at shibboleth.net>
Subject: RE: CAS Configuration for IdPv3

> "nested exception is org.xml.sax.SAXParseException; lineNumber: 19; columnNumber: 12; cvc-complex-type.2.3: Element 'list' cannot
have
> character [children], because the type's content type is element-only"

A priori that error doesn't make sense so I'm wondering whether the schema declaration has gone weird.

What else have you removed from the relying-party.xml file?	 In my copy of that file the Stanza that you quote starts at line
34, so 15 lines have gone.

R




-- 
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


More information about the users mailing list