NETCONF over WebSocket
(https://tools.ietf.org/html/draft-iijima-netconf-websocket-ps-04)
Tony Deng
Github @tonydeng
Twitter @wolfdeng
Blog TonyDeng's Blog
(https://tools.ietf.org/html/draft-iijima-netconf-websocket-ps-04)
Tony Deng
Github @tonydeng
Twitter @wolfdeng
Blog TonyDeng's Blog
NETCONF server example.
public class NetconfWebSocketServlet extends WebSocketServlet{
@Override
void doGet(HttpServletRequest req, HttpServletResponse res){
X509Certificate[] certificates = (X509Certificate[])req.getAttribute("...X509Certificate");
// NETCONF server can see client's TLS certificate sent during TLS handshake here.
}
@Override
public WebSocket doWebSocketConnect(HttpServletRequest req, String protocol){
//NETCONF server can see messages sent over WebSocket here.
}
}