You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/12/03 10:42:56 UTC
svn commit: r1717731 -
/tomcat/trunk/test/org/apache/catalina/filters/TestRestCsrfPreventionFilter2.java
Author: markt
Date: Thu Dec 3 09:42:56 2015
New Revision: 1717731
URL: http://svn.apache.org/viewvc?rev=1717731&view=rev
Log:
Authentication names should be in upper case.
This doesn't affect this test now, but it does when porting to JASPIC.
Modified:
tomcat/trunk/test/org/apache/catalina/filters/TestRestCsrfPreventionFilter2.java
Modified: tomcat/trunk/test/org/apache/catalina/filters/TestRestCsrfPreventionFilter2.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/filters/TestRestCsrfPreventionFilter2.java?rev=1717731&r1=1717730&r2=1717731&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/filters/TestRestCsrfPreventionFilter2.java (original)
+++ tomcat/trunk/test/org/apache/catalina/filters/TestRestCsrfPreventionFilter2.java Thu Dec 3 09:42:56 2015
@@ -79,7 +79,7 @@ public class TestRestCsrfPreventionFilte
private static final String USER = "user";
private static final String PWD = "pwd";
private static final String ROLE = "role";
- private static final String METHOD = "Basic";
+ private static final String METHOD = "BASIC";
private static final BasicCredentials CREDENTIALS = new BasicCredentials(METHOD, USER, PWD);
private static final String CLIENT_AUTH_HEADER = "authorization";
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org