Issue #6554 - create the DefaultIdentityService even if no realmName is provided

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2021-08-02 15:22:43 +10:00
parent 5dcc14b114
commit 29a8d5d2bd
1 changed files with 2 additions and 5 deletions

View File

@ -334,11 +334,8 @@ public abstract class SecurityHandler extends HandlerWrapper implements Authenti
if (_identityService == null)
{
if (_realmName != null)
{
setIdentityService(new DefaultIdentityService());
manage(_identityService);
}
setIdentityService(new DefaultIdentityService());
manage(_identityService);
}
else
unmanage(_identityService);