dims        01/07/12 07:19:08

  Modified:    src/org/apache/cocoon/environment Request.java
               src/org/apache/cocoon/environment/wrapper
                        RequestWrapper.java
  Log:
  Patch from Marcus Crafter for adding getAuthType.
  
  Revision  Changes    Path
  1.3       +13 -1     xml-cocoon2/src/org/apache/cocoon/environment/Request.java
  
  Index: Request.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/environment/Request.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Request.java      2001/07/06 14:10:34     1.2
  +++ Request.java      2001/07/12 14:18:51     1.3
  @@ -20,7 +20,7 @@
    * @author <a href="mailto:[EMAIL PROTECTED]";>Davanum Srinivas</a>
    * @author <a href="mailto:[EMAIL PROTECTED]";>Carsten Ziegeler</a>
    * @author <a href="mailto:[EMAIL PROTECTED]";>Berin Loritsch</a>
  - * @version CVS $Revision: 1.2 $ $Date: 2001/07/06 14:10:34 $
  + * @version CVS $Revision: 1.3 $ $Date: 2001/07/12 14:18:51 $
    *
    */
   
  @@ -71,6 +71,18 @@
        */
   
       Enumeration getAttributeNames();
  +
  +    /**
  +     *
  +     * Returns the name of the authentication scheme used to protect
  +     * the servlet, for example, "BASIC" or "SSL," or null if the servlet was
  +     * not protected
  +     *
  +     * @return                The name of the authentication scheme used to
  +     *                        protect the servlet, or null if the servlet was
  +     *                        not protected
  +     */
  +    String getAuthType();
   
       /**
        * Returns the name of the character encoding used in the body of this
  
  
  
  1.5       +4 -1      
xml-cocoon2/src/org/apache/cocoon/environment/wrapper/RequestWrapper.java
  
  Index: RequestWrapper.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/org/apache/cocoon/environment/wrapper/RequestWrapper.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- RequestWrapper.java       2001/07/12 13:09:52     1.4
  +++ RequestWrapper.java       2001/07/12 14:19:01     1.5
  @@ -23,7 +23,7 @@
    * are different.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Carsten Ziegeler</a>
  - * @version $Id: RequestWrapper.java,v 1.4 2001/07/12 13:09:52 cziegeler Exp $
  + * @version $Id: RequestWrapper.java,v 1.5 2001/07/12 14:19:01 dims Exp $
    */
   public final class RequestWrapper implements Request {
   
  @@ -265,4 +265,7 @@
           return this.req.isUserInRole(role);
       }
   
  +    public String getAuthType() {
  +        return this.req.getAuthType();
  +    }
   }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to