improved async authentication
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@156 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
ed2408538b
commit
f160c90f06
|
@ -412,8 +412,11 @@ public abstract class SecurityHandler extends HandlerWrapper implements Authenti
|
|||
try
|
||||
{
|
||||
final Authenticator authenticator = _authenticator;
|
||||
final Authentication authentication = authenticator.validateRequest(request, response, isAuthMandatory);
|
||||
|
||||
Authentication authentication = base_request.getAuthentication();
|
||||
if (authentication==null || authentication==Authentication.NOT_CHECKED)
|
||||
authentication=authenticator.validateRequest(request, response, isAuthMandatory);
|
||||
|
||||
|
||||
if (authentication instanceof Authentication.ResponseSent)
|
||||
{
|
||||
base_request.setHandled(true);
|
||||
|
|
Loading…
Reference in New Issue