@@ -12,7 +12,7 @@ For general information about the package please see the README document.
1212
1313Requirements:
1414
15- - Java 1.5 JVM (or higher)
15+ - Java 1.4 JVM (or higher)
1616
1717 - Ant (optional: needed for building the package and running the tests)
1818 - Maven2 (optional: alternative to Ant; see maven2/README.txt)
@@ -23,66 +23,38 @@ Installation:
2323
2424 1. Installing the package
2525
26- => To make the OpenID4Java library available to a (web) application
27- the following JAR files need to be copied to the application's
28- classpath:
29- - openid4java-*.jar
30- - library dependencies (see below)
31-
32- => Library dependencies:
33-
34- lib/*jar : Required. Core OpenID4Java library dependencies.
35- lib/optional/ : Optional. Libraries supporting alternative deployments.
36- - spring-*.jar : JdbcServerAssociationStore
37- - ehcache-1.2.4.jar : EhcacheNonceVerifier
38- - log4j-1.2.8.jar
39-
40- lib/extra/ : Extra/development libraries, not needed for deployments.
41- (JUnit tests, Jetty servlet container, SVN/Ant utilities)
42-
43- lib/xri/ : Optional. Local OpenXRI resolver dependencies.
44- Included only in the "openid4java-xri" and
45- "openid4java-full" packages. (A dependency-less
46- proxy XRI resolver is included in the standard package)
47-
48- lib/infocard/ : Optional. OpenID-Infocards/Higgins STS dependencies.
49- Included only in the "openid4java-infocard" and
50- "openid4java-full" packages.
26+ => Endorsed libraries:
5127
28+ The JAR files under the lib/endorsed/ folder need to be copied under
29+ your environment's endorsed libraries folder. If you are running a
30+ webapplication under Apache Tomcat, this directory can be found at:
5231
53- => Relying Party Discovery:
32+ JAVA_HOME/lib/endorsed
33+ or
34+ CATALINA_HOME/common/endorsed
5435
55- Relying Parties must publish their endpoints in order for the OpenID
56- Providers to be able to verify authentication requests and prevent
57- proxy attacks. The Yadis protocol and realm verification mechanisms
58- are used for this purpose. See the section "Discovering OpenID
59- Relying Parties" of the OpenID Authentication specification for
60- details.
36+ For other application servers or environments, please consult their
37+ documentation for configuring endorsed libraries.
6138
62- Example:
39+ => To make the OpenID4Java library available to the web application
40+ the following need to be done:
6341
64- <Service xmlns="xri://$xrd*($v*2.0)">
65- <Type>http://specs.openid.net/auth/2.0/return_to</Type>
66- <URI>http://consumer.example.com/return</URI>
67- </Service>
68-
69- The RP should publish the above <Service> element at their realm URL.
70- All OpenID Authentication request sent by this RP should contain
71- openid.return_to values matching the http://consumer.example.com/return
72- realm.
73-
74- OpenID Providers:
75-
76- Validation of openid.return_to values against Relying Party Discovery
77- endpoints is enabled by default. This feature can be disabled with
78- ServerManager.setEnforceRpId(false).
42+ Copy lib/*.jar and java-openid-sxip-*.jar to your application's
43+ Java classpath, along with any additional requirements as described
44+ in the library dependencies section below.
7945
46+ => Library dependencies:
8047
81- => Java 1.4 compatibility
48+ lib/xri/ : OpenXRI dependencies; needed for XRI support.
49+ lib/endorsed/ : Endorsed libraries; documented above.
50+ lib/infocard/ : Higgins STS dependency; needed for OpenID-Infocards STS.
51+ lib/optional/ : Optional libraries supporting alternative deployments.
52+ - spring.jar : JdbcServerAssociationStore
53+ - ehcache-1.2.4.jar : EhcacheNonceVerifier
54+ - log4j-1.2.8.jar
55+ lib/extra/ : Extra libraries, not needed for deployments
56+ (JUnit tests, Jetty servlet container, SVN Ant utilities)
8257
83- The official OpenID4Java distribution is compiled with a Java 1.5
84- compiler. The source, however, can be compiled with Java 1.4.
85- See the "Building the package" section below.
8658
8759 2. OPTIONAL: Configuring logging
8860
@@ -122,6 +94,7 @@ Installation:
12294 can be found as separate downloads at the following URLs:
12395
12496 http://java.sun.com/javase/downloads/index_jdk5.jsp
97+ http://java.sun.com/j2se/1.4.2/download.html
12598
12699 => Third party libraries
127100
@@ -141,7 +114,7 @@ Installation:
141114
142115 ant jar
143116
144- - Builds official distributable archive
117+ - Builds distribution ZIP package
145118
146119 ant dist
147120
@@ -362,18 +335,19 @@ Thanks for running OpenID!
362335
363336
364337========================================================================
365- Copyright 2006-2008 Sxip Identity Corporation
338+ Copyright 2006-2007 Sxip Identity Corporation
339+
340+ Package distribution:
341+ => http://code.sxip.com
366342
367- Project home page and package distribution :
343+ Source code and defect management :
368344 => http://code.google.com/p/openid4java
369- => http://code.google.com/p/openid4java/downloads/
370345
371- For support, please visit the wiki and join the Google Groups!
372- => http://groups.google.com/group/openid4java/
373- => http://code.google.com/p/openid4java/w/
346+ For support, please join the Google Groups!
347+ => http://groups.google.com/group/openid4java
374348
375349OpenID
376- => http://openid.net/
350+ => http://openid.net
377351
378352Released under the Apache License 2.0
379353 => see LICENSE
0 commit comments