jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
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 GMT
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
      */



Mime
View raw message