Bug 277027 Fix NPE if no security handler installed
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@239 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
7b3eda29df
commit
c170801600
|
@ -376,7 +376,7 @@ public class WebAppContext extends ServletContextHandler
|
|||
_configurations=null;
|
||||
|
||||
// restore security handler
|
||||
if (_securityHandler.getHandler()==null)
|
||||
if (_securityHandler != null && _securityHandler.getHandler()==null)
|
||||
{
|
||||
_sessionHandler.setHandler(_securityHandler);
|
||||
_securityHandler.setHandler(_servletHandler);
|
||||
|
|
Loading…
Reference in New Issue