[java-identity-provider COMMIT] in /trunk: idp-conf/src/main/resources/system/flows/cas/login/login-beans.xml idp-con...

noreply at shibboleth.net noreply at shibboleth.net
Wed Jan 20 11:46:09 EST 2016


Author: serac
Date: Wed Jan 20 11:46:09 2016
New Revision: 8079

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8079&view=rev
Log:
IDP-879 Populate UserAgentContext for browser profiles.

https://issues.shibboleth.net/jira/browse/IDP-879
Execute PopulateUserAgentContext action early in all browser profile flows.

Added:
    trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/PopulateUserAgentContext.java
Modified:
    trunk/idp-conf/src/main/resources/system/flows/cas/login/login-beans.xml
    trunk/idp-conf/src/main/resources/system/flows/cas/login/login-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/logout/logout-propagation-beans.xml
    trunk/idp-conf/src/main/resources/system/flows/logout/logout-propagation-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/saml/saml-abstract-beans.xml
    trunk/idp-conf/src/main/resources/system/flows/saml/saml-abstract-flow.xml
    trunk/idp-session-impl/src/main/java/net/shibboleth/idp/session/impl/PopulateLogoutPropagationContext.java

Modified: trunk/idp-conf/src/main/resources/system/flows/cas/login/login-beans.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/cas/login/login-beans.xml?rev=8079&r1=8078&r2=8079&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/cas/login/login-beans.xml	(original)
+++ trunk/idp-conf/src/main/resources/system/flows/cas/login/login-beans.xml	Wed Jan 20 11:46:09 2016
@@ -14,6 +14,10 @@
           p:profileId="#{T(net.shibboleth.idp.cas.config.impl.LoginConfiguration).PROFILE_ID}"
           p:loggingId="%{idp.service.logging.cas:SSO}"
           p:browserProfile="true" />
+
+    <bean id="PopulateUserAgentContext"
+          class="net.shibboleth.idp.profile.impl.PopulateUserAgentContext" scope="prototype"
+          p:httpServletRequest-ref="shibboleth.HttpServletRequest" />
 
     <bean id="PopulateClientStorageLoadContext"
           class="org.opensaml.storage.impl.client.PopulateClientStorageLoadContext"

Modified: trunk/idp-conf/src/main/resources/system/flows/cas/login/login-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/cas/login/login-flow.xml?rev=8079&r1=8078&r2=8079&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/cas/login/login-flow.xml	(original)
+++ trunk/idp-conf/src/main/resources/system/flows/cas/login/login-flow.xml	Wed Jan 20 11:46:09 2016
@@ -10,6 +10,7 @@
             <evaluate result="flowScope.hasAuthenticationContext" expression="false" />
         </on-entry>
         <evaluate expression="InitializeProfileRequestContext"/>
+        <evaluate expression="PopulateUserAgentContext"/>
         <evaluate expression="PopulateClientStorageLoadContext" />
         <evaluate expression="'proceed'" />
         <transition on="proceed" to="ClientStorageLoad" />

Modified: trunk/idp-conf/src/main/resources/system/flows/logout/logout-propagation-beans.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/logout/logout-propagation-beans.xml?rev=8079&r1=8078&r2=8079&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/logout/logout-propagation-beans.xml	(original)
+++ trunk/idp-conf/src/main/resources/system/flows/logout/logout-propagation-beans.xml	Wed Jan 20 11:46:09 2016
@@ -29,9 +29,12 @@
 
     <bean id="PopulateLogoutPropagationContext"
         class="net.shibboleth.idp.session.impl.PopulateLogoutPropagationContext" scope="prototype"
-        p:httpServletRequest-ref="shibboleth.HttpServletRequest"
         p:SPSessionSerializerRegistry-ref="shibboleth.SPSessionSerializerRegistry"
         p:dataSealer-ref="shibboleth.DataSealer" />
+
+    <bean id="PopulateUserAgentContext"
+          class="net.shibboleth.idp.profile.impl.PopulateUserAgentContext" scope="prototype"
+          p:httpServletRequest-ref="shibboleth.HttpServletRequest" />
         
     <bean id="SelectPropagationFlow"
         class="net.shibboleth.idp.session.impl.SelectLogoutPropagationFlow" scope="prototype"

Modified: trunk/idp-conf/src/main/resources/system/flows/logout/logout-propagation-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/logout/logout-propagation-flow.xml?rev=8079&r1=8078&r2=8079&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/logout/logout-propagation-flow.xml	(original)
+++ trunk/idp-conf/src/main/resources/system/flows/logout/logout-propagation-flow.xml	Wed Jan 20 11:46:09 2016
@@ -7,6 +7,7 @@
     <action-state id="PropagateLogout">
         <evaluate expression="InitializeProfileRequestContext" />
         <evaluate expression="PopulateLogoutPropagationContext" />

[... 72 lines stripped ...]


More information about the commits mailing list