You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rz...@apache.org on 2021/06/26 17:54:03 UTC
[tomee] 01/03: Dont use EL for the realmName -> go for a constant
as it is just for the test (as the comment says)
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 13b9e9248139a99446201a65d6bc1ebe54a6501a
Author: Richard Zowalla <13...@users.noreply.github.com>
AuthorDate: Sat Jun 26 18:06:04 2021 +0200
Dont use EL for the realmName -> go for a constant as it is just for the test (as the comment says)
---
.../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 34520c4..71caf50 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