From 4fc15c9a5580de6d207b69a09ce0d2d580d575aa Mon Sep 17 00:00:00 2001
From: Roland Weber
* Please note that custom authentication preferences, if used, need to be updated accordingly
@@ -65,7 +65,7 @@ public final class AuthSchemeRegistry {
* @param name the identifier for this scheme
* @param factory the {@link AuthSchemeFactory} class to register
*
- * @see #getAuthScheme(String)
+ * @see #getAuthScheme
*/
public synchronized void registerAuthScheme(
final String name,
diff --git a/src/java/org/apache/http/auth/AuthScope.java b/src/java/org/apache/http/auth/AuthScope.java
index 7a3d5b74a..58b4564dc 100644
--- a/src/java/org/apache/http/auth/AuthScope.java
+++ b/src/java/org/apache/http/auth/AuthScope.java
@@ -35,7 +35,7 @@ import org.apache.http.util.LangUtils;
/**
* The class represents an authentication scope consisting of a host name,
* a port number, a realm name and an authentication scheme name which
- * {@link org.apache.commons.httpclient.Credentials} apply to.
+ * {@link Credentials Credentials} apply to.
*
* @author Oleg Kalnichevski
* @author Adrian Sutton
diff --git a/src/java/org/apache/http/auth/UsernamePasswordCredentials.java b/src/java/org/apache/http/auth/UsernamePasswordCredentials.java
index 3b1da7816..3ee24339a 100644
--- a/src/java/org/apache/http/auth/UsernamePasswordCredentials.java
+++ b/src/java/org/apache/http/auth/UsernamePasswordCredentials.java
@@ -104,7 +104,6 @@ public class UsernamePasswordCredentials implements Credentials {
* User name property getter.
*
* @return the userName
- * @see #setUserName(String)
*/
public String getPrincipalName() {
return userName;
@@ -115,7 +114,6 @@ public class UsernamePasswordCredentials implements Credentials {
* Password property getter.
*
* @return the password
- * @see #setPassword(String)
*/
public String getPassword() {
return password;
diff --git a/src/java/org/apache/http/auth/params/AuthParams.java b/src/java/org/apache/http/auth/params/AuthParams.java
index 19addccc9..421682285 100644
--- a/src/java/org/apache/http/auth/params/AuthParams.java
+++ b/src/java/org/apache/http/auth/params/AuthParams.java
@@ -48,8 +48,11 @@ public final class AuthParams {
/**
* Defines the charset to be used when encoding
- * {@link org.apache.http.auth.Credentials}. If not defined then the
- * {@link #HTTP_ELEMENT_CHARSET} should be used.
+ * {@link org.apache.http.auth.Credentials}.
+ * If not defined then the
+ * {@link org.apache.http.params.HttpProtocolParams#HTTP_ELEMENT_CHARSET
+ * HttpProtocolParams.HTTP_ELEMENT_CHARSET}
+ * should be used.
*
* This parameter expects a value of type {@link String}.
*
* Credential charset is configured via the - * {@link org.apache.commons.httpclient.params.HttpMethodParams#CREDENTIAL_CHARSET credential - * charset} parameter. Since the digest username is included as clear text in the generated - * Authentication header, the charset of the username must be compatible with the - * {@link org.apache.commons.httpclient.params.HttpMethodParams#HTTP_ELEMENT_CHARSET http element - * charset}. + * {@link AuthParams#CREDENTIAL_CHARSET credential charset} parameter. + * Since the digest username is included as clear text in the generated + * Authentication header, the charset of the username must be compatible + * with the + * {@link org.apache.http.params.HttpProtocolParams#HTTP_ELEMENT_CHARSET + * http element charset}. *
* * @author Remy Maucherat @@ -112,7 +113,7 @@ public class DigestScheme extends RFC2617Scheme { /** * Processes the Digest challenge. * - * @param challenge the challenge string + * @param header the challenge header * * @throws MalformedChallengeException is thrown if the authentication challenge * is malformed @@ -198,7 +199,7 @@ public class DigestScheme extends RFC2617Scheme { * {@link Credentials}, method name and URI. * * @param credentials A set of credentials to be used for athentication - * @param method The method being authenticated + * @param request The request being authenticated * * @throws InvalidCredentialsException if authentication credentials * are not valid or not applicable for this authentication scheme diff --git a/src/java/org/apache/http/impl/auth/RFC2617Scheme.java b/src/java/org/apache/http/impl/auth/RFC2617Scheme.java index ce36373bc..0115755b9 100644 --- a/src/java/org/apache/http/impl/auth/RFC2617Scheme.java +++ b/src/java/org/apache/http/impl/auth/RFC2617Scheme.java @@ -78,7 +78,7 @@ public abstract class RFC2617Scheme implements AuthScheme { * may involve multiple challenge-response exchanges. Such schemes must be able * to maintain the state information when dealing with sequential challenges * - * @param challenge the challenge string + * @param header the challenge header * * @throws MalformedChallengeException is thrown if the authentication challenge * is malformed