Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor cleanup

  • Loading branch information...
commit f3796b424ad527fa82a636d5d04c7c467c82d2e4 1 parent e6faca6
@cconlon authored
View
2  examples/GssUtil.java
@@ -1,4 +1,4 @@
-/* Util.java - Example GSS-API Utility functions*/
+/* GssUtil.java - Example GSS-API Utility functions*/
/*
* Copyright (C) 2012 by the Massachusetts Institute of Technology.
* All rights reserved.
View
4 examples/client.java
@@ -65,8 +65,8 @@ public static void main(String argv[]) throws Exception
int ret = 0;
int port = 11115;
String server = "127.0.0.1";
- String clientName = "chrisc";
- String serviceName = "service@ubuntu.local";
+ String clientName = "clientname";
+ String serviceName = "service@host";
/* Customize this if a specific mechanisms should be negotiated,
otherwise set neg_mech_set to GSS_C_NO_OID_SET */
View
2  examples/server.java
@@ -54,7 +54,7 @@
public static void main(String argv[]) throws Exception
{
int server_port = 11115;
- String serviceName = "service@ubuntu.local";
+ String serviceName = "service@host";
int ret = 0;
int authorizationError = 0;
long maj_status = 0;
View
4 gsswrapper.i
@@ -35,7 +35,7 @@
*
* This file is used by SWIG to generate the Java GSS-API SWIG wrapper,
* used to create the edu.mit.jgss.swig package, subsequently used in the
- * MIT implementatio of RFC 5653 (package edu.mit.jgss).
+ * MIT implementation of RFC 5653 (package edu.mit.jgss).
*
*/
@@ -81,7 +81,7 @@
} gss_name_t_desc;
/*
- * Hand-rolled JNI function for retreival of gss_buffer_t
+ * Hand-rolled JNI function for retrieval of gss_buffer_t
* value by Java. Requires gss_buffer_desc as input.
*/
JNIEXPORT jbyteArray JNICALL
View
4 src/java/edu/mit/jgss/GSSNameImpl.java
@@ -48,8 +48,8 @@
/* internal GSSManager instance */
private GSSManager internGSSManager = GSSManagerImpl.getInstance();
- /* debugging ? */
- private boolean DEBUG_ERR = true;
+ /* debugging */
+ private boolean DEBUG_ERR = false;
public boolean equals(GSSName another) throws GSSException {
Please sign in to comment.
Something went wrong with that request. Please try again.