You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2016/04/13 17:39:39 UTC

[2/2] cxf-fediz git commit: [FEDIZ-164] - IdP default flow doesn't support multiple realms

[FEDIZ-164] - IdP default flow doesn't support multiple realms


Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/7fb519c2
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/7fb519c2
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/7fb519c2

Branch: refs/heads/1.2.x-fixes
Commit: 7fb519c251b47dbeb573952e2b687b19aa4efba6
Parents: 9779277
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Wed Apr 13 15:32:54 2016 +0100
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Wed Apr 13 16:39:30 2016 +0100

----------------------------------------------------------------------
 .../idp/src/main/webapp/WEB-INF/federation-validate-request.xml    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/7fb519c2/services/idp/src/main/webapp/WEB-INF/federation-validate-request.xml
----------------------------------------------------------------------
diff --git a/services/idp/src/main/webapp/WEB-INF/federation-validate-request.xml b/services/idp/src/main/webapp/WEB-INF/federation-validate-request.xml
index ffded3a..62dd5b9 100644
--- a/services/idp/src/main/webapp/WEB-INF/federation-validate-request.xml
+++ b/services/idp/src/main/webapp/WEB-INF/federation-validate-request.xml
@@ -36,7 +36,7 @@
             <set name="flowScope.SAMLResponse" value="requestParameters.SAMLResponse" />
             <evaluate expression="requestScope.getString('wauth','default')"
                 result="flowScope.wauth" />
-            <set name="flowScope.idpConfig" value="config.getIDP(null)" />
+            <set name="flowScope.idpConfig" value="config.getIDP(fedizEntryPoint.getRealm())" />
         </on-entry>
         <if
             test="requestParameters.wa == 'wsignout1.0' or requestParameters.wa == 'wsignoutcleanup1.0'"