Hi.
This mod work fine for access to study using studyUID value without need login:
1) Rename index.html to index2.html into oviyam.war ,for deny access to all studies.
2) Edit the web.xml file into oviyam2.war file and change this section:
<web-resource-collection>
<web-resource-name>dispatcher</web-resource-name>
<description>Only allows users with the role WebAdmin to access the Archive Web Administration pages</description>
<url-pattern>*.jsp</url-pattern>
<url-pattern>*.html</url-pattern>
<url-pattern>*.do</url-pattern>
<url-pattern>/oviyam</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
For this:
<web-resource-collection>
<web-resource-name>dispatcher</web-resource-name>
<description>Only allows users with the role WebAdmin to access the Archive Web Administration pages</description>
<url-pattern>/index2.html</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
With this modification, you can view a study without need login, for example:
http://mypacs:8080/oviyam2/viewer.html?studyUID=1.3.51.0.7.13609687586.10863.63299.44520.27225.34149.23683The url
http://mypacs:8080/oviyam2/ don't work more, now you need use this url for traditional login:
http://mypacs:8080/oviyam2/index2.htmlBest regards, Ramon