Author: markt Date: Tue Sep 9 08:13:42 2014 New Revision: 1623684 URL: http://svn.apache.org/r1623684 Log: Remove deprecated code
Modified: tomcat/trunk/java/org/apache/catalina/authenticator/DigestAuthenticator.java Modified: tomcat/trunk/java/org/apache/catalina/authenticator/DigestAuthenticator.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/authenticator/DigestAuthenticator.java?rev=1623684&r1=1623683&r2=1623684&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/authenticator/DigestAuthenticator.java (original) +++ tomcat/trunk/java/org/apache/catalina/authenticator/DigestAuthenticator.java Tue Sep 9 08:13:42 2014 @@ -19,8 +19,6 @@ package org.apache.catalina.authenticato import java.io.IOException; import java.io.StringReader; import java.nio.charset.StandardCharsets; -import java.security.MessageDigest; -import java.security.NoSuchAlgorithmException; import java.security.Principal; import java.util.LinkedHashMap; import java.util.Map; @@ -57,33 +55,17 @@ public class DigestAuthenticator extends */ protected static final String QOP = "auth"; - // ----------------------------------------------------------- Constructors + // ----------------------------------------------------------- Constructors public DigestAuthenticator() { super(); setCache(false); - try { - if (md5Helper == null) { - md5Helper = MessageDigest.getInstance("MD5"); - } - } catch (NoSuchAlgorithmException e) { - throw new IllegalStateException(e); - } } // ----------------------------------------------------- Instance Variables - - /** - * MD5 message digest provider. - * @deprecated Unused - will be removed in Tomcat 8.0.x onwards - */ - @Deprecated - protected static volatile MessageDigest md5Helper; - - /** * List of server nonce values currently being tracked */ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org