]> WPIA git - gigi.git/blobdiff - lib/jetty/org/eclipse/jetty/security/authentication/SpnegoAuthenticator.java
updating jetty to jetty-9.2.16.v2016040
[gigi.git] / lib / jetty / org / eclipse / jetty / security / authentication / SpnegoAuthenticator.java
index 8469c0a800d2bdb9ba8aba20a244b25664299ad3..182635a2544962f6be69687deb050119732cab3c 100644 (file)
@@ -1,6 +1,6 @@
 //
 //  ========================================================================
-//  Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd.
+//  Copyright (c) 1995-2016 Mort Bay Consulting Pty. Ltd.
 //  ------------------------------------------------------------------------
 //  All rights reserved. This program and the accompanying materials
 //  are made available under the terms of the Eclipse Public License v1.0
@@ -50,7 +50,7 @@ public class SpnegoAuthenticator extends LoginAuthenticator
      */
     public SpnegoAuthenticator( String authMethod )
     {
-       _authMethod = authMethod;
+        _authMethod = authMethod;
     }
 
     @Override
@@ -77,10 +77,10 @@ public class SpnegoAuthenticator extends LoginAuthenticator
         {
             try
             {
-                if (DeferredAuthentication.isDeferred(res))
-                {
+                 if (DeferredAuthentication.isDeferred(res))
+                 {
                      return Authentication.UNAUTHENTICATED;
-                }
+                 }
 
                 LOG.debug("SpengoAuthenticator: sending challenge");
                 res.setHeader(HttpHeader.WWW_AUTHENTICATE.asString(), HttpHeader.NEGOTIATE.asString());