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 2022/05/09 17:41:05 UTC
[tomcat] branch main updated: Removed deprecated code
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 021a72b3ea Removed deprecated code
021a72b3ea is described below
commit 021a72b3eaeeae28b8d4278babf1089c893f324c
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon May 9 18:40:59 2022 +0100
Removed deprecated code
---
.../apache/catalina/filters/CsrfPreventionFilterBase.java | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/java/org/apache/catalina/filters/CsrfPreventionFilterBase.java b/java/org/apache/catalina/filters/CsrfPreventionFilterBase.java
index 959171c609..d843d7021b 100644
--- a/java/org/apache/catalina/filters/CsrfPreventionFilterBase.java
+++ b/java/org/apache/catalina/filters/CsrfPreventionFilterBase.java
@@ -105,21 +105,6 @@ public abstract class CsrfPreventionFilterBase extends FilterBase {
* @return the generated nonce
*/
protected String generateNonce(HttpServletRequest request) {
- return generateNonce();
- }
-
- /**
- * Generate a once time token (nonce) for authenticating subsequent
- * requests. The nonce generation is a simplified version of
- * ManagerBase.generateSessionId().
- *
- * @return the generated nonce
- *
- * @deprecated Use {@link #generateNonce(HttpServletRequest)} instead. This
- * method will be removed in Apache Tomcat 10.1.x onwards.
- */
- @Deprecated
- protected String generateNonce() {
byte random[] = new byte[16];
// Render the result as a String of hexadecimal digits
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org