From basic secure web application, authentification is not set in CDI context or EJB Context when we through websocket. From Servlet it's ok, but in Socket none. from object session/client in method annotated @OnOpen, @OnMessage, it's ok, userPrincipal is correctly set. Maybe I do something wrong, I have to use maybe special scope ? How to pass auth context to cdi bean injected in websocket
|