summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2012-10-26 09:02:52 +0100
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2012-10-26 09:07:37 +0100
commita59446c33c2710d05b793aeaaacb10acee08691e (patch)
tree50a5f12c8c3fc490e29ed6728c0c9367fae1a7e9
parent6c1e255d92f2ffd333ce7cde4c5550053ee65257 (diff)
downloadclasspath-a59446c33c2710d05b793aeaaacb10acee08691e.tar.gz
PR41689: Add missing field javax.security.sasl.Sasl.CREDENTIALS.
2012-10-26 Andrew John Hughes <gnu_andrew@member.fsf.org> PR classpath/41689 * javax/security/sasl/Sasl.java: (CREDENTIALS): Add missing field. * NEWS: Updated. Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
-rw-r--r--ChangeLog7
-rw-r--r--NEWS1
-rw-r--r--javax/security/sasl/Sasl.java10
3 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 06880c030..7358e4348 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2012-10-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
+ PR classpath/41689
+ * javax/security/sasl/Sasl.java:
+ (CREDENTIALS): Add missing field.
+ * NEWS: Updated.
+
+2012-10-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
* NEWS: Updated with latest bug fixes.
* THANKYOU: Add bug authors.
diff --git a/NEWS b/NEWS
index bb699b098..13e7aea0d 100644
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,7 @@ New in release 0.99.1 (XXX XX, 2012)
- PR54960: Avoid NullPointerException in SAXSerializer.
- PR42551: Avoid overwriting length of message when computing length representation.
- PR44208: Ensure a handle for the enum is registered before its constant.
+ - PR41689: javax.security.sasl.CREDIENTIALS field is missing
New in release 0.99 (Feb 15, 2012)
diff --git a/javax/security/sasl/Sasl.java b/javax/security/sasl/Sasl.java
index 402ad6ede..475be09e0 100644
--- a/javax/security/sasl/Sasl.java
+++ b/javax/security/sasl/Sasl.java
@@ -265,6 +265,16 @@ public class Sasl
*/
public static final String REUSE = "javax.security.sasl.reuse";
+ /**
+ * <p>The name of a property which specifies the credentials to use.
+ * The value of the property is a mechanism-specific object which can
+ * be used to supply credentials to a mechanism which provides delegated
+ * authentication.</p>
+ *
+ * <p>The value of this constant is <code>"javax.security.sasl.credentials"</code>.</p>
+ */
+ public static final String CREDENTIALS = "javax.security.sasl.credentials";
+
private static final String CLIENT_FACTORY_SVC = "SaslClientFactory.";
private static final String SERVER_FACTORY_SVC = "SaslServerFactory.";
private static final String ALIAS = "Alg.Alias.";