incubator-heraldry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ket...@apache.org
Subject svn commit: r463013 [1/8] - in /incubator/heraldry/libraries/java: ./ trunk/ trunk/META-INF/ trunk/bin/ trunk/bin/com/ trunk/bin/com/janrain/ trunk/bin/com/janrain/openid/ trunk/bin/com/janrain/openid/consumer/ trunk/bin/com/janrain/openid/store/ trunk...
Date Wed, 11 Oct 2006 22:33:11 GMT
Author: keturn
Date: Wed Oct 11 15:33:04 2006
New Revision: 463013

URL: http://svn.apache.org/viewvc?view=rev&rev=463013
Log:
Initial import of Java OpenID/Yadis libraries from JanRain.

Added:
    incubator/heraldry/libraries/java/   (with props)
    incubator/heraldry/libraries/java/trunk/   (with props)
    incubator/heraldry/libraries/java/trunk/.classpath
    incubator/heraldry/libraries/java/trunk/.project
    incubator/heraldry/libraries/java/trunk/META-INF/
    incubator/heraldry/libraries/java/trunk/META-INF/MANIFEST.MF
    incubator/heraldry/libraries/java/trunk/README
    incubator/heraldry/libraries/java/trunk/bin/
    incubator/heraldry/libraries/java/trunk/bin/com/
    incubator/heraldry/libraries/java/trunk/bin/com/janrain/
    incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/
    incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/
    incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/attr.re
    incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/head.re
    incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/html.re
    incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/link.re
    incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/linkparse.txt
    incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/removed.re
    incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/dhpriv
    incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/n2b64
    incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/store/
    incubator/heraldry/libraries/java/trunk/bin/com/janrain/url/
    incubator/heraldry/libraries/java/trunk/bin/com/janrain/yadis/
    incubator/heraldry/libraries/java/trunk/build.properties
    incubator/heraldry/libraries/java/trunk/build.xml
    incubator/heraldry/libraries/java/trunk/example/
    incubator/heraldry/libraries/java/trunk/example/WEB-INF/
    incubator/heraldry/libraries/java/trunk/example/WEB-INF/classes/
    incubator/heraldry/libraries/java/trunk/example/WEB-INF/lib/
    incubator/heraldry/libraries/java/trunk/example/WEB-INF/src/
    incubator/heraldry/libraries/java/trunk/example/WEB-INF/src/com/
    incubator/heraldry/libraries/java/trunk/example/WEB-INF/src/com/janrain/
    incubator/heraldry/libraries/java/trunk/example/WEB-INF/src/com/janrain/openid/
    incubator/heraldry/libraries/java/trunk/example/WEB-INF/src/com/janrain/openid/example/
    incubator/heraldry/libraries/java/trunk/example/WEB-INF/src/com/janrain/openid/example/ConsumerServlet.java
    incubator/heraldry/libraries/java/trunk/example/WEB-INF/web.xml
    incubator/heraldry/libraries/java/trunk/example/index.jsp
    incubator/heraldry/libraries/java/trunk/lib/
    incubator/heraldry/libraries/java/trunk/lib/libidn-0.6.3.jar   (with props)
    incubator/heraldry/libraries/java/trunk/src/
    incubator/heraldry/libraries/java/trunk/src/com/
    incubator/heraldry/libraries/java/trunk/src/com/janrain/
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/Activator.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/Association.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/Base64.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/DiffieHellman.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/Util.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/Associator.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/AuthRequest.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/CancelResponse.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/Consumer.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/DiscoveryManager.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/ErrorResponse.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/FailureResponse.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/GenericConsumer.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/LinkParser.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/OpenIDService.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/Response.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/SetupNeededResponse.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/StatusCode.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/SuccessResponse.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/Token.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/attr.re
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/head.re
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/html.re
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/link.re
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/consumer/removed.re
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/store/
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/store/DumbStore.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/store/MemoryStore.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/openid/store/OpenIDStore.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/url/
    incubator/heraldry/libraries/java/trunk/src/com/janrain/url/FetchResponse.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/url/HTTPFetcher.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/url/UrlConnectionFetcher.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/yadis/
    incubator/heraldry/libraries/java/trunk/src/com/janrain/yadis/Constants.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/yadis/DiscoveryFailure.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/yadis/DiscoveryResult.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/yadis/ParseHTML.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/yadis/Service.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/yadis/ServiceParser.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/yadis/XRDS.java
    incubator/heraldry/libraries/java/trunk/src/com/janrain/yadis/XRDSError.java
    incubator/heraldry/libraries/java/trunk/test/
    incubator/heraldry/libraries/java/trunk/test/src/
    incubator/heraldry/libraries/java/trunk/test/src/com/
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/openid/
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/openid/DiffieHellmanTest.java
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/openid/UtilTest.java
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/openid/consumer/
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/openid/consumer/ConsumerTest.java
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/openid/consumer/DiscoveryManagerTest.java
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/openid/consumer/LinkParserTest.java
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/openid/consumer/discoverydata.txt
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/openid/consumer/linkparse.txt
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/openid/dhpriv
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/openid/n2b64
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/openid/store/
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/openid/store/MemoryStoreTest.java
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/openid/store/OpenIDStoreTest.java
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/url/
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/url/UrlConnectionFetcherTest.java
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/yadis/
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/yadis/DiscoveryResultTest.java
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/yadis/ParseHTMLTest.java
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/yadis/accept.txt
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/yadis/example-xrds.xml
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/yadis/no-xrd.xml
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/yadis/not-xrds.xml
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/yadis/test1-discover.txt
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/yadis/test1-parsehtml.txt
    incubator/heraldry/libraries/java/trunk/test/src/com/janrain/yadis/test1-xrd.xml

Propchange: incubator/heraldry/libraries/java/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Oct 11 15:33:04 2006
@@ -0,0 +1 @@
+

Propchange: incubator/heraldry/libraries/java/trunk/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Oct 11 15:33:04 2006
@@ -0,0 +1 @@
+_darcs

Added: incubator/heraldry/libraries/java/trunk/.classpath
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/java/trunk/.classpath?view=auto&rev=463013
==============================================================================
--- incubator/heraldry/libraries/java/trunk/.classpath (added)
+++ incubator/heraldry/libraries/java/trunk/.classpath Wed Oct 11 15:33:04 2006
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="src" path="test/src"/>
+	<classpathentry exported="true" kind="lib" path="lib/libidn-0.6.3.jar"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>

Added: incubator/heraldry/libraries/java/trunk/.project
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/java/trunk/.project?view=auto&rev=463013
==============================================================================
--- incubator/heraldry/libraries/java/trunk/.project (added)
+++ incubator/heraldry/libraries/java/trunk/.project Wed Oct 11 15:33:04 2006
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>com.janrain.openid</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

Added: incubator/heraldry/libraries/java/trunk/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/java/trunk/META-INF/MANIFEST.MF?view=auto&rev=463013
==============================================================================
--- incubator/heraldry/libraries/java/trunk/META-INF/MANIFEST.MF (added)
+++ incubator/heraldry/libraries/java/trunk/META-INF/MANIFEST.MF Wed Oct 11 15:33:04 2006
@@ -0,0 +1,15 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Openid Plug-in
+Bundle-SymbolicName: com.janrain.openid
+Bundle-Version: 1.0.0
+Bundle-Activator: com.janrain.openid.Activator
+Bundle-Vendor: JanRain.com
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.core.runtime,
+ org.junit
+Eclipse-LazyStart: true
+Bundle-ClassPath: lib/libidn-0.6.3.jar
+Export-Package: com.janrain.openid,
+ com.janrain.openid.consumer,
+ com.janrain.openid.store

Added: incubator/heraldry/libraries/java/trunk/README
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/java/trunk/README?view=auto&rev=463013
==============================================================================
--- incubator/heraldry/libraries/java/trunk/README (added)
+++ incubator/heraldry/libraries/java/trunk/README Wed Oct 11 15:33:04 2006
@@ -0,0 +1,19 @@
+This is the first release of our java openid library.  Expect some rough edges
+to remain.  At the moment, javadoc is not being run, but the comments are in
+place in the source.
+
+The best spot to see how to begin using this code is in the example war.  Edit
+build.xml to set the location of the servlet-api jar file, then run:
+
+  ant example-war
+
+That will create a dist/ directory, which contains a file, openid.war.  Drop
+that .war file into the webapps directory of your servlet container, possibly
+restart the container, then visit the /openid webapp.  It's a simple one-page
+app, that verifies valid OpenIDs.  The source for the webapp is in the example
+directory.  In particular, the file:
+
+  examples/WEB-INF/src/com/janrain/openid/example/Consumer.java
+
+is a hopefully straightforward and illustrative example for using the OpenID
+library.

Added: incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/attr.re
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/attr.re?view=auto&rev=463013
==============================================================================
--- incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/attr.re (added)
+++ incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/attr.re Wed Oct
11 15:33:04 2006
@@ -0,0 +1,17 @@
+# Must start with a sequence of word-characters, followed by an equals sign
+(\w+)=
+
+# Then either a quoted or unquoted attribute
+(?:
+
+ # Match everything that's between matching quote marks
+ (["'])(.*?)\2
+|
+
+ # If the value is not quoted, match up to whitespace
+ ((?:[^\s<>/]|/(?!>))+)
+)
+
+|
+
+([<>])

Added: incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/head.re
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/head.re?view=auto&rev=463013
==============================================================================
--- incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/head.re (added)
+++ incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/head.re Wed Oct
11 15:33:04 2006
@@ -0,0 +1,26 @@
+# Starts with the tag name at a word boundary, where the tag name is
+# not a namespace
+<head\b(?!:)
+
+# All of the stuff up to a ">", hopefully attributes.
+([^>]*?)
+
+(?: # Match a short tag
+    />
+
+|   # Match a full tag
+    >
+
+    # match the contents of the full tag
+    (.*?)
+
+    # Closed by
+    (?: # One of the specified close tags
+        </?(?:head|body)\s*>
+
+        # End of the string
+    |   \Z
+
+    )
+
+)

Added: incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/html.re
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/html.re?view=auto&rev=463013
==============================================================================
--- incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/html.re (added)
+++ incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/html.re Wed Oct
11 15:33:04 2006
@@ -0,0 +1,26 @@
+# Starts with the tag name at a word boundary, where the tag name is
+# not a namespace
+<html\b(?!:)
+
+# All of the stuff up to a ">", hopefully attributes.
+([^>]*?)
+
+(?: # Match a short tag
+    />
+
+|   # Match a full tag
+    >
+
+    # contents
+    (.*?)
+
+    # Closed by
+    (?: # One of the specified close tags
+        </?html\s*>
+
+        # End of the string
+    |   \Z
+
+    )
+
+)

Added: incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/link.re
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/link.re?view=auto&rev=463013
==============================================================================
--- incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/link.re (added)
+++ incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/link.re Wed Oct
11 15:33:04 2006
@@ -0,0 +1 @@
+<link\b(?!:)

Added: incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/linkparse.txt
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/linkparse.txt?view=auto&rev=463013
==============================================================================
--- incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/linkparse.txt
(added)
+++ incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/linkparse.txt
Wed Oct 11 15:33:04 2006
@@ -0,0 +1,584 @@
+Num Tests: 72
+
+OpenID link parsing test cases
+Copyright (C) 2005-2006, JanRain, Inc.
+See COPYING for license information.
+
+File format
+-----------
+
+All text before the first triple-newline (this chunk) should be ignored.
+
+This file may be interpreted as Latin-1 or UTF-8.
+
+Test cases separated by three line separators (`\n\n\n'). The test
+cases consist of a headers section followed by a data block. These are
+separated by a double newline. The headers consist of the header name,
+followed by a colon, a space, the value, and a newline. There must be
+one, and only one, `Name' header for a test case. There may be zero or
+more link headers. The `Link' header consists of whitespace-separated
+attribute pairs. A link header with an empty string as a value
+indicates an empty but present link tag. The attribute pairs are `='
+separated and not quoted.
+
+Optional Links and attributes have a trailing `*'. A compilant
+implementation may produce this as output or may not. A compliant
+implementation will not produce any output that is absent from this
+file.
+
+
+Name: No link tag at all
+
+<html>
+<head>
+</head>
+</html>
+
+
+Name: Link element first
+
+<link>
+
+
+Name: Link inside HTML, not head
+
+<html>
+<link>
+
+
+Name: Link inside head, not html
+
+<head>
+<link>
+
+
+Name: Link inside html, after head
+
+<html>
+<head>
+</head>
+<link>
+
+
+Name: Link inside html, before head
+
+<html>
+<link>
+<head>
+
+
+Name: Link before html and head
+
+<link>
+<html>
+<head>
+
+
+Name: Link after html document with head
+
+<html>
+<head>
+</head>
+</html>
+<link>
+
+
+Name: Link inside html inside head, inside another html
+
+<html>
+<head>
+<html>
+<link>
+
+
+Name: Link inside html inside head
+
+<head>
+<html>
+<link>
+
+
+Name: link inside body inside head inside html
+
+<html>
+<head>
+<body>
+<link>
+
+
+Name: Link inside head inside head inside html
+
+<html>
+<head>
+<head>
+<link>
+
+
+Name: Link inside script inside head inside html
+
+<html>
+<head>
+<script>
+<link>
+</script>
+
+
+Name: Link inside comment inside head inside html
+
+<html>
+<head/>
+<link>
+
+
+Name: Link inside of head after short head
+
+<html>
+<head/>
+<head>
+<link>
+
+
+Name: Plain vanilla
+Link:
+
+<html>
+<head>
+<link>
+
+
+Name: Ignore tags in the <script:... > namespace
+Link*:
+
+<html>
+<head>
+<script:paddypan>
+<link>
+</script:paddypan>
+
+
+Name: Short link tag
+Link:
+
+<html>
+<head>
+<link/>
+
+
+Name: Spaces in the HTML tag
+Link:
+
+<html >
+<head>
+<link>
+
+
+Name: Spaces in the head tag
+Link:
+
+<html>
+<head >
+<link>
+
+
+Name: Spaces in the link tag
+Link:
+
+<html>
+<head>
+<link >
+
+
+Name: No whitespace
+Link:
+
+<html><head><link>
+
+
+Name: Closed head tag
+Link:
+
+<html>
+<head>
+<link>
+</head>
+
+
+Name: One good, one bad (after close head)
+Link:
+
+<html>
+<head>
+<link>
+</head>
+<link>
+
+
+Name: One good, one bad (after open body)
+Link:
+
+<html>
+<head>
+<link>
+<body>
+<link>
+
+
+Name: ill formed (missing close head)
+Link:
+
+<html>
+<head>
+<link>
+</html>
+
+
+Name: Ill formed (no close head, link after </html>)
+Link:
+
+<html>
+<head>
+<link>
+</html>
+<link>
+
+
+Name: Ignore random tags inside of html
+Link:
+
+<html>
+<delicata>
+<head>
+<title>
+<link>
+
+
+Name: case-folding
+Link*:
+
+<HtMl>
+<hEaD>
+<LiNk>
+
+
+Name: unexpected tags
+Link:
+
+<butternut>
+<html>
+<summer>
+<head>
+<turban>
+<link>
+
+
+Name: un-closed script tags
+Link*:
+
+<html>
+<head>
+<script>
+<link>
+
+
+Name: un-closed script tags (no whitespace)
+Link*:
+
+<html><head><script><link>
+
+
+Name: un-closed comment
+Link*:
+
+<html>
+<head>
+<!--
+<link>
+
+
+Name: un-closed CDATA
+Link*:
+
+<html>
+<head>
+<![CDATA[
+<link>
+
+
+Name: cdata-like
+Link*:
+
+<html>
+<head>
+<![ACORN[
+<link>
+]]>
+
+
+Name: comment close only
+Link:
+
+<html>
+<head>
+<link>
+-->
+
+
+Name: Vanilla, two links
+Link:
+Link:
+
+<html>
+<head>
+<link>
+<link>
+
+
+Name: extra tag, two links
+Link:
+Link:
+
+<html>
+<gold nugget>
+<head>
+<link>
+<link>
+
+
+Name: case-fold, body ends, two links
+Link:
+Link*:
+
+<html>
+<head>
+<link>
+<LiNk>
+<body>
+<link>
+
+
+Name: simple, non-quoted rel
+Link: rel=openid.server
+
+<html><head><link rel=openid.server>
+
+
+Name: short tag has rel
+Link: rel=openid.server
+
+<html><head><link rel=openid.server/>
+
+
+Name: short tag w/space has rel
+Link: rel=openid.server
+
+<html><head><link rel=openid.server />
+
+
+Name: extra non-attribute, has rel
+Link: rel=openid.server
+
+<html><head><link hubbard rel=openid.server>
+
+
+Name: non-attr, has rel, short
+Link: rel=openid.server
+
+<html><head><link hubbard rel=openid.server/>
+
+
+Name: non-attr, has rel, short, space
+Link: rel=openid.server
+
+<html><head><link hubbard rel=openid.server />
+
+
+Name: misplaced slash has rel
+Link: rel=openid.server
+
+<html><head><link / rel=openid.server>
+
+
+Name: quoted rel
+Link: rel=openid.server
+
+<html><head><link rel="openid.server">
+
+
+Name: single-quoted rel
+Link: rel=openid.server
+
+<html><head><link rel='openid.server'>
+
+
+Name: two links w/ rel
+Link: x=y
+Link: a=b
+
+<html><head><link x=y><link a=b>
+
+
+Name: non-entity
+Link: x=&y
+
+<html><head><link x=&y>
+
+
+Name: quoted non-entity
+Link: x=&y
+
+<html><head><link x="&y">
+
+
+Name: quoted entity
+Link: x=&
+
+<html><head><link x="&amp;">
+
+
+Name: entity not processed
+Link: x=&#26;
+
+<html><head><link x="&#26;">
+
+
+Name: &lt;
+Link: x=<
+
+<html><head><link x="&lt;">
+
+
+Name: &gt;
+Link: x=>
+
+<html><head><link x="&gt;">
+
+
+Name: &quot;
+Link: x="
+
+<html><head><link x="&quot;">
+
+
+Name: &amp;&quot;
+Link: x=&"
+
+<html><head><link x="&amp;&quot;">
+
+
+Name: mixed entity and non-entity
+Link: x=&"&hellip;>
+
+<html><head><link x="&amp;&quot;&hellip;&gt;">
+
+
+Name: mixed entity and non-entity (w/normal chars)
+Link: x=x&"&hellip;>x
+
+<html><head><link x="x&amp;&quot;&hellip;&gt;x">
+
+
+Name: broken tags
+Link*: x=y
+
+<html><head><link x=y<>
+
+
+Name: missing close pointy
+Link*: x=y
+Link: z=y
+
+<html><head><link x=y<link z=y />
+
+
+Name: missing attribute value
+Link: x=y y*=
+Link: x=y
+
+<html><head><link x=y y=><link x=y />
+
+
+Name: Missing close pointy (no following)
+Link*: x=y
+
+<html><head><link x=y
+
+
+Name: Should be quoted
+Link*: x=<
+
+<html><head><link x="<">
+
+
+Name: Should be quoted (2)
+Link*: x=>
+
+<html><head><link x=">">
+
+
+Name: Repeated attribute
+Link: x=y
+
+<html><head><link x=z x=y>
+
+
+Name: Repeated attribute (2)
+Link: x=y
+
+<html><head><link x=y x=y>
+
+
+Name: Two attributes
+Link: x=y y=z
+
+<html><head><link x=y y=z>
+
+
+Name: Well-formed link rel="openid.server"
+Link: rel=openid.server href=http://www.myopenid.com/server
+
+<html>
+  <head>
+    <link rel="openid.server"
+          href="http://www.myopenid.com/server" />
+  </head>
+</html>
+
+
+Name: Well-formed link rel="openid.server" and "openid.delegate"
+Link: rel=openid.server href=http://www.myopenid.com/server
+Link: rel=openid.delegate href=http://example.myopenid.com/
+
+<html><head><link rel="openid.server"
+                  href="http://www.myopenid.com/server" />
+            <link rel="openid.delegate" href="http://example.myopenid.com/" />
+</head></html>
+
+
+Name: from brian's livejournal page
+Link: rel=stylesheet href=http://www.livejournal.com/~serotta/res/319998/stylesheet?1130478711
type=text/css
+Link: rel=openid.server href=http://www.livejournal.com/openid/server.bml
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <link rel="stylesheet"
+          href="http://www.livejournal.com/~serotta/res/319998/stylesheet?1130478711"
+          type="text/css" />
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <meta name="foaf:maker"
+          content="foaf:mbox_sha1sum '12f8abdacb5b1a806711e23249da592c0d316260'" />
+    <meta name="robots" content="noindex, nofollow, noarchive" />
+    <meta name="googlebot" content="nosnippet" />
+    <link rel="openid.server"
+          href="http://www.livejournal.com/openid/server.bml" />
+    <title>Brian</title>
+  </head>
+
+
+Name: non-ascii (Latin-1 or UTF8)
+Link: x=®
+
+<html><head><link x="®">
+
+

Added: incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/removed.re
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/removed.re?view=auto&rev=463013
==============================================================================
--- incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/removed.re (added)
+++ incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/consumer/removed.re Wed
Oct 11 15:33:04 2006
@@ -0,0 +1,13 @@
+  # Comments
+  <!--.*?-->
+
+  # CDATA blocks
+| <!\[CDATA\[.*?\]\]>
+
+  # script blocks
+| <script\b
+
+  # make sure script is not an XML namespace
+  (?!:)
+
+  [^>]*>.*?</script>

Added: incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/dhpriv
URL: http://svn.apache.org/viewvc/incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/dhpriv?view=auto&rev=463013
==============================================================================
--- incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/dhpriv (added)
+++ incubator/heraldry/libraries/java/trunk/bin/com/janrain/openid/dhpriv Wed Oct 11 15:33:04
2006
@@ -0,0 +1,29 @@
+130706940119084053627151828062879423433929180135817317038378606310097533503449582079984816816837125851552273641820339909167103200910805078308128174143174269944095368580519322913514764528012639683546377014716235962867583443566164615728897857285824741767070432119909660645255499710701356135207437699643611094585
139808169914464096465921128085565621767096724855516655439365028496569658038844954238931647642811548254956660405394116677296461848124300258439895306367561416289126854788101396379292925819850897858045772500578222021901631436550118958972312221974009238050517034542286574826081826542722270952769078386418682059418
+91966407878983240112417790733941098492087186469785726449910011271065622315680646030230288265496017310433513856308693810812043160919214636748486185212617634222158204354206411031403206076739932806412551605172319515223573351072757800448643935018534945933808900467686115619932664888581913179496050117713298715475
88086484332488517006277516020842172054013692832175783214603951240851750819999098631851571207693874357651112736088114133607400684776234181681933311972926752846692615822043533641407510569745606256772455614745111122033229877596984718963046218854103292937700694160593653595134512369959987897086639788909618660591
+94633950701209990078055218830969910271587805983595045023718108184189787131629772007048606080263109446462048743696369276578815611098215686598630889831104860221067872883514840819381234786050098278403321905311637820524177879167250981289318356078312300538871435101338967079907049912435983871847334104247675360099
136836393035803488129856151345450008294260680733328546556640578838845312279198933806383329293483852515700876505956362639881210101974254765087350842271260064592406308509078284840473735904755203614987286456952991025347168970462354352741159076541157478949094536405618626397435745496863324654768971213730622037771
+24685127248019769965088146297942173464487677364928435784091685260262292485380918213538979925891771204729738138857126454465630594391449913947358655368215901119137728648638547728497517587701248406019427282237279437409508871300675355166059811431191200555457304463617727969228965042729205402243355816702436970430
103488011917988946858248200111251786178288940265978921633592888293430082248387786443813155999158786903216094876295371112716734481877806417714913656921169196196571699893360825510307056269738593971532017994987406325068886420548597161498019372380511676314312298122272401348856314619382867707981701472607230523868
+116791045850880292989786005885944774698035781824784400772676299590038746153860847252706167458966356897309533614849402276819438194497464696186624618374179812548893947178936305721131565012344462048549467883494038577857638815386798694225798517783768606048713198211730870155881426709644960689953998714045816205549
25767875422998856261320430397505398614439586659207416236135894343577952114994718158163212134503751463610021489053571733974769536157057815413209619147486931502025658987681202196476489081257777148377685478756033509708349637895740799542063593586769082830323796978935454479273531157121440998804334199442003857410
+75582226959658406842894734694860761896800153014775231713388264961517169436476322183886891849966756849783437334069692683523296295601533803799559985845105706728538458624387103621364117548643541824878550074680443708148686601108223917493525070861593238005735446708555769966855130921562955491250908613793521520082
51100990616369611694975829054222013346248289055987940844427061856603230021472379888102172458517294080775792439385531234808129302064303666640376750139242970123503857186428797403843206765926798353022284672682073397573130625177187185114726049347844460311761033584101482859992951420083621362870301150543916815123
+22852401165908224137274273646590366934616265607879280260563022941455466297431255072303172649495519837876946233272420969249841381161312477263365567831938496555136366981954001163034914812189448922853839616662859772087929140818377228980710884492996109434435597500854043325062122184466315338260530734979159890875
35017410720028595029711778101507729481023945551700945988329114663345341120595162378885287946069695772429641825579528116641336456773227542256911497084242947904528367986325800537695079726856460817606404224094336361853766354225558025931211551975334149258299477750615397616908655079967952372222383056221992235704
+37364490883518159794654045194678325635036705086417851509136183713863262621334636905291385255662750747808690129471989906644041585863034419130023070856805511017402434123099100618568335168939301014148587149578150068910141065808373976114927339040964292334109797421173369274978107389084873550233108940239410902552
40916262212189137562350357241447034318002130016858244002788189310078477605649010031339865625243230798681216437501833540185827501244378529230150467789369234869122179247196276164931090039290879808162629109742198951942358028123056268054775108592325500609335947248599688175189333996086475013450537086042387719925
+42030470670714872936404499074069849778147578537708230270030877866700844337372497704027708080369726758812896818567830863540507961487472657570488625639077418109017434494794778542739932765561706796300920251933107517954265066804108669800167526425723377411855061131982689717887180411017924173629124764378241885274
124652439272864857598747946875599560379786580730218192165733924418687522301721706620565030507816884907589477351553268146177293719586287258662025940181301472851649975563004543250656807255226609296537922304346339513054316391667044301386950180277940536542183725690479451746977789001659540839582630251935163344393
+33176766914206542084736303652243484580303865879984981189372762326078776390896986743451688462101732968104375838228070296418541745483112261133079756514082093269959937647525005374035326747696591842313517634077723301677759648869372517403529488493581781546743147639937580084065663597330159470577639629864369972900
67485835091897238609131069363014775606263390149204621594445803179810038685760826651889895397414961195533694176706808504447269558421955735607423135937153901140512527504198912146656610630396284977496295289999655140295415981288181545277299615922576281262872097567020980675200178329219970170480653040350512964539
+131497983897702298481056962402569646971797912524360547236788650961059980711719600424210346263081838703940277066368168874781981151411096949736205282734026497995296147418292226818536168555712128736975034272678008697869326747592750850184857659420541708058277866000692785617873742438060271311159568468507825422571
5400380840349873337222394910303409203226429752629134721503171858543984393161548520471799318518954232197106728096866840965784563043721652790856860155702760027304915133166173298206604451826182024471262142046935060360564569939062438160049193241369468208458085699995573492688298015026628427440418009025072261296
+83265103005695640943261961853521077357830295830250157593141844209296716788437615940096402365505416686459260302419338241462783388722843946886845478224048360927114533590583464979009731440049610985062455108831881153988321298531365779084012803908832525921630534096740755274371500276660832724874701671184539131864
141285570207910287798371174771658911045525474449663877845558585668334618068814605961306961485855329182957174312715910923324965889174835444049526313968571611940626279733302104955951067959291852710640374412577070764165811275030632465290729619533330733368808295932659463215921521905553936914975786500018720073003
+68435028583616495789148116911096163791710022987677894923742899873596891423986951658100606742052014161171185231735413902875605720814417622409817842932759492013585936536452615480700628719795872201528559780249210820284350401473564919576289210869896327937002173624497942136329576506818749730506884927872345019446
134655528287263100540003157571441260698452262106680191153945271167894435782028803135774578949200580551016388918860856991026082917835209212892423567114480975540305860034439015788120390011692862968771136814777768281366591257663821495720134621172848947971117885754539770645621669309650476331439675400544167728223
+97765390064836080322590528352647421920257073063706996347334558390461274981996865736612531330863478931481491964338380362350271734683183807511097331539820133036984271653285063355715726806139083282458695728902452215405696318402583540317419929113959816258829534543044153959951908676300847164682178008704099351835
92552521881196975294401505656851872247567784546370503402756239533783651371688190302773864319828182042605239246779598629409815474038541272600580320815319709309111399294952620375093803971373108792300726524826209329889463854451846561437729676142864421966497641824498079067929811613947148353921163336822026640804
+145767094672933012300753301037546647564595762930138884463767054235112032706630891961371504668013023047595721138624016493638510710257541241706724342585654715468628355455898091951826598092812212209834746162089753649871544789379424903025374228231365026585872808685759231756517703720396301355299998059523896918448
116669462839999965355861187716880953863237226719689755457884414384663576662696981997535568446560375442532084973721539944428004043491468494548231348032618218312515409944970197902589794303562379864012797605284844016184274353252071642511293089390472576498394410829972525726474727579603392265177009323768966538608
+34172517877854802711907683049441723730724885305592620486269966708379625109832852005775048584124451699198484092407720344962116726808090368739361658889584507734617844212547181476646725256303630128954338675520938806905779837227983648887192531356390902975904503218654196581612781227843742951241442641220856414232
126013077261793777773236390821108423367648447987653714614732477073177878509574051196587476846560696305938891953527959347566502332765820074506907037627115954790645652211088723122982633069089920979477728376746424256704724173255656757918995039125823421607024407307091796807227896314403153380323770001854211384322
+9979624731056222925878866378063961280844793874828281622845276060532093809300121084179730782833657205171434732875093693074415298975346410131191865198158876447591891117577190438695367929923494177555818480377241891190442070100052523008290671797937772993634966511431668500154258765510857129203107386972819651767
76559085024395996164590986654274454741199399364851956129137304209855150918182685643729981600389513229011956888957763987167398150792454613751473654448162776379362213885827651020309844507723069713820393068520302223477225569348080362344052033711960892643036147232270133731530049660264526964146237693063093765111
+18162696663677410793062235946366423954875282212790518677684260521370996677183041664345920941714064628111537529793170736292618705900247450994864220481135611781148410617609559050220262121494712903009168783279356915189941268264177631458029177102542745167475619936272581126346266816618866806564180995726437177435
63244550218824945129624987597134280916829928261688093445040235408899092619821698537312158783367974202557699994650667088974727356690181336666077506063310290098995215324552449858513870629176838494348632073938023916155113126203791709810160925798130199717340478393420816876665127594623142175853115698049952126277
+4817943161362708117912118300716778687157593557807116683477307391846133734701449509121209661982298574607233039490570567781316652698287671086985501523197566560479906850423709894582834963398034434055472063156147829131181965140631257939036683622084290629927807369457311894970308590034407761706800045378158588657
61612160237840981966750225147965256022861527286827877531373888434780789812764688703260066154973576040405676432586962624922734102370509771313805122788566405984830112657060375568510809122230960988304085950306616401218206390412815884549481965750553137717475620505076144744211331973240555181377832337912951699135
+36363324947629373144612372870171042343590861026293829791335153646774927623889458346817049419803031378037141773848560341251355283891019532059644644509836766167835557471311319194033709837770615526356168418160386395260066262292757953919140150454538786106958252854181965875293629955562111756775391296856504912587
86831561031659073326747216166881733513938228972332631084118628692228329095617884068498116676787029033973607066377816508795286358748076949738854520048303930186595481606562375516134920902325649683618195251332651685732712539073110524182134321873838204219194459231650917098791250048469346563303077080880339797744
+26406869969418301728540993821409753036653370247174689204659006239823766914991146853283367848649039747728229875444327879875275718711878211919734397349994000106499628652960403076186651083084423734034070082770589453774926850920776427074440483233447839259180467805375782600203654373428926653730090468535611335253
100139935381469543084506312717977196291289016554846164338908226931204624582010530255955411615528804421371905642197394534614355186795223905217732992497673429554618838376065777445760355552020655667172127543653684405493978325270279321013143828897100500212200358450649158287605846102419527584313353072518101626851
+92613116984760565837109105383781193800503303131143575169488835702472221039082994091847595094556327985517286288659598094631489552181233202387028607421487026032402972597880028640156629614572656967808446397456622178472130864873587747608262139844319805074476178618930354824943672367046477408898479503054125369731
30023391082615178562263328892343821010986429338255434046051061316154579824472412477397496718186615690433045030046315908170615910505869972621853946234911296439134838951047107272129711854649412919542407760508235711897489847951451200722151978578883748353566191421685659370090024401368356823252748749449302536931
+31485815361342085113278193504381994806529237123359718043079410511224607873725611862217941085749929342777366642477711445011074784469367917758629403998067347054115844421430072631339788256386509261291675080191633908849638316409182455648806133048549359800886124554879661473112614246869101243501787363247762961784
114503770698890543429251666713050844656853278831559195214556474458830029271801818536133531843456707474500106283648085144619097572354066554819887152106174400667929098257361286338795493838820850475790977445807435511982704395422526800272723708548541616513134676140304653112325071112865020365664833601046215694089
+76882090884790547431641385530818076533805072109483843307806375918023300052767710853172670987385376253156912268523505310624133905633437815297307463917718596711590885553760690350221265675690787249135345226947453988081566088302642706234126002514517416493192624887800567412565527886687096028028124049522890448168
15056463217273240496622619354104573042767532856243223052125822509781815362480522535564283485059790932505429110157271454207173426525345813426696743168079246510944969446574354255284952839036431873039487144279164893710061580467579842173706653409487110282515691099753380094215805485573768509475850463001549608836
+52345178981230648108672997265819959243255047568833938156267924185186047373470984278294897653277996726416846430969793375429223610099546622112048283560483136389901514170116723365811871938630317974150540909650396429631704968748113009366339718498979597226137532343384889080245796447593572468846438769413505393967
32148494517199936472358017244372701214529606506776255341152991328091526865643069587953759877295255050519124541457805199596762210567333445908166076384465183589342153762720515477404466193879418014196727238972417616122646440870364200208488239778452378059236162633837824948613596114768455832408342040970780086
+41095268619128788015767564971105114602454449306041732792746397800275041704886345704294273937217484580365505320134717320083763349380629342859670693445658118959823430378844830923452105707338162448974869312012791385772125813291388247857971218575518319578818336960572244046567099555399203328678654466958536663208
92166550199033418923713824997841892577149715275633481076285269142670107687867024550593869464613175882141630640739938334001211714884975032600306279287443909448541179109981755796752132502127330056736913454039526413284519137059580845856736918773597087836203497066909257930043736166431682872083389105176299181629
+40049143661018504441607875135884755310012910557581028447435354354754245291878800571089144452035026644953322330676651798951447670184106450649737772686119714700743396359069052813433030118630105307022867200053964644574786137276428546712005171080129190959914708907200288299169344380390093918556722227705114244981
108159089972386282154772900619022507336076619354549601813179459338897131937353741544606392560724999980281424266891537298473163753022749859939445293926707568015958367188089915420630082556748668489756475027008449860889202622698060097015044886961901650857610841562477736791450080980702347705778074391774667412741
+69905259478181995876884927656894491893594530150260951315109404530530357998889589977208787140430938039028941393673520799460431992051993157468616168400324834880926190141581037597526917869362292931957289043707855837933490285814769110495657056206391880865972389421774822461752702336812585852278453803972600333734
71821415380277072313878763768684432371552628204186742842154591000123020597011744840460964835414360968627162765288463383113375595799297552681618876474019263288277398833725479226930770694271622605114061622753165584075733358178384410640349907375170170910499615355511313349300918885560131539570707695789106185664
+26945345439378873515011714350080059082081595419023056538696949766471272811362104837806324694947413603019863785876836706911406330379274553386254346050697348395574746891556054334903838949157798006141473389066020212044825140294048709654273698482867946522782450500680195477050110145664069582549935651920545151500
80313315938584480048642653013876614091607852535582224914294013785054094052454758327935781971746329853786568549510067442145637007308960551652864942042189241081946607011847245280773379099020221884296226818685556430275385068764313042226925852500883894269809033380734632866477789520106865758504064806906234130588



Mime
View raw message