(String argv[])
| 71 | private static InputStream serverIn = null; |
| 72 | |
| 73 | public static void main(String argv[]) throws Exception { |
| 74 | |
| 75 | System.out.println("Starting GSS-API Client Example\n"); |
| 76 | |
| 77 | connectToServer(); |
| 78 | initializeGSS(); |
| 79 | establishContext(serverIn, serverOut); |
| 80 | doCommunication(serverIn, serverOut); |
| 81 | |
| 82 | /* shutdown */ |
| 83 | context.dispose(); |
| 84 | clientCred.dispose(); |
| 85 | serverIn.close(); |
| 86 | serverOut.close(); |
| 87 | clientSocket.close(); |
| 88 | |
| 89 | System.out.println("\nShut down GSS-API and closed connection to server"); |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * Connect to example GSS-API server, using specified port and |
nothing calls this directly
no test coverage detected