Repository: cxf-fediz Updated Branches: refs/heads/master 47a23b88c -> 09a6fc053
[FEDIZ-154] - Example 'simpleWebapp' needs proper configuration of the FederationEntryPoint in IDP realm-b. Thanks to Ingo Wolf for the patch. Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/09a6fc05 Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/09a6fc05 Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/09a6fc05 Branch: refs/heads/master Commit: 09a6fc053bb17dbe88528827265b535168330b6e Parents: 47a23b8 Author: Colm O hEigeartaigh <[email protected]> Authored: Wed Feb 24 11:50:01 2016 +0000 Committer: Colm O hEigeartaigh <[email protected]> Committed: Wed Feb 24 12:41:14 2016 +0000 ---------------------------------------------------------------------- services/idp/src/main/resources/realm.properties | 1 + services/idp/src/main/webapp/WEB-INF/security-config.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/09a6fc05/services/idp/src/main/resources/realm.properties ---------------------------------------------------------------------- diff --git a/services/idp/src/main/resources/realm.properties b/services/idp/src/main/resources/realm.properties index c7b5bf3..56b43ed 100644 --- a/services/idp/src/main/resources/realm.properties +++ b/services/idp/src/main/resources/realm.properties @@ -1,4 +1,5 @@ realm.STS_URI=${realm.STS_URI} +realm-uri=${realm-uri} realmA.port=${realmA.port} realmB.port=${realmB.port} db-load-config=${db-load-config} http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/09a6fc05/services/idp/src/main/webapp/WEB-INF/security-config.xml ---------------------------------------------------------------------- diff --git a/services/idp/src/main/webapp/WEB-INF/security-config.xml b/services/idp/src/main/webapp/WEB-INF/security-config.xml index 38a2ba8..406b798 100644 --- a/services/idp/src/main/webapp/WEB-INF/security-config.xml +++ b/services/idp/src/main/webapp/WEB-INF/security-config.xml @@ -71,7 +71,7 @@ <!-- Redirects to a dedicated http config --> <bean id="federationEntryPoint" class="org.apache.cxf.fediz.service.idp.FederationEntryPoint"> - <property name="realm" value="urn:org:apache:cxf:fediz:idp:realm-A" /> + <property name="realm" value="${realm-uri}" /> <property name="configService" ref="config" /> </bean>
