Return-Path: Delivered-To: apmail-jackrabbit-commits-archive@www.apache.org Received: (qmail 39208 invoked from network); 20 Mar 2009 09:03:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2009 09:03:00 -0000 Received: (qmail 63445 invoked by uid 500); 20 Mar 2009 09:02:59 -0000 Delivered-To: apmail-jackrabbit-commits-archive@jackrabbit.apache.org Received: (qmail 63406 invoked by uid 500); 20 Mar 2009 09:02:59 -0000 Mailing-List: contact commits-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list commits@jackrabbit.apache.org Received: (qmail 63397 invoked by uid 99); 20 Mar 2009 09:02:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2009 02:02:59 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2009 09:02:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B457F23888E6; Fri, 20 Mar 2009 09:02:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r756378 - /jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/BasicCredentialsProvider.java Date: Fri, 20 Mar 2009 09:02:37 -0000 To: commits@jackrabbit.apache.org From: angela@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090320090238.B457F23888E6@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 null or not of the required format the behaviour - * depends on the {@link #defaultHeaderValue} field:
+ * string is null the behaviour depends on the + * {@link #defaultHeaderValue} field:
*
    *
  • if this field is null, a LoginException is thrown. * This is suiteable for clients (eg. webdav clients) for with @@ -62,11 +62,13 @@ *
  • if this field has a 'user:password' value, the respective * simple credentials are generated. *
+ *

+ * If the request header is present but cannot be parsed a + * ServletException is thrown. * * @param request the servlet request * @return credentials or null. - * @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 */