Author: toad
Date: 2009-01-06 20:25:00 +0000 (Tue, 06 Jan 2009)
New Revision: 24931

Modified:
   trunk/freenet/src/freenet/clients/http/ToadletContainer.java
Log:
Doh, another missing file


Modified: trunk/freenet/src/freenet/clients/http/ToadletContainer.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/ToadletContainer.java        
2009-01-06 20:24:12 UTC (rev 24930)
+++ trunk/freenet/src/freenet/clients/http/ToadletContainer.java        
2009-01-06 20:25:00 UTC (rev 24931)
@@ -12,7 +12,7 @@
 import freenet.support.api.BucketFactory;
 
 /** Interface for toadlet containers. Toadlets should register here. */
-public interface ToadletContainer {
+public interface ToadletContainer extends LinkFixer {
        
        /** Register a Toadlet. All requests whose URL starts with the given
         * prefix will be passed to this toadlet.
@@ -62,4 +62,19 @@
         * node etc, but everyone else will not have access to the download 
         * queue or anything else that might conceivably result in a DoS. */
        public boolean publicGatewayMode();
+
+       /** Generate the secure-id for a specific path. This is a longish string
+        * which is generated from a node-specific nonce and the URI. It must be
+        * supplied or the node will complain. It is used to ensure that 
guessable
+        * URIs don't go into the browser history.
+        * @param realPath
+        * @return
+        */
+       public String generateSID(String realPath);
+
+       /**
+        * If true, secure-id checking is disabled.
+        * @return
+        */
+       public boolean isSecureIDCheckingDisabled();
 }

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to