You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by an...@apache.org on 2009/03/20 10:02:37 UTC
svn commit: r756378 -
/jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/BasicCredentialsProvider.java
Author: angela
Date: Fri Mar 20 09:02:33 2009
New Revision: 756378
URL: http://svn.apache.org/viewvc?rev=756378&view=rev
Log:
javadoc (not according to code)
Modified:
jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/BasicCredentialsProvider.java
Modified: jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/BasicCredentialsProvider.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/BasicCredentialsProvider.java?rev=756378&r1=756377&r2=756378&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/BasicCredentialsProvider.java (original)
+++ jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/BasicCredentialsProvider.java Fri Mar 20 09:02:33 2009
@@ -50,8 +50,8 @@
*
* Build a {@link Credentials} object for the given authorization header.
* The creds may be used to login to the repository. If the specified header
- * string is <code>null</code> or not of the required format the behaviour
- * depends on the {@link #defaultHeaderValue} field:<br>
+ * string is <code>null</code> the behaviour depends on the
+ * {@link #defaultHeaderValue} field:<br>
* <ul>
* <li> if this field is <code>null</code>, a LoginException is thrown.
* This is suiteable for clients (eg. webdav clients) for with
@@ -62,11 +62,13 @@
* <li> if this field has a 'user:password' value, the respective
* simple credentials are generated.
* </ul>
+ * <p/>
+ * If the request header is present but cannot be parsed a
+ * <code>ServletException</code> is thrown.
*
* @param request the servlet request
* @return credentials or <code>null</code>.
- * @throws ServletException If an IOException occured while decoding the
- * Authorization header.
+ * @throws ServletException If the Authorization header cannot be decoded.
* @throws LoginException if no suitable auth header and missing-auth-mapping
* is not present
*/