hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From micha...@apache.org
Subject svn commit: r1671825 - /httpcomponents/httpclient/branches/HTTPCLIENT-1625/src/main/java/org/apache/http/impl/auth/GSSBasedScheme.java
Date Tue, 07 Apr 2015 12:03:18 GMT
Author: michaelo
Date: Tue Apr  7 12:03:18 2015
New Revision: 1671825

URL: http://svn.apache.org/r1671825
Log:
Convert tabs to spaces

Modified:
    httpcomponents/httpclient/branches/HTTPCLIENT-1625/src/main/java/org/apache/http/impl/auth/GSSBasedScheme.java

Modified: httpcomponents/httpclient/branches/HTTPCLIENT-1625/src/main/java/org/apache/http/impl/auth/GSSBasedScheme.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/HTTPCLIENT-1625/src/main/java/org/apache/http/impl/auth/GSSBasedScheme.java?rev=1671825&r1=1671824&r2=1671825&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/HTTPCLIENT-1625/src/main/java/org/apache/http/impl/auth/GSSBasedScheme.java
(original)
+++ httpcomponents/httpclient/branches/HTTPCLIENT-1625/src/main/java/org/apache/http/impl/auth/GSSBasedScheme.java
Tue Apr  7 12:03:18 2015
@@ -59,7 +59,7 @@ import org.ietf.jgss.Oid;
 @NotThreadSafe
 public class GSSBasedScheme extends AuthSchemeBase {
 
-	private final Log logger = LogFactory.getLog(getClass());
+    private final Log logger = LogFactory.getLog(getClass());
 
     private static final String KERBEROS5_OID = "1.2.840.113554.1.2";
     private static final String SPNEGO_OID = "1.3.6.1.5.5.2";
@@ -67,8 +67,8 @@ public class GSSBasedScheme extends Auth
     private static final Map<String, String> SCHEMES_TO_MECH_OIDS = new HashMap<String,
String>(2);
 
     static {
-    	SCHEMES_TO_MECH_OIDS.put(AuthSchemes.KERBEROS, KERBEROS5_OID);
-    	SCHEMES_TO_MECH_OIDS.put(AuthSchemes.SPNEGO, SPNEGO_OID);
+        SCHEMES_TO_MECH_OIDS.put(AuthSchemes.KERBEROS, KERBEROS5_OID);
+        SCHEMES_TO_MECH_OIDS.put(AuthSchemes.SPNEGO, SPNEGO_OID);
     }
 
     enum State {
@@ -117,7 +117,7 @@ public class GSSBasedScheme extends Auth
 
     @Override
     public boolean isComplete() {
-    	return state == State.COMPLETED;
+        return state == State.COMPLETED;
     }
 
     @Override
@@ -130,7 +130,7 @@ public class GSSBasedScheme extends Auth
     @Override
     public Header authenticate(final Credentials credentials, final HttpRequest request,
final HttpContext context)
             throws AuthenticationException {
-    	logger.debug("Using HttpContext " + context);
+        logger.debug("Using HttpContext " + context);
         switch (state) {
         case COMPLETED:
             // TODO implement me!



Mime
View raw message