Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2011-10-03 03:21:28 -0400
committerJan Bartel2011-10-03 03:21:28 -0400
commit9678aad6e961c21be0972aa90bfef570e0d237dc (patch)
tree4ca4a3afbd18b8d00edd90b98e6bc53ac85516d2 /jetty-security/src/main/java
parent7bf5f7792b5b37749515d1a4cd2afbab1a9822b9 (diff)
downloadorg.eclipse.jetty.project-9678aad6e961c21be0972aa90bfef570e0d237dc.tar.gz
org.eclipse.jetty.project-9678aad6e961c21be0972aa90bfef570e0d237dc.tar.xz
org.eclipse.jetty.project-9678aad6e961c21be0972aa90bfef570e0d237dc.zip
Debug printlns plus commented out Deferred auth
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, 4 insertions, 2 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 5878381ec2..6a4b837783 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,11 +318,13 @@ 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)
@@ -477,7 +479,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);
@@ -487,7 +489,7 @@ public abstract class SecurityHandler extends HandlerWrapper implements Authenti
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