From 746e5209df548f7e4759f9a676988afb7fc1ff30 Mon Sep 17 00:00:00 2001 From: Dulitha Wijewantha Date: Mon, 26 Jan 2015 22:49:04 +0530 Subject: [PATCH] * Added copying tasks for the authentication endpoint web app, sso-config, identity configs * Added claim mgt feature * Added relevant configuration files --- .../modules/distribution/src/assembly/bin.xml | 29 ++++++++++- .../identity/identity-providers/default.xml | 24 +++++++++ .../identity/service-providers/default.xml | 49 +++++++++++++++++ .../identity/service-providers/sp_cdm.xml | 49 +++++++++++++++++ .../conf/security/sso-idp-config.xml | 49 +++++++++++++++++ .../src/repository/conf/sso-idp-config.xml | 52 ------------------- product/modules/p2-profile-gen/pom.xml | 8 ++- 7 files changed, 205 insertions(+), 55 deletions(-) create mode 100644 product/modules/distribution/src/repository/conf/identity/identity-providers/default.xml create mode 100644 product/modules/distribution/src/repository/conf/identity/service-providers/default.xml create mode 100644 product/modules/distribution/src/repository/conf/identity/service-providers/sp_cdm.xml create mode 100755 product/modules/distribution/src/repository/conf/security/sso-idp-config.xml delete mode 100755 product/modules/distribution/src/repository/conf/sso-idp-config.xml diff --git a/product/modules/distribution/src/assembly/bin.xml b/product/modules/distribution/src/assembly/bin.xml index 29a3c19678..6b5d68e3c2 100644 --- a/product/modules/distribution/src/assembly/bin.xml +++ b/product/modules/distribution/src/assembly/bin.xml @@ -112,7 +112,7 @@ wso2mdm-${project.version}/repository/conf **/api-manager.xml - **/sso-idp-config.xml + **/security/ @@ -126,7 +126,15 @@ **/trusted-idp-config.xml - + + + src/repository/conf/identity/ + + wso2mdm-${project.version}/repository/conf/identity/ + + **/** + + src/repository/conf/datasources wso2mdm-${project.version}/repository/conf/datasources @@ -224,6 +232,16 @@ 755 + + + + ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps + + ${pom.artifactId}-${pom.version}/repository/deployment/server/webapps + + authenticationendpoint.war + + @@ -280,6 +298,7 @@ 755 + @@ -416,6 +436,11 @@ wso2mdm-${project.version}/repository/conf 644 + + src/repository/conf/security/sso-idp-config.xml + wso2mdm-${project.version}/repository/conf/security + 644 + diff --git a/product/modules/distribution/src/repository/conf/identity/identity-providers/default.xml b/product/modules/distribution/src/repository/conf/identity/identity-providers/default.xml new file mode 100644 index 0000000000..3d1faa529d --- /dev/null +++ b/product/modules/distribution/src/repository/conf/identity/identity-providers/default.xml @@ -0,0 +1,24 @@ + + default + default + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/product/modules/distribution/src/repository/conf/identity/service-providers/default.xml b/product/modules/distribution/src/repository/conf/identity/service-providers/default.xml new file mode 100644 index 0000000000..83cb78a0b7 --- /dev/null +++ b/product/modules/distribution/src/repository/conf/identity/service-providers/default.xml @@ -0,0 +1,49 @@ + + 1 + default + Default Service Provider + + + + default + + + + + + + + + 1 + + + BasicAuthenticator + basicauth + true + + + + true + true + + + + + + + + true + + + diff --git a/product/modules/distribution/src/repository/conf/identity/service-providers/sp_cdm.xml b/product/modules/distribution/src/repository/conf/identity/service-providers/sp_cdm.xml new file mode 100644 index 0000000000..e6006ead27 --- /dev/null +++ b/product/modules/distribution/src/repository/conf/identity/service-providers/sp_cdm.xml @@ -0,0 +1,49 @@ + + 2 + wso2_cdm + CDM + + + + cdm + samlsso + + + + + + + + 1 + + + BasicAuthenticator + basicauth + true + + + + true + true + + + + + + + + true + + + diff --git a/product/modules/distribution/src/repository/conf/security/sso-idp-config.xml b/product/modules/distribution/src/repository/conf/security/sso-idp-config.xml new file mode 100755 index 0000000000..cb76f1d87d --- /dev/null +++ b/product/modules/distribution/src/repository/conf/security/sso-idp-config.xml @@ -0,0 +1,49 @@ + + + https://stratos-local.wso2.com/carbon/tenant-register/select_domain.jsp + + + + cdm + https://localhost:9443/cdm/acs + true + true + false + false + + http://wso2.org/claims/role + http://wso2.org/claims/emailaddress + + false + + true + + carbonServer + + + + + diff --git a/product/modules/distribution/src/repository/conf/sso-idp-config.xml b/product/modules/distribution/src/repository/conf/sso-idp-config.xml deleted file mode 100755 index 99f61be9eb..0000000000 --- a/product/modules/distribution/src/repository/conf/sso-idp-config.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - https://stratos-local.wso2.com/carbon/tenant-register/select_domain.jsp - - - store - https://localhost:9443/store/acs - true - /store/login.jag - - - social - https://localhost:9443/social/acs - true - /social/login - - - publisher - https://localhost:9443/publisher/acs - true - /publisher/controllers/login.jag - - - emm - https://localhost:9443/emm/acs - true - /emm/login - - - mam - https://localhost:9443/mam/acs - true - /mam/login - - - diff --git a/product/modules/p2-profile-gen/pom.xml b/product/modules/p2-profile-gen/pom.xml index f3245f533c..edba18878b 100644 --- a/product/modules/p2-profile-gen/pom.xml +++ b/product/modules/p2-profile-gen/pom.xml @@ -305,6 +305,9 @@ org.wso2.carbon:org.wso2.carbon.identity.mgt.feature:${carbon.platform.version} + + org.wso2.carbon:org.wso2.carbon.claim.mgt.server.feature:${carbon.platform.version} + @@ -586,7 +589,10 @@ org.wso2.carbon.identity.mgt.feature.group ${carbon.platform.version} - + + org.wso2.carbon.claim.mgt.server.feature.group + ${carbon.platform.version} +