Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2012-01-10 02:23:55 -0500
committerJan Bartel2012-01-10 02:23:55 -0500
commit70961bc53b2a40b11e79e595d79ffd52e53478d4 (patch)
tree218ae9488074453c8d68cac26d58d03b4ccc6cdc /jetty-security/src/main/java
parent1fbec51c8a1c9bac0bff984c4ded6a4ba32ca73a (diff)
parent31bd00ab794334a0d86d0c73abe09959f8338f2f (diff)
downloadorg.eclipse.jetty.project-70961bc53b2a40b11e79e595d79ffd52e53478d4.tar.gz
org.eclipse.jetty.project-70961bc53b2a40b11e79e595d79ffd52e53478d4.tar.xz
org.eclipse.jetty.project-70961bc53b2a40b11e79e595d79ffd52e53478d4.zip
Merge remote-tracking branch 'origin/master' into jetty-8
Diffstat (limited to 'jetty-security/src/main/java')
-rw-r--r--jetty-security/src/main/java/org/eclipse/jetty/security/SecurityHandler.java6
1 files changed, 2 insertions, 4 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 6a4b837783..7e4232c579 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
@@ -318,13 +318,11 @@ public abstract class SecurityHandler extends HandlerWrapper implements Authenti
if (!_loginServiceShared && _loginService instanceof LifeCycle)
((LifeCycle)_loginService).start();
- System.err.println("authenticator="+_authenticator+" authenticatorFactory="+_authenticatorFactory+" identityService="+_identityService);
if (_authenticator==null && _authenticatorFactory!=null && _identityService!=null)
{
_authenticator=_authenticatorFactory.getAuthenticator(getServer(),ContextHandler.getCurrentContext(),this, _identityService, _loginService);
if (_authenticator!=null)
_authMethod=_authenticator.getAuthMethod();
- System.err.println("Called auth factory, authenticator="+_authenticator);
}
if (_authenticator==null)
@@ -479,7 +477,7 @@ public abstract class SecurityHandler extends HandlerWrapper implements Authenti
deferred.setIdentityService(_identityService);
deferred.setLoginService(_loginService);
baseRequest.setAuthentication(authentication);
-System.err.println("uri="+baseRequest.getUri()+" Auth is deferred");
+
try
{
handler.handle(pathInContext, baseRequest, request, response);
@@ -489,7 +487,7 @@ System.err.println("uri="+baseRequest.getUri()+" Auth is deferred");
previousIdentity = deferred.getPreviousAssociation();
deferred.setIdentityService(null);
}
- System.err.println("Securityhandler calling secureResponse, for Authentication.User");
+
Authentication auth=baseRequest.getAuthentication();
if (auth instanceof Authentication.User)
{

Back to the top