View study in iOviyam without login

120 views
Skip to first unread message

Ramón Retamar

unread,
Mar 22, 2019, 1:12:56 AM3/22/19
to dcm...@googlegroups.com
Hi.
I search for a modification for iOviyam (viewer for mobile phones) for access to individual study-series without need login, like this:

http://mypacs:8080/iOviyam2/viewer.html?studyUID=1.3.51.0.7.13609687586.10863.63299.44520.27225.34149.23683

This modification work fine for Oviyam, but i try to modivy iOviyam for similar feature. Any idea ?

Ramón


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.23683

The url http://mypacs:8080/oviyam2/ don't work more, now you need use this url for traditional login:

http://mypacs:8080/oviyam2/index2.html

Best regards, Ramon


 

Jon Ander Zuccaro

unread,
Mar 22, 2019, 1:40:27 PM3/22/19
to dcm4che
Being able to launch a particular study is not related to the auth constraint, if it was implemented it should work with the constraints in place just asking you for the password.

I don't believe that iOviyam, unlike oviyam, has this mechanism for launching a study directly implemented, what you are asking for won't work regardless of the authentication constraints. I could be wrong though.

You'll need to ask the team behind iOviyam to implemented this feature or do it yourself. Not sure if you could do it via javascript or you'll need access to the Servlets code.
Reply all
Reply to author
Forward
0 new messages