Repository: cxf-fediz Updated Branches: refs/heads/1.2.x-fixes 948ce710a -> 4ffc8451c
[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/4ffc8451 Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/4ffc8451 Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/4ffc8451 Branch: refs/heads/1.2.x-fixes Commit: 4ffc8451cb42a6316316b9cbbae4bdd897d696ba Parents: 948ce71 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:36 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/4ffc8451/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/4ffc8451/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 a3413bb..7dfc76d 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>
