Hallo, I used Jetty for a "simple" reverse proxy. I used a Filter that looks for every request, if there is a "forward url" attribute present in the current session.
If there is no such attribute, the user is redirected to a login page. If the login has been successful, a "forward url" attribute with a value that depends on the login credential is added to the session. Example: forward url for user1: http://10.20.30.2:8080/ forward url for user2: http://10.20.30.1:8080/ If the attribute is present, a subclass of AsyncProxyServlet is used to handle the request. If takes the forward url value and the request URI and builds a rewrite target URL. e.g. request: https://192.168.1.1:80/foo.html rewritten target for user1: http://10.20.30.2:8080/foo.html rewritten target for user1: http://10.20.30.1:8080/foo.html So, the reverse proxy fetch the content depend on the login the from different hosts. This seems to be working as expected. But it seems to fail for WebSockets. I don't know how to start and how to fix that. Is this something to configure? Do I need to overwrite some methods? Best regards, Markus _______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
