Skip to content

Commit

Permalink
SAML TR added without custom RP configuration doesn't work #490 - tem…
Browse files Browse the repository at this point in the history
…plates fix
  • Loading branch information
dmogn committed May 5, 2017
1 parent 7350f76 commit 681ad2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Expand Up @@ -25,7 +25,6 @@
<!-- ========================================================================================== -->

#foreach( $trustRelationship in $trustParams.trusts )
#if($trustRelationship.specificRelyingPartyConfig and (not $trustRelationship.isFederation()))

#set ($profileConfigMap = $trustRelationship.profileConfigurations)
#if(!$profileConfigMap.isEmpty())
Expand Down Expand Up @@ -65,7 +64,6 @@
#end

#end
#end
#end

</MetadataProvider>
6 changes: 3 additions & 3 deletions configuration/template/shibboleth3/idp/relying-party.xml.vm
Expand Up @@ -68,7 +68,7 @@
<util:list id="shibboleth.RelyingPartyOverrides">

#foreach( $trustRelationship in $trustParams.trusts )
#if($trustRelationship.specificRelyingPartyConfig and (not $trustRelationship.isFederation()))


#set ($profileConfigMap = $trustRelationship.profileConfigurations)
#if(!$profileConfigMap.isEmpty())
Expand All @@ -79,6 +79,7 @@
<bean parent="RelyingPartyByName" id="$relyingPartyId" c:relyingPartyIds="$entityId">
<property name="profileConfigurations">
<list>
#if($trustRelationship.specificRelyingPartyConfig and (not $trustRelationship.isFederation()))
#foreach ($mapEntry in $profileConfigMap.entrySet())

#set($profileConfig = $mapEntry.value)
Expand Down Expand Up @@ -284,12 +285,11 @@

#end
#end

#end
</list>
</property>
</bean>
#end
#end
#end

</util:list>
Expand Down

0 comments on commit 681ad2b

Please sign in to comment.