Skip to content

Commit

Permalink
Remove XACML configs and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adibmbrk authored and mpmadhavig committed Nov 19, 2024
1 parent 417fe32 commit 8002ee9
Show file tree
Hide file tree
Showing 45 changed files with 1 addition and 1,740 deletions.
1 change: 0 additions & 1 deletion modules/distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@
<configuration>
<tasks>
<property name="tempdir" value="target/docs-temp" />
<property name="registryPolicyHandler" value="&lt;handler class=&quot;org.wso2.carbon.identity.entitlement.policy.finder.registry.RegistryPolicyHandler&quot;&gt;${line.separator} &lt;filter class=&quot;org.wso2.carbon.identity.entitlement.policy.finder.registry.RegistryPolicyMediaTypeMatcher&quot;&gt;${line.separator} &lt;property name=&quot;mediaType&quot;&gt;application/xacml-policy+xml&lt;/property&gt;${line.separator} &lt;/filter&gt;${line.separator} &lt;/handler&gt;${line.separator}${line.separator} &lt;!--&lt;handler class=&quot;org.wso2.carbon.registry.extensions.handlers.SynapseRepositoryHandler&quot;&gt;" />

<property name="xss-kernel-token" value="&lt;XSSPreventionConfig&gt;${line.separator} &lt;Enabled&gt;true&lt;/Enabled&gt;${line.separator} &lt;Rule&gt;allow&lt;/Rule&gt;${line.separator} &lt;Patterns&gt;${line.separator} &lt;!--Pattern&gt;&lt;/Pattern--&gt;${line.separator} &lt;/Patterns&gt;${line.separator} &lt;/XSSPreventionConfig&gt;" />

Expand Down
13 changes: 0 additions & 13 deletions modules/distribution/registry_config_change.xml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,4 @@
]]>
</value>
</add>
<!-- Add the RegistryPolicyHandler -->
<add>
<before>//wso2registry/staticConfiguration</before>
<value>
<![CDATA[
<handler class="org.wso2.carbon.identity.entitlement.policy.finder.registry.RegistryPolicyHandler">
<filter class="org.wso2.carbon.identity.entitlement.policy.finder.registry.RegistryPolicyMediaTypeMatcher">
<property name="mediaType">application/xacml-policy+xml</property>
</filter>
</handler>
]]>
</value>
</add>
</processor>
41 changes: 0 additions & 41 deletions modules/integration/tests-common/extensions/pom.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ org.wso2.carbon.identity.authenticator.saml2.sso.common*
org.wso2.carbon.identity.authorization.core*
org.wso2.carbon.identity.base*
org.wso2.carbon.identity.core*
org.wso2.carbon.identity.entitlement*
org.wso2.carbon.identity.entitlement.common*
org.wso2.carbon.identity.mgt*
org.wso2.carbon.identity.oauth*
org.wso2.carbon.identity.oauth.common*
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@
<!-- Scope validators list. The validators registered here wil be executed during token validation. -->
<ScopeValidators>
<ScopeValidator class="org.wso2.carbon.identity.oauth2.validators.JDBCScopeValidator" />
<ScopeValidator class="org.wso2.carbon.identity.oauth2.validators.xacml.XACMLScopeValidator"/>
</ScopeValidators>

<!-- Scope handlers list. The handlers registered here will be executed at the scope validation phase while
Expand Down Expand Up @@ -823,9 +822,6 @@
<Resource context="(.*)/oauth2/introspect(.*)" secured="true" http-method="all">
<Permissions>/permission/admin/manage/identity/applicationmgt/view</Permissions>
</Resource>
<Resource context="(.*)/api/identity/entitlement/(.*)" secured="true" http-method="all">
<Permissions>/permission/admin/manage/identity/pep</Permissions>
</Resource>
<Resource context="(.*)/scim2/Users(.*)" secured="true" http-method="POST">
<Permissions>/permission/admin/manage/identity/usermgt/create</Permissions>
</Resource>
Expand Down

This file was deleted.

Loading

0 comments on commit 8002ee9

Please sign in to comment.