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)
|
||||
{
|
||||
security.logout(null);
|
||||
if (_authenticator instanceof LoginAuthenticator)
|
||||
{
|
||||
((LoginAuthenticator)_authenticator).logout(request);
|
||||
return new LoggedOutAuthentication((LoginAuthenticator)_authenticator);
|
||||
}
|
||||
_authenticator.logout(request);
|
||||
return new LoggedOutAuthentication(_authenticator);
|
||||
}
|
||||
|
||||
return Authentication.UNAUTHENTICATED;
|
||||
|
Loading…
x
Reference in New Issue
Block a user