From eeb8d61f1f4ff0a0bdd6db1630584c7809eead9f Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Thu, 26 Jan 2012 23:15:17 +1100 Subject: [PATCH] 368773 always set an indentity service --- .../main/java/org/eclipse/jetty/security/SecurityHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-security/src/main/java/org/eclipse/jetty/security/SecurityHandler.java b/jetty-security/src/main/java/org/eclipse/jetty/security/SecurityHandler.java index da34f2d6337..538533c6581 100644 --- a/jetty-security/src/main/java/org/eclipse/jetty/security/SecurityHandler.java +++ b/jetty-security/src/main/java/org/eclipse/jetty/security/SecurityHandler.java @@ -306,7 +306,7 @@ public abstract class SecurityHandler extends HandlerWrapper implements Authenti if (_identityService==null) _identityService=findIdentityService(); - if (_identityService==null && _realmName!=null) + if (_identityService==null && _loginService!=null) _identityService=new DefaultIdentityService(); }