You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by lh...@apache.org on 2009/07/28 00:00:58 UTC
svn commit: r798302 -
/incubator/shiro/trunk/web/src/main/java/org/apache/shiro/web/filter/authc/BasicHttpAuthenticationFilter.java
Author: lhazlewood
Date: Mon Jul 27 22:00:58 2009
New Revision: 798302
URL: http://svn.apache.org/viewvc?rev=798302&view=rev
Log:
Minor JavaDoc formatting
Modified:
incubator/shiro/trunk/web/src/main/java/org/apache/shiro/web/filter/authc/BasicHttpAuthenticationFilter.java
Modified: incubator/shiro/trunk/web/src/main/java/org/apache/shiro/web/filter/authc/BasicHttpAuthenticationFilter.java
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/web/src/main/java/org/apache/shiro/web/filter/authc/BasicHttpAuthenticationFilter.java?rev=798302&r1=798301&r2=798302&view=diff
==============================================================================
--- incubator/shiro/trunk/web/src/main/java/org/apache/shiro/web/filter/authc/BasicHttpAuthenticationFilter.java (original)
+++ incubator/shiro/trunk/web/src/main/java/org/apache/shiro/web/filter/authc/BasicHttpAuthenticationFilter.java Mon Jul 27 22:00:58 2009
@@ -32,14 +32,13 @@
/**
* Requires the requesting user to be {@link org.apache.shiro.subject.Subject#isAuthenticated() authenticated} for the
- * request to continue, and if they're not, forces the user to login via the HTTP Basic protocol-specific challenge.
+ * request to continue, and if they're not, requires the user to login via the HTTP Basic protocol-specific challenge.
* Upon successful login, they're allowed to continue on to the requested resource/url.
* <p/>
- * <p>This implementation is a 'clean room' Java implementation of Basic HTTP Authentication specification per
- * <a href="ftp://ftp.isi.edu/in-notes/rfc2617.txt">RFC 2617</a>.</p>
- * <p/>
- * <p>Basic authentication functions as follows:</p>
+ * This implementation is a 'clean room' Java implementation of Basic HTTP Authentication specification per
+ * <a href="ftp://ftp.isi.edu/in-notes/rfc2617.txt">RFC 2617</a>.
* <p/>
+ * Basic authentication functions as follows:
* <ol>
* <li>A request comes in for a resource that requires authentication.</li>
* <li>The server replies with a 401 response status, sets the <code>WWW-Authenticate</code> header, and the contents of a
@@ -48,13 +47,12 @@
* username and a password and puts them in the following format:
* <p><code>username:password</code></p></li>
* <li>This token is then base 64 encoded.</li>
- * <li>The client then sends another request for the same resource with the following header:<p/>
+ * <li>The client then sends another request for the same resource with the following header:<br/>
* <p><code>Authorization: Basic <em>Base64_encoded_username_and_password</em></code></p></li>
* </ol>
- * <p/>
- * <p>The {@link #onAccessDenied(javax.servlet.ServletRequest, javax.servlet.ServletResponse)} method will
+ * The {@link #onAccessDenied(javax.servlet.ServletRequest, javax.servlet.ServletResponse)} method will
* only be called if the subject making the request is not
- * {@link org.apache.shiro.subject.Subject#isAuthenticated() authenticated} </p>
+ * {@link org.apache.shiro.subject.Subject#isAuthenticated() authenticated}
*
* @author Allan Ditzel
* @author Les Hazlewood