incubator-heraldry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ket...@apache.org
Subject svn commit: r493414 - /incubator/heraldry/libraries/python/openid/trunk/openid/test/test_server.py
Date Sat, 06 Jan 2007 05:29:01 GMT
Author: keturn
Date: Fri Jan  5 21:29:00 2007
New Revision: 493414

URL: http://svn.apache.org/viewvc?view=rev&rev=493414
Log:
[python-to-heraldry @ test.test_server.TestSignatory.test_signExpired: docstring fixes #1587]

Original author: Kevin Turner <kevin@janrain.com>
Date: 2006-12-16 02:24:39+00:00

Modified:
    incubator/heraldry/libraries/python/openid/trunk/openid/test/test_server.py

Modified: incubator/heraldry/libraries/python/openid/trunk/openid/test/test_server.py
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/python/openid/trunk/openid/test/test_server.py?view=diff&rev=493414&r1=493413&r2=493414
==============================================================================
--- incubator/heraldry/libraries/python/openid/trunk/openid/test/test_server.py (original)
+++ incubator/heraldry/libraries/python/openid/trunk/openid/test/test_server.py Fri Jan  5
21:29:00 2007
@@ -1240,6 +1240,19 @@
         self.failIf(self.messages, self.messages)
 
     def test_signExpired(self):
+        """Sign a response to a message with an expired handle (using invalidate_handle).
+
+        From "Verifying with an Association"::
+
+            If an authentication request included an association handle for an
+            association between the OP and the Relying party, and the OP no
+            longer wishes to use that handle (because it has expired or the
+            secret has been compromised, for instance), the OP will send a
+            response that must be verified directly with the OP, as specified
+            in Section 11.3.2. In that instance, the OP will include the field
+            "openid.invalidate_handle" set to the association handle that the
+            Relying Party included with the original request.
+        """
         request = server.OpenIDRequest()
         request.namespace = OPENID2_NS
         assoc_handle = '{assoc}{lookatme}'



Mime
View raw message