diff --git a/modules/core/distribution/pom.xml b/modules/core/distribution/pom.xml index 9effc12d..c041fbf9 100644 --- a/modules/core/distribution/pom.xml +++ b/modules/core/distribution/pom.xml @@ -168,7 +168,7 @@ - + @@ -196,7 +196,7 @@ - + @@ -346,6 +346,20 @@ d run + + modify_entitlement_properties + prepare-package + + + + + + + + + run + + diff --git a/modules/core/distribution/src/api-resources/api_templates/velocity_template.xml b/modules/core/distribution/src/api-resources/api_templates/velocity_template.xml index acec1df1..a331c9b9 100644 --- a/modules/core/distribution/src/api-resources/api_templates/velocity_template.xml +++ b/modules/core/distribution/src/api-resources/api_templates/velocity_template.xml @@ -338,7 +338,7 @@ #end - + ## check and set response caching #if($responseCacheEnabled) diff --git a/modules/core/distribution/src/api-resources/synapse-configs/default/sequences/_throttle_out_handler_.xml b/modules/core/distribution/src/api-resources/synapse-configs/default/sequences/_throttle_out_handler_.xml index 40e81240..710ee276 100644 --- a/modules/core/distribution/src/api-resources/synapse-configs/default/sequences/_throttle_out_handler_.xml +++ b/modules/core/distribution/src/api-resources/synapse-configs/default/sequences/_throttle_out_handler_.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/modules/core/distribution/src/assembly/bin.xml b/modules/core/distribution/src/assembly/bin.xml index 7c006567..fb643fda 100644 --- a/modules/core/distribution/src/assembly/bin.xml +++ b/modules/core/distribution/src/assembly/bin.xml @@ -298,9 +298,7 @@ - - src/repository/resources/dbscripts/apimgt - + ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/apimgt ${pom.artifactId}-${pom.version}/dbscripts/apimgt */** @@ -846,6 +844,12 @@ true 644 + + ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/identity/oidc-scope-config.xml + ${pom.artifactId}-${pom.version}/repository/conf/identity/ + true + 644 + src/repository/conf/identity/identity.xml ${pom.artifactId}-${pom.version}/repository/conf/identity diff --git a/modules/core/distribution/src/repository/conf/entitlement.properties b/modules/core/distribution/src/repository/conf/entitlement.properties index 41e11316..305ecac2 100644 --- a/modules/core/distribution/src/repository/conf/entitlement.properties +++ b/modules/core/distribution/src/repository/conf/entitlement.properties @@ -1,3 +1,21 @@ +# +# Copyright (c) 2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. +# +# WSO2 Inc. licenses this file to you under the Apache License, +# Version 2.0 (the "License"); you may not use this file except +# in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + PDP.Enable=true PAP.Enable=true PDP.DecisionCaching.Enable=true @@ -12,7 +30,13 @@ PDP.Balana.Config.Enable=false PDP.Multiple.Decision.Profile.Enable=true PDP.Global.Policy.Combining.Algorithm=urn:oasis:names:tc:xacml:3.0:policy-combining-algorithm:deny-overrides PAP.Policy.Add.Start.Enable=false +#PAP.Policy.Add.Start.Policy.File.Path= PAP.Items.Per.Page=10 +PDP.Registry.Level.Policy.Cache.Clear=false +PDP.PolicyCaching.CachingInterval=100 +Entitlement.Engine.CachingInterval=100000 +PDP.References.MaxPolicyEntries=3000 + #PDP.Extensions.Extension.1=your.extension.class.name @@ -20,6 +44,7 @@ PAP.Items.Per.Page=10 #PDP.Policy.Store=org.wso2.carbon.identity.entitlement.policy.store.CarbonRegistryPolicyStore PIP.AttributeDesignators.Designator.1=org.wso2.carbon.identity.entitlement.pip.DefaultAttributeFinder +#PIP.AttributeDesignators.Designator.2=org.wso2.carbon.identity.application.authz.xacml.pip.AuthenticationContextAttributePIP PIP.ResourceFinders.Finder.1=org.wso2.carbon.identity.entitlement.pip.DefaultResourceFinder PAP.Entitlement.Data.Finder.1=org.wso2.carbon.identity.entitlement.pap.CarbonEntitlementDataFinder diff --git a/modules/core/p2-profile-gen/pom.xml b/modules/core/p2-profile-gen/pom.xml index 3c357371..ef342898 100644 --- a/modules/core/p2-profile-gen/pom.xml +++ b/modules/core/p2-profile-gen/pom.xml @@ -258,69 +258,69 @@ - org.wso2.carbon.identity:org.wso2.carbon.security.mgt.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.security.mgt.feature:${carbon.identity.framework.version} - org.wso2.carbon.identity:org.wso2.carbon.um.ws.service.feature:${identity.user.ws.version} + org.wso2.carbon.identity.user.ws:org.wso2.carbon.um.ws.service.feature:${identity.user.ws.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.oauth.feature:${identity.inbound.auth.oauth.version} + org.wso2.carbon.identity.inbound.auth.oauth2:org.wso2.carbon.identity.oauth.feature:${identity.inbound.auth.oauth.version} org.wso2.carbon.identity:org.wso2.carbon.identity.provider.server.feature:${identity.inbound.auth.openid.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.thrift.authentication.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.identity.thrift.authentication.feature:${carbon.identity.framework.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.core.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.identity.core.feature:${carbon.identity.framework.version} - org.wso2.carbon.identity:org.wso2.carbon.idp.mgt.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.idp.mgt.feature:${carbon.identity.framework.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.application.authenticator.basicauth.server.feature:${identity.local.auth.basicauth.version} + org.wso2.carbon.identity.application.auth.basic:org.wso2.carbon.identity.application.authenticator.basicauth.server.feature:${identity.local.auth.basicauth.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.application.authentication.framework.server.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework.server.feature:${carbon.identity.framework.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.authenticator.saml2.sso.feature:${identity.carbon.auth.saml2.version} + org.wso2.carbon.identity.carbon.auth.saml2:org.wso2.carbon.identity.authenticator.saml2.sso.feature:${identity.carbon.auth.saml2.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.sso.saml.feature:${identity.inbound.auth.saml.version} + org.wso2.carbon.identity.inbound.auth.saml2:org.wso2.carbon.identity.sso.saml.feature:${identity.inbound.auth.saml.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.user.profile.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.profile.feature:${carbon.identity.framework.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.application.mgt.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.mgt.feature:${carbon.identity.framework.version} - org.wso2.carbon.identity:org.wso2.carbon.claim.mgt.server.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.claim.mgt.server.feature:${carbon.identity.framework.version} - org.wso2.carbon.identity:org.wso2.carbon.claim.mgt.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.claim.mgt.feature:${carbon.identity.framework.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.oauth.ui.feature:${identity.inbound.auth.oauth.version} + org.wso2.carbon.identity.inbound.auth.oauth2:org.wso2.carbon.identity.oauth.ui.feature:${identity.inbound.auth.oauth.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.notification.mgt.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.identity.notification.mgt.feature:${carbon.identity.framework.version} - org.wso2.carbon.identity:org.wso2.carbon.user.mgt.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.user.mgt.feature:${carbon.identity.framework.version} - org.wso2.carbon.identity:org.wso2.carbon.directory.service.mgr.server.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.directory.service.mgr.server.feature:${carbon.identity.framework.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.user.registration.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.registration.feature:${carbon.identity.framework.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.xacml.server.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.identity.xacml.server.feature:${carbon.identity.framework.version} @@ -330,20 +330,30 @@ org.wso2.carbon.identity:org.wso2.carbon.identity.application.authenticator.requestpath.oauth.server.feature:${identity.outbound.auth.requestpath.oauth.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.application.authenticator.basicauth.server.feature:${identity.local.auth.basicauth.version} + org.wso2.carbon.identity.application.auth.basic:org.wso2.carbon.identity.application.authenticator.basicauth.server.feature:${identity.local.auth.basicauth.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.application.authenticator.samlsso.server.feature:${identity.outbound.auth.samlsso.version} + org.wso2.carbon.identity.outbound.auth.saml2:org.wso2.carbon.identity.application.authenticator.samlsso.server.feature:${identity.outbound.auth.samlsso.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.authenticator.saml2.sso.feature:${identity.carbon.auth.saml2.version} + org.wso2.carbon.identity.carbon.auth.saml2:org.wso2.carbon.identity.authenticator.saml2.sso.feature:${identity.carbon.auth.saml2.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.thrift.authentication.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.identity.thrift.authentication.feature:${carbon.identity.framework.version} org.wso2.carbon.identity:org.wso2.carbon.identity.authenticator.mutualssl.feature:${identity.carbon.auth.mutual.ssl.version} + + org.wso2.carbon.identity.metadata.saml2:org.wso2.carbon.identity.inbound.metadata.saml2.server.feature:0.1.1 + + + org.wso2.carbon.identity.metadata.saml2:org.wso2.carbon.identity.sp.metadata.saml2.server.feature:0.1.3 + + + + + @@ -480,6 +490,9 @@ org.wso2.carbon.mediation:org.wso2.carbon.mediation.ui.feature:${carbon.mediation.version} + + org.wso2.carbon.mediation:org.wso2.carbon.mediator.cache.feature:${carbon.mediation.version} + @@ -524,25 +537,25 @@ - org.wso2.carbon.identity:org.wso2.carbon.identity.authenticator.saml2.sso.server.feature:${identity.carbon.auth.saml2.version} + org.wso2.carbon.identity.carbon.auth.saml2:org.wso2.carbon.identity.authenticator.saml2.sso.server.feature:${identity.carbon.auth.saml2.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature:${identity.carbon.auth.saml2.version} + org.wso2.carbon.identity.carbon.auth.saml2:org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature:${identity.carbon.auth.saml2.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.application.mgt.server.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.mgt.server.feature:${carbon.identity.framework.version} - org.wso2.carbon.identity:org.wso2.carbon.idp.mgt.server.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.idp.mgt.server.feature:${carbon.identity.framework.version} - org.wso2.carbon.identity:org.wso2.carbon.directory.service.mgr.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.directory.service.mgr.feature:${carbon.identity.framework.version} - org.wso2.carbon.identity:org.wso2.carbon.identity.user.registration.server.feature:${carbon.identity.framework.version} + org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.registration.server.feature:${carbon.identity.framework.version} @@ -771,6 +784,14 @@ true + + org.wso2.carbon.identity.inbound.metadata.saml2.server.feature.group + 0.1.1 + + + org.wso2.carbon.identity.sp.metadata.saml2.server.feature.group + 0.1.3 + org.wso2.iot.core.styles.feature.group ${product.iot.version} @@ -1239,6 +1260,10 @@ org.wso2.carbon.mediation.ui.feature.group ${carbon.mediation.version} + + org.wso2.carbon.mediator.cache.feature.group + ${carbon.mediation.version} + @@ -3439,4 +3464,4 @@ - \ No newline at end of file + diff --git a/pom.xml b/pom.xml index 5b90e548..53be58b7 100644 --- a/pom.xml +++ b/pom.xml @@ -825,19 +825,19 @@ ${joda-time.version} - org.wso2.carbon.identity + org.wso2.carbon.identity.inbound.auth.oauth2 org.wso2.carbon.identity.oauth.stub - ${carbon.identity.version} + ${identity.inbound.auth.oauth.version} - org.wso2.carbon.identity + org.wso2.carbon.identity.inbound.auth.oauth2 org.wso2.carbon.identity.oauth.dto - ${carbon.identity.version} + ${identity.inbound.auth.oauth.version} - org.wso2.carbon.identity + org.wso2.carbon.identity.inbound.auth.oauth2 org.wso2.carbon.identity.oauth - ${carbon.identity.version} + ${identity.inbound.auth.oauth.version} @@ -1515,19 +1515,19 @@ 4.7.2 - 5.2.0 + 5.6.17 [5.2.0, 6.0.0) - 5.1.1 + 5.2.2 5.1.1 - 5.1.1 - 5.1.3 - 5.1.2 + 5.2.7 + 5.1.6 + 5.2.7 5.1.1 - 5.1.2 - 5.1.1 - + 5.1.3 + 5.1.1 5.1.1 - 5.1.2 + 5.1.4 + 0.1.3 1.0.2 @@ -1536,9 +1536,9 @@ 4.6.1 - 4.5.8 + 4.6.0 - 4.6.5 + 4.7.0 2.0.4-SNAPSHOT @@ -1551,14 +1551,14 @@ 3.0.4-SNAPSHOT - 6.0.5 + 6.1.2 (5.0.0,7.0.0] - 4.6.6 + 4.6.9 - 5.1.5-SNAPSHOT + 5.1.5 1.3.0 1.3.0 ${product.iot.version} @@ -1655,7 +1655,7 @@ 1.0.1 - 1.2.8 + 1.2.8-SNAPSHOT 1.4.4