diff --git a/modules/analytics/distribution/src/ues/designer.json b/modules/analytics/distribution/src/ues/designer.json index f530bd67..477b04eb 100644 --- a/modules/analytics/distribution/src/ues/designer.json +++ b/modules/analytics/distribution/src/ues/designer.json @@ -34,7 +34,7 @@ "methods": { "oauth": { "attributes": { - "apimgt-gateway": false, + "apimgt-gateway": true, "oauthProvider": { "appRegistration": { "appType": "webapp", @@ -43,12 +43,10 @@ "password":"admin", "dynamicClientAppRegistrationServiceURL": "https://localhost:9443/dynamic-client-web/register", "apiManagerClientAppRegistrationServiceURL": "https://localhost:9443/api-application-registration/register/tenants", - "grantType": "password refresh_token urn:ietf:urn:ietf:params:oauth:grant-type:saml2-bearer urn:ietf:params:oauth:grant-type:jwt-bearer", + "grantType": "password refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer urn:ietf:params:oauth:grant-type:jwt-bearer", "tokenScope": "admin", "callbackUrl": "https://localhost:9445/portal", - "saasApp":true, - "samlGrantTypeName":"urn:ietf:params:oauth:grant-type:saml2-bearer" - + "saasApp":true }, "tokenServiceURL": "https://localhost:9443/oauth2/token" }, diff --git a/modules/core/distribution/identity_config_change.xml b/modules/core/distribution/identity_config_change.xml index 7bfd9df4..2b56094e 100644 --- a/modules/core/distribution/identity_config_change.xml +++ b/modules/core/distribution/identity_config_change.xml @@ -7,7 +7,7 @@ //s:Server/s:OAuth/s:OAuthCallbackHandlers - ]]> + ]]> diff --git a/modules/core/distribution/pom.xml b/modules/core/distribution/pom.xml index 910fa08b..ecb942e9 100644 --- a/modules/core/distribution/pom.xml +++ b/modules/core/distribution/pom.xml @@ -128,7 +128,7 @@ /Server/OAuth/SupportedGrantTypes/SupportedGrantType (org.wso2.carbon.identity.oauth2.token.handlers.grant.saml.SAML2BearerGrantHandler) - org.wso2.carbon.device.mgt.oauth.extensions.handlers.grant.ExtendedSAML2BearerGrantHandler + org.wso2.carbon.apimgt.keymgt.handlers.ExtendedSAML2BearerGrantHandler /Server/OAuth/SupportedGrantTypes/SupportedGrantType @@ -140,11 +140,7 @@ (org.wso2.carbon.identity.oauth.callback.DefaultCallbackHandler) org.wso2.carbon.apimgt.keymgt.util.APIManagerOAuthCallbackHandler - - /Server/SSOService/UseAuthenticatedUserDomainCrypto - (false) - true - + diff --git a/modules/core/distribution/src/assembly/bin.xml b/modules/core/distribution/src/assembly/bin.xml index 0849ebbb..fb448067 100644 --- a/modules/core/distribution/src/assembly/bin.xml +++ b/modules/core/distribution/src/assembly/bin.xml @@ -115,7 +115,6 @@ **/repository/conf/security/Owasp.CsrfGuard.Carbon.properties **/repository/components/plugins/httpclient_4.3.2.wso2v1.jar **/conf/tomcat/carbon/WEB-INF/web.xml - **/repository/components/plugins/org.wso2.carbon.hostobjects.sso_4.5.4.jar @@ -954,14 +953,6 @@ ${pom.artifactId}-${pom.version}/repository/conf 644 - - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/apim-integration.xml - - ${pom.artifactId}-${pom.version}/repository/conf - 644 - src/repository/conf/api-manager.xml diff --git a/modules/core/distribution/src/repository/bin/wso2server.bat b/modules/core/distribution/src/repository/bin/wso2server.bat index 33cd68cf..17b473c3 100644 --- a/modules/core/distribution/src/repository/bin/wso2server.bat +++ b/modules/core/distribution/src/repository/bin/wso2server.bat @@ -162,7 +162,7 @@ set CARBON_CLASSPATH=.\lib;%CARBON_CLASSPATH% set JAVA_ENDORSED=".\lib\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed" -set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms256m -Xmx1024m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="%CARBON_HOME%\repository\logs\heap-dump.hprof" -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% -Djava.endorsed.dirs=%JAVA_ENDORSED% -Dcarbon.registry.root=/ -Dcarbon.home="%CARBON_HOME%" -Dlogger.server.name="IoT-Core" -Dwso2.server.standalone=true -Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp" -Dcatalina.base="%CARBON_HOME%\lib\tomcat" -Dwso2.carbon.xml=%CARBON_HOME%\repository\conf\carbon.xml -Dwso2.registry.xml="%CARBON_HOME%\repository\conf\registry.xml" -Dwso2.user.mgt.xml="%CARBON_HOME%\repository\conf\user-mgt.xml" -Dwso2.transports.xml="%CARBON_HOME%\repository\conf\mgt-transports.xml" -Djava.util.logging.config.file="%CARBON_HOME%\repository\conf\etc\logging-bridge.properties" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dcarbon.config.dir.path="%CARBON_HOME%\repository\conf" -Dcomponents.repo="%CARBON_HOME%\repository\components" -Dconf.location="%CARBON_HOME%\repository\conf" -Dcom.atomikos.icatch.file="%CARBON_HOME%\lib\transactions.properties" -Dcom.atomikos.icatch.hide_init_file_path="true" -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8 -Dorg.wso2.ignoreHostnameVerification=true -Dorg.opensaml.httpclient.https.disableHostnameVerification=true -Diot.analytics.host="localhost" -Diot.analytics.https.port="9445" -Dmqtt.broker.host="localhost" -Dmqtt.broker.port="1886" -Diot.core.host="localhost" -Diot.core.https.port="9443" -Diot.keymanager.host="localhost" -Diot.keymanager.https.port="9443" -Diot.gateway.host="localhost" -Diot.gateway.https.port="8243" -Diot.gateway.http.port="8280" -Diot.apimpublisher.host="localhost" -Diot.apimpublisher.https.port="9443" -Diot.apimstore.host="localhost" -Diot.apimstore.https.port="8243" +set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms256m -Xmx1024m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="%CARBON_HOME%\repository\logs\heap-dump.hprof" -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% -Djava.endorsed.dirs=%JAVA_ENDORSED% -Dcarbon.registry.root=/ -Dcarbon.home="%CARBON_HOME%" -Dlogger.server.name="IoT-Core" -Dwso2.server.standalone=true -Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp" -Dcatalina.base="%CARBON_HOME%\lib\tomcat" -Dwso2.carbon.xml=%CARBON_HOME%\repository\conf\carbon.xml -Dwso2.registry.xml="%CARBON_HOME%\repository\conf\registry.xml" -Dwso2.user.mgt.xml="%CARBON_HOME%\repository\conf\user-mgt.xml" -Dwso2.transports.xml="%CARBON_HOME%\repository\conf\mgt-transports.xml" -Djava.util.logging.config.file="%CARBON_HOME%\repository\conf\etc\logging-bridge.properties" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dcarbon.config.dir.path="%CARBON_HOME%\repository\conf" -Dcomponents.repo="%CARBON_HOME%\repository\components" -Dconf.location="%CARBON_HOME%\repository\conf" -Dcom.atomikos.icatch.file="%CARBON_HOME%\lib\transactions.properties" -Dcom.atomikos.icatch.hide_init_file_path="true" -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8 -Dorg.wso2.ignoreHostnameVerification=true -Dorg.opensaml.httpclient.https.disableHostnameVerification=true -Diot.analytics.host="localhost" -Diot.analytics.https.port="9445" -Dmqtt.broker.host="localhost" -Dmqtt.broker.port="1886" -Diot.core.host="localhost" -Diot.core.https.port="9443" -Diot.keymanager.host="localhost" -Diot.keymanager.https.port="9443" -Diot.gateway.host="localhost" -Diot.gateway.https.port="8243" -Diot.gateway.http.port="8280" :runJava echo JAVA_HOME environment variable is set to %JAVA_HOME% diff --git a/modules/core/distribution/src/repository/bin/wso2server.sh b/modules/core/distribution/src/repository/bin/wso2server.sh index fc7c8894..656b52a2 100755 --- a/modules/core/distribution/src/repository/bin/wso2server.sh +++ b/modules/core/distribution/src/repository/bin/wso2server.sh @@ -318,10 +318,6 @@ do -Diot.gateway.host="localhost" \ -Diot.gateway.https.port="8243" \ -Diot.gateway.http.port="8280" \ - -Diot.apimpublisher.host="localhost" \ - -Diot.apimpublisher.https.port="9443" \ - -Diot.apimstore.host="localhost" \ - -Diot.apimstore.https.port="9443" \ org.wso2.carbon.bootstrap.Bootstrap $* status=$? done diff --git a/modules/core/distribution/src/repository/conf/etc/webapp-publisher-config.xml b/modules/core/distribution/src/repository/conf/etc/webapp-publisher-config.xml index 59a239ac..0784d2a4 100644 --- a/modules/core/distribution/src/repository/conf/etc/webapp-publisher-config.xml +++ b/modules/core/distribution/src/repository/conf/etc/webapp-publisher-config.xml @@ -35,6 +35,6 @@ default - device-manager + devicetype-publisher \ No newline at end of file diff --git a/modules/core/distribution/src/repository/conf/identity/service-providers/API_STORE.xml b/modules/core/distribution/src/repository/conf/identity/service-providers/API_STORE.xml index d77e49a3..4ae3fdaf 100644 --- a/modules/core/distribution/src/repository/conf/identity/service-providers/API_STORE.xml +++ b/modules/core/distribution/src/repository/conf/identity/service-providers/API_STORE.xml @@ -44,7 +44,7 @@ true - true + false diff --git a/modules/core/distribution/src/repository/conf/identity/service-providers/devicemgt.xml b/modules/core/distribution/src/repository/conf/identity/service-providers/devicemgt.xml index 2c7c52d9..156eb6e1 100644 --- a/modules/core/distribution/src/repository/conf/identity/service-providers/devicemgt.xml +++ b/modules/core/distribution/src/repository/conf/identity/service-providers/devicemgt.xml @@ -44,7 +44,7 @@ true - true + false diff --git a/modules/core/distribution/src/repository/conf/identity/service-providers/portal.xml b/modules/core/distribution/src/repository/conf/identity/service-providers/portal.xml index 3cd65666..7f84e5ab 100644 --- a/modules/core/distribution/src/repository/conf/identity/service-providers/portal.xml +++ b/modules/core/distribution/src/repository/conf/identity/service-providers/portal.xml @@ -44,7 +44,7 @@ true - true + false diff --git a/modules/core/distribution/src/repository/conf/identity/service-providers/publisher.xml b/modules/core/distribution/src/repository/conf/identity/service-providers/publisher.xml index 33a4736d..503833ce 100644 --- a/modules/core/distribution/src/repository/conf/identity/service-providers/publisher.xml +++ b/modules/core/distribution/src/repository/conf/identity/service-providers/publisher.xml @@ -44,7 +44,7 @@ true - true + false diff --git a/modules/core/distribution/src/repository/conf/identity/service-providers/store.xml b/modules/core/distribution/src/repository/conf/identity/service-providers/store.xml index 9503a87d..27bb258e 100644 --- a/modules/core/distribution/src/repository/conf/identity/service-providers/store.xml +++ b/modules/core/distribution/src/repository/conf/identity/service-providers/store.xml @@ -44,7 +44,7 @@ true - true + false diff --git a/modules/core/distribution/src/repository/jaggeryapps/portal/configs/designer.json b/modules/core/distribution/src/repository/jaggeryapps/portal/configs/designer.json index 2f049839..7e6bb450 100644 --- a/modules/core/distribution/src/repository/jaggeryapps/portal/configs/designer.json +++ b/modules/core/distribution/src/repository/jaggeryapps/portal/configs/designer.json @@ -20,7 +20,7 @@ "acs": "%https.host%/portal/acs", "identityAlias": "wso2carbon", "defaultNameIDPolicy": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified", - "useTenantKey": true, + "useTenantKey": false, "isPassive": false } }, @@ -34,7 +34,7 @@ "methods": { "oauth": { "attributes": { - "apimgt-gateway": true, + "apimgt-gateway": false, "oauthProvider": { "appRegistration": { "appType": "webapp", @@ -46,8 +46,7 @@ "grantType": "password refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer urn:ietf:params:oauth:grant-type:jwt-bearer", "tokenScope": "admin", "callbackUrl": "%https.host%/portal", - "saasApp":true, - "samlGrantTypeName":"urn:ietf:params:oauth:grant-type:saml2-bearer" + "saasApp":true }, "tokenServiceURL": "https://localhost:9443/oauth2/token" }, diff --git a/modules/core/p2-profile-gen/pom.xml b/modules/core/p2-profile-gen/pom.xml index 08a9855b..2fc8a8bb 100644 --- a/modules/core/p2-profile-gen/pom.xml +++ b/modules/core/p2-profile-gen/pom.xml @@ -146,9 +146,6 @@ org.wso2.carbon.devicemgt:org.wso2.carbon.apimgt.application.extension.feature:${carbon.device.mgt.version} - - org.wso2.carbon.devicemgt:org.wso2.carbon.apimgt.integration.client.feature:${carbon.device.mgt.version} - org.wso2.carbon.devicemgt:org.wso2.carbon.apimgt.handler.server.feature:${carbon.device.mgt.version} @@ -621,12 +618,6 @@ org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.dcr.feature:${carbon.api.mgt.version} - - org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.feature:${carbon.api.mgt.version} - - - org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.store.feature:${carbon.api.mgt.version} - @@ -779,7 +770,7 @@ - p2-profile-generation-device-manager-profile + p2-profile-generation-devicetype-publisher-profile package materialize-product @@ -791,11 +782,11 @@ file:${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components - device-manager + devicetype-publisher - p2-profile-generation-device-backend-profile + p2-profile-generation-devicetype-worker-profile package materialize-product @@ -807,7 +798,7 @@ file:${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components - device-backend + devicetype-worker @@ -902,10 +893,6 @@ org.wso2.carbon.apimgt.application.extension.feature.group ${carbon.device.mgt.version} - - org.wso2.carbon.apimgt.integration.client.feature.group - ${carbon.device.mgt.version} - org.wso2.carbon.email.sender.feature.group ${carbon.device.mgt.version} @@ -1066,14 +1053,6 @@ org.wso2.carbon.apimgt.rest.api.dcr.feature.group ${carbon.api.mgt.version} - - org.wso2.carbon.apimgt.rest.api.publisher.feature.group - ${carbon.api.mgt.version} - - - org.wso2.carbon.apimgt.rest.api.store.feature.group - ${carbon.api.mgt.version} - org.wso2.carbon.apimgt.gateway.feature.group @@ -1932,10 +1911,6 @@ org.wso2.carbon.apimgt.application.extension.feature.group ${carbon.device.mgt.version} - - org.wso2.carbon.apimgt.integration.client.feature.group - ${carbon.device.mgt.version} - org.wso2.carbon.certificate.mgt.server.feature.group ${carbon.device.mgt.version} @@ -2352,10 +2327,6 @@ org.wso2.carbon.apimgt.application.extension.feature.group ${carbon.device.mgt.version} - - org.wso2.carbon.apimgt.integration.client.feature.group - ${carbon.device.mgt.version} - org.wso2.carbon.dynamic.client.registration.server.feature.group ${carbon.device.mgt.version} @@ -2419,10 +2390,6 @@ org.wso2.carbon.apimgt.application.extension.feature.group ${carbon.device.mgt.version} - - org.wso2.carbon.apimgt.integration.client.feature.group - ${carbon.device.mgt.version} - org.wso2.carbon.certificate.mgt.api.feature.group ${carbon.device.mgt.version} @@ -2466,7 +2433,7 @@ p2-profile-gen - device-manager + devicetype-publisher file:${basedir}/target/p2-repo file:${basedir}/target/p2-repo @@ -2545,10 +2512,6 @@ org.wso2.carbon.apimgt.application.extension.feature.group ${carbon.device.mgt.version} - - org.wso2.carbon.apimgt.integration.client.feature.group - ${carbon.device.mgt.version} - org.wso2.carbon.email.sender.feature.group ${carbon.device.mgt.version} @@ -2900,18 +2863,6 @@ org.wso2.carbon.apimgt.gateway.feature.group ${carbon.api.mgt.version} - - org.wso2.carbon.apimgt.rest.api.dcr.feature.group - ${carbon.api.mgt.version} - - - org.wso2.carbon.apimgt.rest.api.publisher.feature.group - ${carbon.api.mgt.version} - - - org.wso2.carbon.apimgt.rest.api.store.feature.group - ${carbon.api.mgt.version} - org.wso2.carbon.apimgt.core.feature.group ${carbon.api.mgt.version} @@ -3070,10 +3021,6 @@ org.wso2.carbon.apimgt.application.extension.feature.group ${carbon.device.mgt.version} - - org.wso2.carbon.apimgt.integration.client.feature.group - ${carbon.device.mgt.version} - org.wso2.carbon.certificate.mgt.api.feature.group ${carbon.device.mgt.version} @@ -3144,7 +3091,7 @@ p2-profile-gen - device-backend + devicetype-worker file:${basedir}/target/p2-repo file:${basedir}/target/p2-repo @@ -3203,10 +3150,6 @@ org.wso2.carbon.apimgt.application.extension.feature.group ${carbon.device.mgt.version} - - org.wso2.carbon.apimgt.integration.client.feature.group - ${carbon.device.mgt.version} - org.wso2.carbon.email.sender.feature.group ${carbon.device.mgt.version} @@ -3272,7 +3215,6 @@ ${carbon.device.mgt.version} - org.wso2.carbon.device.mgt.adapter.feature.group ${carbon.device.mgt.plugin.version} @@ -3539,18 +3481,6 @@ org.wso2.carbon.apimgt.store.feature.group ${carbon.api.mgt.version} - - org.wso2.carbon.apimgt.rest.api.dcr.feature.group - ${carbon.api.mgt.version} - - - org.wso2.carbon.apimgt.rest.api.publisher.feature.group - ${carbon.api.mgt.version} - - - org.wso2.carbon.apimgt.rest.api.store.feature.group - ${carbon.api.mgt.version} - org.wso2.carbon.registry.extensions.feature.group ${carbon.governance.version} @@ -3701,10 +3631,6 @@ org.wso2.carbon.apimgt.application.extension.feature.group ${carbon.device.mgt.version} - - org.wso2.carbon.apimgt.integration.client.feature.group - ${carbon.device.mgt.version} - org.wso2.carbon.certificate.mgt.server.feature.group ${carbon.device.mgt.version} @@ -3760,25 +3686,6 @@ ${identity.inbound.auth.saml.version.iotcore} - - - - org.wso2.carbon.dashboards.shindig.feature.group - ${carbon.dashboard.version} - - - org.wso2.carbon.dashboards.portal.feature.group - ${carbon.dashboard.version} - - - org.wso2.carbon.dashboard.deployment.feature.group - ${carbon.dashboard.version} - - - org.wso2.carbon.iot.device.statistics.dashboard.feature.group - ${carbon.device.mgt.plugin.version} - - diff --git a/pom.xml b/pom.xml index 6a901630..787f115b 100644 --- a/pom.xml +++ b/pom.xml @@ -1534,21 +1534,21 @@ 4.7.0 - 2.0.14-SNAPSHOT + 2.0.13 [2.0.0, 3.0.0) 3.1.0-SNAPSHOT - 3.0.11-SNAPSHOT + 3.0.10 - 6.1.64 + 6.1.35 (6.0.0,7.0.0] - 4.6.10 + 4.6.9 5.1.5