Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2012-01-26 07:15:17 -0500
committerGreg Wilkins2012-01-26 07:15:17 -0500
commiteeb8d61f1f4ff0a0bdd6db1630584c7809eead9f (patch)
tree8f9d4f4b6faf30632c61b482a8a8c54d81924587 /jetty-security/src/main/java
parent6b0a97012c895586c28b62d229000831f68c27b7 (diff)
downloadorg.eclipse.jetty.project-eeb8d61f1f4ff0a0bdd6db1630584c7809eead9f.tar.gz
org.eclipse.jetty.project-eeb8d61f1f4ff0a0bdd6db1630584c7809eead9f.tar.xz
org.eclipse.jetty.project-eeb8d61f1f4ff0a0bdd6db1630584c7809eead9f.zip
368773 always set an indentity service
Diffstat (limited to 'jetty-security/src/main/java')
-rw-r--r--jetty-security/src/main/java/org/eclipse/jetty/security/SecurityHandler.java2
1 files changed, 1 insertions, 1 deletions
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 da34f2d633..538533c658 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();
}

Back to the top