You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jg...@apache.org on 2018/02/22 19:15:28 UTC
tomee git commit: Fix webaccess tests
Repository: tomee
Updated Branches:
refs/heads/tomee-1.7.x 9d7f5ccde -> 4401c5142
Fix webaccess tests
Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/4401c514
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/4401c514
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/4401c514
Branch: refs/heads/tomee-1.7.x
Commit: 4401c5142fb57739ec30245cba8da0a8daae0c39
Parents: 9d7f5cc
Author: Jonathan Gallimore <jo...@jrg.me.uk>
Authored: Thu Feb 22 19:15:06 2018 +0000
Committer: Jonathan Gallimore <jo...@jrg.me.uk>
Committed: Thu Feb 22 19:15:06 2018 +0000
----------------------------------------------------------------------
tomee/tomee-webaccess/src/test/resources/test/context.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tomee/blob/4401c514/tomee/tomee-webaccess/src/test/resources/test/context.xml
----------------------------------------------------------------------
diff --git a/tomee/tomee-webaccess/src/test/resources/test/context.xml b/tomee/tomee-webaccess/src/test/resources/test/context.xml
index 9cecec6..87f16e1 100644
--- a/tomee/tomee-webaccess/src/test/resources/test/context.xml
+++ b/tomee/tomee-webaccess/src/test/resources/test/context.xml
@@ -16,7 +16,8 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<Context antiJARLocking="true" path="/webaccess">
+<Context antiJARLocking="true" path="/webaccess" preemptiveAuthentication="true">
+ <Valve className="org.apache.catalina.authenticator.NonLoginAuthenticator" />
<Realm className="org.apache.catalina.realm.JAASRealm" appName="ScriptLogin"
userClassNames="org.apache.openejb.core.security.jaas.UserPrincipal"
roleClassNames="org.apache.openejb.core.security.jaas.GroupPrincipal">