|Re: How To - Servlet call Souct Server Service [message #1228666 is a reply to message #1227757]
||Tue, 07 January 2014 19:04
| Jeremie Bresson
Registered: October 2011
I think you need to run in a Scout ServerJob (org.eclipse.scout.rt.server.ServerJob).|
Have a look at my answer here: Re: Custom security filter calling a scout service
Maybe you can extend: org.eclipse.scout.rt.server.ServiceTunnelServlet
With Scout 3.10 M4 we have introduced a Diagnostic Servlet. Having a look at the implementation of org.eclipse.scout.rt.server.admin.diagnostic.DiagnosticServlet might give you some information to start.
I think the subject is called with: Subject.getSubject(AccessController.getContext()) and then the logic is packed in DiagnosticServiceJob extending ServerJob.
This domain is absolutely new to me... I might be wrong. Do not hesitate to continue the discussion.
[Updated on: Tue, 07 January 2014 19:05]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02057 seconds