From 940c033c4446ed6e09ebe45be25e2cf85c9321be Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Mon, 18 Oct 2010 19:41:47 +0000
Subject: [PATCH] Update from OpenDS sdk by Bo Li: Added unmodifiable and copyOf request factories. Added authrate performance utility.

---
 opendj-sdk/sdk/src/org/opends/sdk/requests/CRAMMD5SASLBindRequest.java |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/opendj-sdk/sdk/src/org/opends/sdk/requests/CRAMMD5SASLBindRequest.java b/opendj-sdk/sdk/src/org/opends/sdk/requests/CRAMMD5SASLBindRequest.java
index fdd63c3..8136b3c 100644
--- a/opendj-sdk/sdk/src/org/opends/sdk/requests/CRAMMD5SASLBindRequest.java
+++ b/opendj-sdk/sdk/src/org/opends/sdk/requests/CRAMMD5SASLBindRequest.java
@@ -150,7 +150,10 @@
    *
    * @param authenticationID
    *          The authentication ID of the user.
-   * @return This bind request.
+   * @return This bind request
+   * @throws UnsupportedOperationException
+   *           If this bind request does not permit the authentication ID to be
+   *           set..
    * @throws LocalizedIllegalArgumentException
    *           If {@code authenticationID} was non-empty and did not contain a
    *           valid authorization ID type.
@@ -158,7 +161,8 @@
    *           If {@code authenticationID} was {@code null}.
    */
   CRAMMD5SASLBindRequest setAuthenticationID(String authenticationID)
-      throws LocalizedIllegalArgumentException, NullPointerException;
+      throws UnsupportedOperationException, LocalizedIllegalArgumentException,
+      NullPointerException;
 
 
 

--
Gitblit v1.10.0