This is an automated email from the ASF dual-hosted git repository.

rzo1 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git

commit acd700cc89b719e155eabe9704e2fe91950595be
Author: Richard Zowalla <r...@apache.org>
AuthorDate: Sat Jun 26 20:41:55 2021 +0200

    Revert "Dont use EL for the realmName -> go for a constant as it is just 
for the test (as the comment says)"
    
    This reverts commit 13b9e924 (does not fix the original test)
---
 .../java/org/apache/tomee/security/servlet/BasicAuthServletTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tomee/tomee-security/src/test/java/org/apache/tomee/security/servlet/BasicAuthServletTest.java
 
b/tomee/tomee-security/src/test/java/org/apache/tomee/security/servlet/BasicAuthServletTest.java
index 71caf50..34520c4 100644
--- 
a/tomee/tomee-security/src/test/java/org/apache/tomee/security/servlet/BasicAuthServletTest.java
+++ 
b/tomee/tomee-security/src/test/java/org/apache/tomee/security/servlet/BasicAuthServletTest.java
@@ -93,7 +93,7 @@ public class BasicAuthServletTest extends 
AbstractTomEESecurityTest {
     @WebServlet(urlPatterns = "/basic")
     @ServletSecurity(@HttpConstraint(rolesAllowed = "tomcat"))
     @BasicAuthenticationMechanismDefinition(
-        realmName = "fun EL realm" // constant so we could avoid EL but it's 
just for the test
+        realmName = "${'fun EL realm'}" // constant so we could avoid EL but 
it's just for the test
     )
     public static class TestServlet extends HttpServlet {
         @Override

Reply via email to