Issue #6554 - create the DefaultIdentityService even if no realmName is provided
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
5dcc14b114
commit
29a8d5d2bd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue