Personal Services: Connection Processes

Submitted by code_admin on Mon, 07/23/2018 - 10:51

Admin Web Server initiating a connection with Node


https://drive.google.com/open?id=1FMs1tzrpwGB0p04ePS0L8Yi-lh0RhdZORoC_y…

AdminWebServer

Process contained in first part of metcarob.com.personalservices.adminwebserv.nodeuserconnectionpool.ConnectionInfo

Console

Process contained in metcarob.com.personalservices.console.NodeConnectionUtilities.ConnectNode
However Encrypt for is at the start of metcarob.com.personalservices.console.NodeConnectionUtilities._command.AuthAdmin
AuthAdmin does both the process for NodeAdmin and ServerAdmin.

Node

Process contained in metcarob.com.personalservices.library.cmdprocessors.InitialConnection

At the end of this stage NodeAdmin knows the Nodeit has connected to has matched the public key, but the Node has not authenticated NodeAdmin.

Admin Web Server upgrade connection with Node to NodeAdmin

Node

XMLProtocol controls auth of user.
https://docs.google.com/drawings/d/17tRyBWKGPUHKMpG5yPdpgPdLgkpY2OBLFg4…
It holds a list of authroized users and their public keys.
All users in the settings file have their public keys added. Connection manager is where this is set up
metcarob.com.personalservices.singlenodeserver.run

  1. m_comms = new ConnectionManager(m_InitConnPro,m_serverSettings.getM_ListenPort(),null,m_serverSettings.getM_Users(),false,m_serverSettings.getM_serverPrivateKey(),metcarob.com.personalservices.library.Constants.getServerConnectionTimeout());)

Node Outbound sending message to Node Inbound

Tags

RJM Article Type
Work Notes