mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-03 20:39:18 +00:00
cleanup in DeferredAuthentication
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
b2aa22fd8f
commit
7929730cb9
@ -120,11 +120,8 @@ public class DeferredAuthentication implements Authentication.Deferred
|
|||||||
if (security != null)
|
if (security != null)
|
||||||
{
|
{
|
||||||
security.logout(null);
|
security.logout(null);
|
||||||
if (_authenticator instanceof LoginAuthenticator)
|
_authenticator.logout(request);
|
||||||
{
|
return new LoggedOutAuthentication(_authenticator);
|
||||||
((LoginAuthenticator)_authenticator).logout(request);
|
|
||||||
return new LoggedOutAuthentication((LoginAuthenticator)_authenticator);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return Authentication.UNAUTHENTICATED;
|
return Authentication.UNAUTHENTICATED;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user