You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2019/11/15 15:17:46 UTC
[tomcat] branch master updated: Cleanups
This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new 8ab5add Cleanups
8ab5add is described below
commit 8ab5add93ee5a40c5a348ddde0e6a6587505fdf6
Author: remm <re...@apache.org>
AuthorDate: Fri Nov 15 16:17:28 2019 +0100
Cleanups
---
.../org/apache/webbeans/web/tomcat/OpenWebBeansSecurityFilter.java | 2 ++
.../src/main/resources/META-INF/openwebbeans/openwebbeans.properties | 4 +++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/modules/owb/src/main/java/org/apache/webbeans/web/tomcat/OpenWebBeansSecurityFilter.java b/modules/owb/src/main/java/org/apache/webbeans/web/tomcat/OpenWebBeansSecurityFilter.java
index 2526cdf..a048b1e 100644
--- a/modules/owb/src/main/java/org/apache/webbeans/web/tomcat/OpenWebBeansSecurityFilter.java
+++ b/modules/owb/src/main/java/org/apache/webbeans/web/tomcat/OpenWebBeansSecurityFilter.java
@@ -33,6 +33,8 @@ import javax.servlet.http.HttpServletRequest;
* Filter which sets the UserPrincipal into a ThreadLocal
* to make it injectable via a CDI Producer. This is an alternative
* to the valve to allow configuration at the webapp level as well.
+ * The filter name should usually be OwbSecurityFilter, mapped on
+ * REQUEST with *.
*/
public class OpenWebBeansSecurityFilter implements Filter {
diff --git a/modules/owb/src/main/resources/META-INF/openwebbeans/openwebbeans.properties b/modules/owb/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
index fbb0917..c152225 100644
--- a/modules/owb/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
+++ b/modules/owb/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
@@ -14,5 +14,7 @@
#KIND, either express or implied. See the License for the
#specific language governing permissions and limitations
#under the License.
-configuration.ordinal=1000
+
+configuration.ordinal=20
+
org.apache.webbeans.spi.SecurityService=org.apache.webbeans.web.tomcat.TomcatSecurityService
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org