Remove unused code
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 21 Mar 2011 17:26:48 +0000 (17:26 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 21 Mar 2011 17:26:48 +0000 (17:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1083875 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/authenticator/AuthenticatorBase.java
java/org/apache/catalina/authenticator/mbeans-descriptors.xml

index e40587f..cf42e29 100644 (file)
@@ -86,13 +86,6 @@ public abstract class AuthenticatorBase extends ValveBase
 
 
     /**
-     * The default message digest algorithm to use if we cannot use
-     * the requested one.
-     */
-    protected static final String DEFAULT_ALGORITHM = "MD5";
-
-
-    /**
      * Authentication header
      */
     protected static final String AUTH_HEADER_NAME = "WWW-Authenticate";
@@ -103,14 +96,6 @@ public abstract class AuthenticatorBase extends ValveBase
     protected static final String REALM_NAME = "Authentication required";
 
     /**
-     * The message digest algorithm to be used when generating session
-     * identifiers.  This must be an algorithm supported by the
-     * <code>java.security.MessageDigest</code> class on your platform.
-     */
-    protected String algorithm = DEFAULT_ALGORITHM;
-
-
-    /**
      * Should a session always be used once a user is authenticated? This may
      * offer some performance benefits since the session can then be used to
      * cache the authenticated Principal, hence removing the need to
@@ -218,28 +203,6 @@ public abstract class AuthenticatorBase extends ValveBase
 
 
     /**
-     * Return the message digest algorithm for this Manager.
-     */
-    public String getAlgorithm() {
-
-        return (this.algorithm);
-
-    }
-
-
-    /**
-     * Set the message digest algorithm for this Manager.
-     *
-     * @param algorithm The new message digest algorithm
-     */
-    public void setAlgorithm(String algorithm) {
-
-        this.algorithm = algorithm;
-
-    }
-
-
-    /**
      * Return the cache authenticated Principals flag.
      */
     public boolean getCache() {
index 5a5c380..0b4fd9d 100644 (file)
          group="Valve"
          type="org.apache.catalina.authenticator.BasicAuthenticator">
     
-    <attribute name="algorithm"
-               description="The message digest algorithm to be used when generating session identifiers"
-               type="java.lang.String"/>
-      
     <attribute name="cache"
                description="Should we cache authenticated Principals if the request is part of an HTTP session?"
                type="boolean"/>
          group="Valve"
          type="org.apache.catalina.authenticator.DigestAuthenticator">
     
-    <attribute name="algorithm"
-               description="The message digest algorithm to be used when generating session identifiers"
-               type="java.lang.String"/>
-      
     <attribute name="cache"
                description="Should we cache authenticated Principals if the request is part of an HTTP session?"
                type="boolean"/>
          group="Valve"
          type="org.apache.catalina.authenticator.FormAuthenticator">
     
-    <attribute name="algorithm"
-               description="The message digest algorithm to be used when generating session identifiers"
-               type="java.lang.String"/>
-      
     <attribute name="cache"
                description="Should we cache authenticated Principals if the request is part of an HTTP session?"
                type="boolean"/>
          group="Valve"
          type="org.apache.catalina.authenticator.NonLoginAuthenticator">
     
-    <attribute name="algorithm"
-               description="The message digest algorithm to be used when generating session identifiers"
-               type="java.lang.String"/>
-      
     <attribute name="cache"
                description="Should we cache authenticated Principals if the request is part of an HTTP session?"
                type="boolean"/>
          group="Valve"
          type="org.apache.catalina.authenticator.SSLAuthenticator">
 
-    <attribute name="algorithm"
-               description="The message digest algorithm to be used when generating session identifiers"
-               type="java.lang.String"/>
-      
     <attribute name="cache"
                description="Should we cache authenticated Principals if the request is part of an HTTP session?"
                type="boolean"/>