You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ow...@apache.org on 2014/02/23 23:01:22 UTC
svn commit: r1571105 -
/cxf/fediz/trunk/services/idp/src/main/webapp/WEB-INF/federation-validate-request.xml
Author: owulff
Date: Sun Feb 23 22:01:21 2014
New Revision: 1571105
URL: http://svn.apache.org/r1571105
Log:
Fix in redirect to trusted IDP
Modified:
cxf/fediz/trunk/services/idp/src/main/webapp/WEB-INF/federation-validate-request.xml
Modified: cxf/fediz/trunk/services/idp/src/main/webapp/WEB-INF/federation-validate-request.xml
URL: http://svn.apache.org/viewvc/cxf/fediz/trunk/services/idp/src/main/webapp/WEB-INF/federation-validate-request.xml?rev=1571105&r1=1571104&r2=1571105&view=diff
==============================================================================
--- cxf/fediz/trunk/services/idp/src/main/webapp/WEB-INF/federation-validate-request.xml (original)
+++ cxf/fediz/trunk/services/idp/src/main/webapp/WEB-INF/federation-validate-request.xml Sun Feb 23 22:01:21 2014
@@ -153,14 +153,14 @@
<end-state id="redirectToTrustedIDP" view="externalRedirect:${flowScope.remoteIdpUrl}">
<on-entry>
<set name="flowScope.remoteIdpUrl"
- value="flowScope.idpConfig.trustedIDPs.get(flowScope.whr).url
+ value="flowScope.idpConfig.findTrustedIdp(flowScope.whr).url
+'?wa=wsignin1.0'
+'&wtrealm='+flowScope.idpConfig.realm
+'&wreply='+flowScope.idpConfig.idpUrl
+(flowScope.wfresh != null ? '&wfresh='+flowScope.wfresh : '')
+(flowScope.wctx != null ? '&wctx='+flowScope.wctx : '')">
</set>
- </on-entry>
+ </on-entry>
</end-state>
<end-state id="redirectToLocalIDP" view="externalRedirect:${flowScope.localIdpUrl}">