A server can require that a client be authenticated before it is permitted to establish a connection.
To enable authentication a server endpoint must specify an
The implementation of the handler for the authentication request must return a Boolean representation indicating if the user is authorized to establish a connection.
Authentication occurs each time a connection is established. [Note that this is not necessarily the same as for each request since a connection may be long-lived (in bridge patterns), or may be cached and reused (one-shot)].
If a server requires authentication a client 'must provide credentials in its configuration...
The credentials will be sent each time a connection is established.
If you are not operating your NetKernel system on a secure private network you should also ensure that the connection is encrypted using TLS/SSL.
The NKP Server implements a private filter and will not project any endpoint marked as private over to the client-side.
You may therefore ensure that your authentication service cannot be reached by client requests by adding a