Currently I'm developing an REST webservice for an PACS viewer (medical images). This webservice needs to have encrypted/obfuscated parameters to ensure users cant fuzz with the parameters to get data from other patients.
In an Wicket panel im setting an Session attribute:
wicketSession.setAttribute("study", studyInstanceUID);
I want to access this attribute in the Jersey webservice, but the session doesn't contain any attributes in my jersey webservice. It seems like it is not injected or retrieved? Instead of that it creates a new? session with the current SessionID sent from the client.
I've created an filter and mapper for the jersey webservice:
<filter-mapping>
<filter-name>WicketSessionFilter</filter-name>
<url-pattern>/pacsviewer/*</url-pattern>
</filter-mapping>
But this doesn't seem to make any difference? I think I'm doing something wrong with the injection or state of the webservice?