Author: markt
Date: Mon Mar 21 17:26:48 2011
New Revision: 1083875

URL: http://svn.apache.org/viewvc?rev=1083875&view=rev
Log:
Remove unused code

Modified:
    tomcat/trunk/java/org/apache/catalina/authenticator/AuthenticatorBase.java
    tomcat/trunk/java/org/apache/catalina/authenticator/mbeans-descriptors.xml

Modified: 
tomcat/trunk/java/org/apache/catalina/authenticator/AuthenticatorBase.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/authenticator/AuthenticatorBase.java?rev=1083875&r1=1083874&r2=1083875&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/authenticator/AuthenticatorBase.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/authenticator/AuthenticatorBase.java 
Mon Mar 21 17:26:48 2011
@@ -86,13 +86,6 @@ public abstract class AuthenticatorBase 
 
 
     /**
-     * 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 
     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 
 
 
     /**
-     * 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() {

Modified: 
tomcat/trunk/java/org/apache/catalina/authenticator/mbeans-descriptors.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/authenticator/mbeans-descriptors.xml?rev=1083875&r1=1083874&r2=1083875&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/authenticator/mbeans-descriptors.xml 
(original)
+++ tomcat/trunk/java/org/apache/catalina/authenticator/mbeans-descriptors.xml 
Mon Mar 21 17:26:48 2011
@@ -23,10 +23,6 @@
          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"/>
@@ -61,10 +57,6 @@
          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"/>
@@ -98,10 +90,6 @@
          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"/>
@@ -135,10 +123,6 @@
          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"/>
@@ -187,10 +171,6 @@
          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"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to