Rename GSS method
[gpl/argeo-slc.git] / cms / org.argeo.slc.cms / src / org / argeo / slc / cms / httpclient3 / SpnegoAuthScheme.java
index 61ae58b4a35ede9a564994c5cf3013079d756e4c..a28559a9b6f304cd12f851a7d9b2d1987b846a90 100644 (file)
@@ -105,7 +105,7 @@ public class SpnegoAuthScheme implements AuthScheme {
                String hostname;
                try {
                        hostname = method.getURI().getHost();
-                       String tokenStr = RemoteAuthUtils.getGssToken(null, DEFAULT_KERBEROS_SERVICE, hostname);
+                       String tokenStr = RemoteAuthUtils.createGssToken(null, DEFAULT_KERBEROS_SERVICE, hostname);
                        return "Negotiate " + tokenStr;
                } catch (Exception e1) {
                        complete = true;