Hi all,
I am trying to use JSVC to bind to a privileged port while root, than
run the application as a separate user. This would require that I bind
the port separate from starting the server (accepting connections /
creating a thread pool, etc)
The issue I am facing is in NetworkListener.start() - this call
combines the TCPNIOTransport.bind and the TCPNIOTransport.start.
Additionally, it appears that TCPNIOTransport.bind also listens on the
port as well.
Any suggestions on how to separate binding to the port from the rest of
the operations? Or alternatively, any suggestions on how to bind to
Grizzly a privileged port? Specifically - has anyone used authbind with
Grizzly?
Thanks!
- Scott