From 7daedd6516d1ddaec9e5df5031b0d3f4edfad90f Mon Sep 17 00:00:00 2001 From: ayyoob Date: Wed, 8 Feb 2017 13:11:03 +0530 Subject: [PATCH] added jwt authenticator --- .../distribution/src/assembly/bin.xml | 7 - .../conf/security/authenticators.xml | 8 +- .../conf/tomcat/catalina-server.xml | 99 ------------ modules/analytics/p2-profile-gen/pom.xml | 4 - .../core/distribution/src/assembly/bin.xml | 7 - .../Owasp.CsrfGuard.Carbon.properties | 1 + .../conf/security/authenticators.xml | 25 ++-- modules/core/p2-profile-gen/pom.xml | 141 ++++++++++-------- 8 files changed, 101 insertions(+), 191 deletions(-) delete mode 100644 modules/analytics/distribution/src/repository/conf/tomcat/catalina-server.xml diff --git a/modules/analytics/distribution/src/assembly/bin.xml b/modules/analytics/distribution/src/assembly/bin.xml index ac35f977..532763ce 100644 --- a/modules/analytics/distribution/src/assembly/bin.xml +++ b/modules/analytics/distribution/src/assembly/bin.xml @@ -50,7 +50,6 @@ **/repository/deployment/server/jaggeryapps/portal/modules/oauth/plugins/token-handler-utils.js **/repository/deployment/server/jaggeryapps/portal/modules/oauth/plugins/token-handlers.js **/repository/conf/security/authenticators.xml - **/repository/conf/tomcat/catalina-server.xml @@ -415,12 +414,6 @@ true 644 - - src/repository/conf/tomcat/catalina-server.xml - ${pom.artifactId}-${pom.version}/repository/conf/tomcat - true - 644 - diff --git a/modules/analytics/distribution/src/repository/conf/security/authenticators.xml b/modules/analytics/distribution/src/repository/conf/security/authenticators.xml index 7fb33e27..2afca49f 100644 --- a/modules/analytics/distribution/src/repository/conf/security/authenticators.xml +++ b/modules/analytics/distribution/src/repository/conf/security/authenticators.xml @@ -61,14 +61,18 @@ --> + + 5 + + - + \ No newline at end of file diff --git a/modules/analytics/distribution/src/repository/conf/tomcat/catalina-server.xml b/modules/analytics/distribution/src/repository/conf/tomcat/catalina-server.xml deleted file mode 100644 index c68a93ef..00000000 --- a/modules/analytics/distribution/src/repository/conf/tomcat/catalina-server.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/modules/analytics/p2-profile-gen/pom.xml b/modules/analytics/p2-profile-gen/pom.xml index fecb8059..b245368b 100644 --- a/modules/analytics/p2-profile-gen/pom.xml +++ b/modules/analytics/p2-profile-gen/pom.xml @@ -809,10 +809,6 @@ org.wso2.extension.siddhi.execution.json.feature.group ${carbon.device.mgt.plugin.version} - - org.wso2.carbon.identity.authenticator.mutualssl.feature.group - ${identity.carbon.auth.mutual.ssl.version} - diff --git a/modules/core/distribution/src/assembly/bin.xml b/modules/core/distribution/src/assembly/bin.xml index 689b8b00..78690354 100644 --- a/modules/core/distribution/src/assembly/bin.xml +++ b/modules/core/distribution/src/assembly/bin.xml @@ -74,7 +74,6 @@ **/lib/encoder* **/plugins/jaxb* **/repository/conf/security/authenticators.xml - **/repository/conf/tomcat/catalina-server.xml **/user-mgt.xml **/plugins/org.wso2.carbon.localentry.ui* @@ -1187,12 +1186,6 @@ true 644 - - src/repository/conf/tomcat/catalina-server.xml - ${pom.artifactId}-${pom.version}/repository/conf/tomcat - true - 644 - diff --git a/modules/core/distribution/src/repository/conf/security/Owasp.CsrfGuard.Carbon.properties b/modules/core/distribution/src/repository/conf/security/Owasp.CsrfGuard.Carbon.properties index 62cb1c57..1558b672 100644 --- a/modules/core/distribution/src/repository/conf/security/Owasp.CsrfGuard.Carbon.properties +++ b/modules/core/distribution/src/repository/conf/security/Owasp.CsrfGuard.Carbon.properties @@ -476,6 +476,7 @@ org.owasp.csrfguard.unprotected.socialAcs=%servletContext%/social/acs org.owasp.csrfguard.unprotected.socialApis=%servletContext%/social/apis org.owasp.csrfguard.unprotected.appStoreDevices=%servletContext%/store/apps/devices/* org.owasp.csrfguard.unprotected.appStoreApis=%servletContext%/store/apis/* +org.owasp.csrfguard.unprotected.appPortalClient=%servletContext%/portal/apis/* #carbon diff --git a/modules/core/distribution/src/repository/conf/security/authenticators.xml b/modules/core/distribution/src/repository/conf/security/authenticators.xml index 4063c7e6..4b8e8fb8 100644 --- a/modules/core/distribution/src/repository/conf/security/authenticators.xml +++ b/modules/core/distribution/src/repository/conf/security/authenticators.xml @@ -25,15 +25,18 @@ - - 10 - - false - https://localhost:9443 - admin - admin - - + + 5 + + + 10 + + false + https://localhost:9443 + admin + admin + + @@ -41,14 +44,14 @@ - + diff --git a/modules/core/p2-profile-gen/pom.xml b/modules/core/p2-profile-gen/pom.xml index c8c15301..0b491eaf 100644 --- a/modules/core/p2-profile-gen/pom.xml +++ b/modules/core/p2-profile-gen/pom.xml @@ -857,10 +857,6 @@ org.wso2.carbon.appmgt.core.feature.group ${appmgt.feature.version} - - org.wso2.carbon.store.feature.group - ${carbon.store.version} - org.wso2.carbon.appmgt.mdm.wso2emm.feature.group ${appmgt.feature.version} @@ -881,6 +877,10 @@ org.wso2.carbon.appmgt.services.api.feature.group ${appmgt.feature.version} + + org.wso2.carbon.store.feature.group + ${carbon.store.version} + org.wso2.carbon.appmgt.store.feature.group ${appmgt.feature.version} @@ -2503,32 +2503,44 @@ - - - org.wso2.carbon.appmgt.core.feature.group - ${appmgt.feature.version} - - - org.wso2.carbon.appmgt.mdm.wso2emm.feature.group - ${appmgt.feature.version} - - - org.wso2.carbon.appmgt.mdm.restconnector.feature.group - ${appmgt.feature.version} - - - org.wso2.carbon.appmgt.mobile.feature.group - ${appmgt.feature.version} - - - org.wso2.carbon.appmgt.services.api.feature.group - ${appmgt.feature.version} - - - org.wso2.carbon.appmgt.mdm.osgiconnector.feature.group - ${carbon.device.mgt.plugin.version} - - + + + org.wso2.carbon.appmgt.core.feature.group + ${appmgt.feature.version} + + + org.wso2.carbon.appmgt.mdm.wso2emm.feature.group + ${appmgt.feature.version} + + + org.wso2.carbon.appmgt.mdm.restconnector.feature.group + ${appmgt.feature.version} + + + org.wso2.carbon.appmgt.mobile.feature.group + ${appmgt.feature.version} + + + org.wso2.carbon.appmgt.publisher.feature.group + ${appmgt.feature.version} + + + org.wso2.carbon.appmgt.services.api.feature.group + ${appmgt.feature.version} + + + org.wso2.carbon.store.feature.group + ${carbon.store.version} + + + org.wso2.carbon.appmgt.store.feature.group + ${appmgt.feature.version} + + + org.wso2.carbon.social.feature.group + ${carbon.store.version} + + @@ -3189,32 +3201,44 @@ - - - org.wso2.carbon.appmgt.core.feature.group - ${appmgt.feature.version} - - - org.wso2.carbon.appmgt.mdm.wso2emm.feature.group - ${appmgt.feature.version} - - - org.wso2.carbon.appmgt.mdm.restconnector.feature.group - ${appmgt.feature.version} - - - org.wso2.carbon.appmgt.mobile.feature.group - ${appmgt.feature.version} - - - org.wso2.carbon.appmgt.services.api.feature.group - ${appmgt.feature.version} - - - org.wso2.carbon.appmgt.mdm.osgiconnector.feature.group - ${carbon.device.mgt.plugin.version} - - + + + org.wso2.carbon.appmgt.core.feature.group + ${appmgt.feature.version} + + + org.wso2.carbon.appmgt.mdm.wso2emm.feature.group + ${appmgt.feature.version} + + + org.wso2.carbon.appmgt.mdm.restconnector.feature.group + ${appmgt.feature.version} + + + org.wso2.carbon.appmgt.mobile.feature.group + ${appmgt.feature.version} + + + org.wso2.carbon.appmgt.publisher.feature.group + ${appmgt.feature.version} + + + org.wso2.carbon.appmgt.services.api.feature.group + ${appmgt.feature.version} + + + org.wso2.carbon.store.feature.group + ${carbon.store.version} + + + org.wso2.carbon.appmgt.store.feature.group + ${appmgt.feature.version} + + + org.wso2.carbon.social.feature.group + ${carbon.store.version} + + @@ -3816,11 +3840,6 @@ org.wso2.carbon.iot.device.statistics.dashboard.feature.group ${carbon.device.mgt.plugin.version} - - - org.wso2.carbon.identity.authenticator.mutualssl.feature.group - ${identity.carbon.auth.mutual.ssl.version} -