Author: fmeschbe
Date: Sun Apr 22 18:37:32 2012
New Revision: 1328928
URL: http://svn.apache.org/viewvc?rev=1328928&view=rev
Log:
authentication page improvements
Modified:
sling/site/trunk/content/authentication---framework.mdtext
Modified: sling/site/trunk/content/authentication---framework.mdtext
URL:
http://svn.apache.org/viewvc/sling/site/trunk/content/authentication---framework.mdtext?rev=1328928&r1=1328927&r2=1328928&view=diff
==============================================================================
--- sling/site/trunk/content/authentication---framework.mdtext (original)
+++ sling/site/trunk/content/authentication---framework.mdtext Sun Apr 22
18:37:32 2012
@@ -188,7 +188,8 @@ is assumed credentials have been request
The *login* method has three possible exit states:
-|| Exit State || Description ||
+| Exit State | Description |
+|------------|-------------|
| Normal | An `AuthenticationHandler` could be selected to which the login
request could be forwarded. |
| `NoAuthenticationHandlerException` | No `AuthenticationHandler` could be
selected to forward the login request to. In this case, the caller can proceed
as appropriate. For example a servlet, which should just login a user may send
back a 403/FORBIDDEN status because login is not possible. Or a 404/NOT FOUND
handler, which tried to login as a fallback, may continue and send back the
regular 404/NOT FOUND response. |
| `IllegalStateException` | The response has already been committed and the
login request cannot be processed. Normally to request login, the current
response must be reset and a new response has to be prepared. This is only
possible if the request has not yet been committed. |