dims 01/07/12 07:18:19
Modified: src/org/apache/cocoon/environment Tag: cocoon_20_branch
Request.java
src/org/apache/cocoon/environment/wrapper Tag:
cocoon_20_branch RequestWrapper.java
Log:
Patch from Marcus Crafter for adding getAuthType.
Revision Changes Path
No revision
No revision
1.1.1.1.2.2 +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.1.1.1.2.1
retrieving revision 1.1.1.1.2.2
diff -u -r1.1.1.1.2.1 -r1.1.1.1.2.2
--- Request.java 2001/07/06 14:09:02 1.1.1.1.2.1
+++ Request.java 2001/07/12 14:18:04 1.1.1.1.2.2
@@ -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.1.1.1.2.1 $ $Date: 2001/07/06 14:09:02 $
+ * @version CVS $Revision: 1.1.1.1.2.2 $ $Date: 2001/07/12 14:18:04 $
*
*/
@@ -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
No revision
No revision
1.1.2.4 +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.1.2.3
retrieving revision 1.1.2.4
diff -u -r1.1.2.3 -r1.1.2.4
--- RequestWrapper.java 2001/07/12 13:11:15 1.1.2.3
+++ RequestWrapper.java 2001/07/12 14:18:15 1.1.2.4
@@ -23,7 +23,7 @@
* are different.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Carsten Ziegeler</a>
- * @version $Id: RequestWrapper.java,v 1.1.2.3 2001/07/12 13:11:15 cziegeler Exp $
+ * @version $Id: RequestWrapper.java,v 1.1.2.4 2001/07/12 14:18:15 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]