tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41365] New: - it is not possible to set authorization header using setAuthorization method
Date Mon, 15 Jan 2007 12:17:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41365>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41365

           Summary: it is not possible to set authorization header using
                    setAuthorization method
           Product: Tomcat 5
           Version: 5.0.30
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connector:Coyote
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: eugenydzh@jdevelop.com


While for interface org.apache.catalina.Request there is a method

     /**                                                                       
                                          
     * Set the authorization credentials sent with this request.               
                                         
     *                                                                         
                                         
     * @param authorization The new authorization credentials                  
                                         
     */                                                                        
                                         
    public void setAuthorization(String authorization);

there is no implementation for this method in the 

org.apache.coyote.tomcat5.CoyoteRequest

    public void setAuthorization(String s)                                     
                                         
    {                                                                          
                                         
    }

is it supposed to be so?

I need to develop custom Valve, which checks an IP address of a user came from,
and if that IP address matches condition - pre-defined authentication header
will be added, without setAuthorization method that seems not to work?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message