Author: markt Date: Wed Dec 8 01:31:51 2010 New Revision: 1043272 URL: http://svn.apache.org/viewvc?rev=1043272&view=rev Log: Remove unused code
Modified: tomcat/trunk/java/org/apache/catalina/LifecycleEvent.java tomcat/trunk/java/org/apache/catalina/authenticator/Constants.java tomcat/trunk/java/org/apache/catalina/authenticator/SavedRequest.java Modified: tomcat/trunk/java/org/apache/catalina/LifecycleEvent.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/LifecycleEvent.java?rev=1043272&r1=1043271&r2=1043272&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/LifecycleEvent.java (original) +++ tomcat/trunk/java/org/apache/catalina/LifecycleEvent.java Wed Dec 8 01:31:51 2010 @@ -39,20 +39,6 @@ public final class LifecycleEvent extend // ----------------------------------------------------------- Constructors - - /** - * Construct a new LifecycleEvent with the specified parameters. - * - * @param lifecycle Component on which this event occurred - * @param type Event type (required) - */ - public LifecycleEvent(Lifecycle lifecycle, String type) { - - this(lifecycle, type, null); - - } - - /** * Construct a new LifecycleEvent with the specified parameters. * Modified: tomcat/trunk/java/org/apache/catalina/authenticator/Constants.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/authenticator/Constants.java?rev=1043272&r1=1043271&r2=1043272&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/authenticator/Constants.java (original) +++ tomcat/trunk/java/org/apache/catalina/authenticator/Constants.java Wed Dec 8 01:31:51 2010 @@ -29,11 +29,6 @@ public class Constants { public static final String DIGEST_METHOD = "DIGEST"; public static final String FORM_METHOD = "FORM"; - // User data constraints for transport guarantee - public static final String NONE_TRANSPORT = "NONE"; - public static final String INTEGRAL_TRANSPORT = "INTEGRAL"; - public static final String CONFIDENTIAL_TRANSPORT = "CONFIDENTIAL"; - // Form based authentication constants public static final String FORM_ACTION = "/j_security_check"; public static final String FORM_PASSWORD = "j_password"; @@ -48,42 +43,6 @@ public class Constants { // --------------------------------------------------------- Request Notes - - /** - * <p>If a user has been authenticated by the web layer, by means of a - * login method other than CLIENT_CERT, the username and password - * used to authenticate the user will be attached to the request as - * Notes for use by other server components. A server component can - * also call several existing methods on Request to determine whether - * or not any user has been authenticated:</p> - * <ul> - * <li><strong>request.getAuthType()</strong> - * will return BASIC, CLIENT_CERT, DIGEST, FORM, or <code>null</code> - * if there is no authenticated user.</li> - * <li><strong>request.getUserPrincipal()</strong> - * will return the authenticated <code>Principal</code> returned by the - * <code>Realm</code> that authenticated this user.</li> - * </ul> - * <p>If CLIENT_CERT authentication was performed, the certificate chain - * will be available as a request attribute, as defined in the - * servlet specification.</p> - */ - - - /** - * The notes key for the password used to authenticate this user. - */ - public static final String REQ_PASSWORD_NOTE = - "org.apache.catalina.request.PASSWORD"; - - - /** - * The notes key for the username used to authenticate this user. - */ - public static final String REQ_USERNAME_NOTE = - "org.apache.catalina.request.USERNAME"; - - /** * The notes key to track the single-sign-on identity with which this * request is associated. Modified: tomcat/trunk/java/org/apache/catalina/authenticator/SavedRequest.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/authenticator/SavedRequest.java?rev=1043272&r1=1043271&r2=1043272&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/authenticator/SavedRequest.java (original) +++ tomcat/trunk/java/org/apache/catalina/authenticator/SavedRequest.java Wed Dec 8 01:31:51 2010 @@ -118,28 +118,6 @@ public final class SavedRequest { } - - /** - * The set of request parameters associated with this Request. Each - * entry is keyed by the parameter name, pointing at a String array of - * the corresponding values. - */ - private HashMap<String,String[]> parameters = - new HashMap<String,String[]>(); - - public void addParameter(String name, String values[]) { - parameters.put(name, values); - } - - public Iterator<String> getParameterNames() { - return (parameters.keySet().iterator()); - } - - public String[] getParameterValues(String name) { - return parameters.get(name); - } - - /** * The query string associated with this Request. */ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org