[java-identity-provider COMMIT] in /trunk: idp-conf/src/main/resources/system/conf/legacy-relying-party-defaults.xml ...

noreply at shibboleth.net noreply at shibboleth.net
Thu Mar 2 10:46:44 EST 2017


Author: scantor
Date: Thu Mar  2 10:46:43 2017
New Revision: 8635

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8635&view=rev
Log:
IDP-1132 - Improper warning when using legacy relying-party format

https://issues.shibboleth.net/jira/browse/IDP-1132

Modified:
    trunk/idp-conf/src/main/resources/system/conf/legacy-relying-party-defaults.xml
    trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/saml/impl/BaseSAMLProfileConfigurationParser.java
    trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/beans.xml

Modified: trunk/idp-conf/src/main/resources/system/conf/legacy-relying-party-defaults.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/conf/legacy-relying-party-defaults.xml?rev=8635&r1=8634&r2=8635&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/conf/legacy-relying-party-defaults.xml	(original)
+++ trunk/idp-conf/src/main/resources/system/conf/legacy-relying-party-defaults.xml	Thu Mar  2 10:46:43 2017
@@ -11,40 +11,49 @@
         default-destroy-method="destroy">
 	
     <!--  SAML2 -->
+    <alias alias="shibboleth.SAML2.Artifact.ServletRequest" name="shibboleth.HttpServletRequest" />
     <bean id="shibboleth.SAML2.Artifact.InboundFlowId" class="java.lang.String"
         c:_0="security-policy/saml-soap" />
         
+    <alias alias="shibboleth.SAML2.Logout.ServletRequest" name="shibboleth.HttpServletRequest" />
     <bean id="shibboleth.SAML2.Logout.ArtifactServiceIndex" class="java.lang.String"
         c:_0="%{idp.artifact.endpointIndex:2}" />
     <bean id="shibboleth.SAML2.Logout.InboundFlowId" class="java.lang.String"
         c:_0="security-policy/saml2-slo" />
 
+    <alias alias="shibboleth.SAML2.AttributeQuery.ServletRequest" name="shibboleth.HttpServletRequest" />
     <bean id="shibboleth.SAML2.AttributeQuery.ArtifactServiceIndex" class="java.lang.String"
         c:_0="%{idp.artifact.endpointIndex:2}" />
     <bean id="shibboleth.SAML2.AttributeQuery.InboundFlowId" class="java.lang.String"
         c:_0="security-policy/saml-soap" />
 
+    <alias alias="shibboleth.SAML2.BrowserSSO.ServletRequest" name="shibboleth.HttpServletRequest" />
     <bean id="shibboleth.SAML2.BrowserSSO.ArtifactServiceIndex" class="java.lang.String"
         c:_0="%{idp.artifact.endpointIndex:2}" />
     <bean id="shibboleth.SAML2.BrowserSSO.InboundFlowId" class="java.lang.String"
         c:_0="security-policy/saml2-sso" />
-        
+
+    <alias alias="shibboleth.SAML2.ECP.ServletRequest" name="shibboleth.HttpServletRequest" />        
     <bean id="shibboleth.SAML2.ECP.InboundFlowId" class="java.lang.String"
         c:_0="security-policy/saml2-ecp" />
 
     <!--  SAML2 - Liberty -->
+    <alias alias="shibboleth.SAML2.SSOS.ServletRequest" name="shibboleth.HttpServletRequest" />
     <bean id="shibboleth.SAML2.SSOS.InboundFlowId" class="java.lang.String"
-        c:_0="security-policy/saml2-ssos" /><!-- TODO -->
+        c:_0="security-policy/saml2-ssos" />
 
     <!--  SAML1 -->
+    <alias alias="shibboleth.SAML1.Artifact.ServletRequest" name="shibboleth.HttpServletRequest" />
     <bean id="shibboleth.SAML1.Artifact.InboundFlowId" class="java.lang.String"
         c:_0="security-policy/saml-soap" />
-        
+    
+    <alias alias="shibboleth.SAML1.AttributeQuery.ServletRequest" name="shibboleth.HttpServletRequest" />
     <bean id="shibboleth.SAML1.AttributeQuery.ArtifactServiceIndex" class="java.lang.String"
         c:_0="%{idp.artifact.endpointIndex:2}" />
     <bean id="shibboleth.SAML1.AttributeQuery.InboundFlowId" class="java.lang.String"
         c:_0="security-policy/saml-soap" />
-        
+    
+    <alias alias="shibboleth.SAML1.BrowserSSO.ServletRequest" name="shibboleth.HttpServletRequest" />
     <bean id="shibboleth.SAML1.BrowserSSO.ArtifactServiceIndex" class="java.lang.String"
         c:_0="%{idp.artifact.endpointIndex:2}" />
     <bean id="shibboleth.SAML1.BrowserSSO.InboundFlowId" class="java.lang.String"

Modified: trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/saml/impl/BaseSAMLProfileConfigurationParser.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/saml/impl/BaseSAMLProfileConfigurationParser.java?rev=8635&r1=8634&r2=8635&view=diff
==============================================================================
--- trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/saml/impl/BaseSAMLProfileConfigurationParser.java	(original)
+++ trunk/idp-profile-spring/src/main/java/net/shibboleth/idp/profile/spring/relyingparty/saml/impl/BaseSAMLProfileConfigurationParser.java	Thu Mar  2 10:46:43 2017
@@ -241,6 +241,9 @@
         // Install a defaulted flow ID for inbound security policy handling.
         // TODO: is there a better way to install a list containing a bean reference?

[... 148 lines stripped ...]


More information about the commits mailing list