diff options
| author | Aidan Skinner <aidan@apache.org> | 2008-04-16 12:18:33 +0000 |
|---|---|---|
| committer | Aidan Skinner <aidan@apache.org> | 2008-04-16 12:18:33 +0000 |
| commit | 4fc3409365cd3cda5c04a822a31b11a3239a3f1d (patch) | |
| tree | a75d97749134c6da88800efe9221b1bb837d0f41 /RC6/java/client-java14/README.txt | |
| parent | 43a65de871e1854fa500c42af7386cc3db348fcd (diff) | |
| download | qpid-python-4fc3409365cd3cda5c04a822a31b11a3239a3f1d.tar.gz | |
QPID-916 tag RC6
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/tags/M2.1@648680 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'RC6/java/client-java14/README.txt')
| -rw-r--r-- | RC6/java/client-java14/README.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/RC6/java/client-java14/README.txt b/RC6/java/client-java14/README.txt new file mode 100644 index 0000000000..66621c7eb2 --- /dev/null +++ b/RC6/java/client-java14/README.txt @@ -0,0 +1,33 @@ +An implementation of SASL is provided here, for the PLAIN and CRAM-MD5 mechanisms as well as maven assembly
+instructions for producing a backported Java client for Java 1.4. In order to use the custom SASL implementation
+on JRE 1.4 the following steps must be taken:
+
+ * Install the SASL JSR-28 API jar.
+ * Install the qpid-client-java14 jar or set it up as a dynamically registered SASL provider.
+ * Set up java.security to add the SASL provider to the list of security providers if hte SASL implemenation jar was installed as an extension.
+
+Installing the SASL JSR-28 API jar.
+
+ Download, http://www.worldspot.com/jsr28/v1.1/download/sasl.jar, and copy it to the JAVA_HOME\lib\ext directory.
+
+Install or set up the qpid-client-java14 jar.
+
+ Copy the output jar for this project, qpid-client-java14-1.0-incubating-M2-SNAPSHOT.jar, to JAVA_HOME\lib\ext.
+
+ OR
+
+ Create a properties file and register the SASL implementations in the jar so that Qpids dynamic SASL registry can find them. In a properties file
+ add the lines:
+
+ PLAIN=org.apache.qpid.sasl.ClientFactoryImpl
+ CRAM-MD5=org.apache.qpid.sasl.ClientFactoryImpl
+
+ Place this somewhere on the classpath and put the qpid-client-java14-1.0-incubating-M2-SNAPSHOT.jar on the classpath too. When starting your application
+ pass in the system property amq.dynamicsaslregistrar.properties and set it to point to the location of the properties file.
+
+Set up the SASL provider.
+
+ You only need to do this if the custom SASL jar, qpid-client-java14-1.0-incubating-M2-SNAPSHOT.jar, was copied to JAVA_HOME\lib\ext.
+ Add the following line to JAVA_HOME\lib\security\java.security file (where n is the providers preference order):
+
+ security.provider.n=org.apache.qpid.sasl.Provider
\ No newline at end of file |
