Skip to content

Commit

Permalink
remove BasicAuthentication filter as it is supported by UberFire
Browse files Browse the repository at this point in the history
  • Loading branch information
jervisliu committed Aug 7, 2013
1 parent b5a95d3 commit 111fed5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 97 deletions.
Expand Up @@ -21,13 +21,8 @@

<filter-mapping>
<filter-name>UberFire Security Filter</filter-name>
<url-pattern>/org.drools.workbench.DroolsWorkbench/*</url-pattern>
<url-pattern>/*</url-pattern>
</filter-mapping>

<context-param>
<param-name>resteasy.providers</param-name>
<param-value>org.kie.workbench.common.services.rest.BasicAuthentication</param-value>
</context-param>

<servlet>
<servlet-name>UberFireServlet</servlet-name>
Expand Down
7 changes: 1 addition & 6 deletions drools-wb-distribution-wars/src/main/tomcat7/WEB-INF/web.xml
Expand Up @@ -25,7 +25,7 @@

<filter-mapping>
<filter-name>UberFire Security Filter</filter-name>
<url-pattern>/org.drools.workbench.DroolsWorkbench/*</url-pattern>
<url-pattern>/*</url-pattern>
</filter-mapping>

<context-param>
Expand All @@ -42,11 +42,6 @@
<param-name>resteasy.injector.factory</param-name>
<param-value>org.jboss.resteasy.cdi.CdiInjectorFactory</param-value>
</context-param>

<context-param>
<param-name>resteasy.providers</param-name>
<param-value>org.kie.workbench.common.services.rest.BasicAuthentication</param-value>
</context-param>

<servlet>
<servlet-name>Resteasy</servlet-name>
Expand Down

This file was deleted.

5 changes: 0 additions & 5 deletions drools-wb-webapp/src/main/webapp/WEB-INF/web.xml
Expand Up @@ -44,11 +44,6 @@
<param-value>org.jboss.resteasy.cdi.CdiInjectorFactory</param-value>
</context-param>

<context-param>
<param-name>resteasy.providers</param-name>
<param-value>org.kie.workbench.common.services.rest.BasicAuthentication</param-value>
</context-param>

<servlet>
<servlet-name>Resteasy</servlet-name>
<servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>
Expand Down

0 comments on commit 111fed5

Please sign in to comment.