Tag Archives: JSSL

JSSL INFO COLLECTION SERVER


Click to Read: For our final project in CS3750 (Computer/Network Security), we were to write a client/server program that uses Java SSL security for an implementation of a basic server program. The requirements were that the server has to wait for clients to connect at a certain port number. When they do, the server should start a new thread for every connection, collect session info from the socket’s session, and start an information collection loop that asks for a username, full name, phone number, email, and address. When the server is done asking questions, it creates a text file and writes out the user’s information to it. The client is then asked if he/she/it wants to continue making new users. If so, the server asks the same questions again. If not, the client program shuts down and closes all connections, while the the server closes it’s thread for that socket connection, but remains listening for new connections. There are more intricate details, but for the sake of this post, that’s a brief explanation of the assignment.