Oviyam2 no-login study link, like Oviyam?

2,998 views
Skip to first unread message

Andrew Crosby

unread,
Jul 15, 2014, 8:45:22 PM7/15/14
to dcm...@googlegroups.com
I would like to launch a study directly without going through dcm4chee authentication, I can do this in Oviyam, but not Oviyam2

This works: http://localhost:8080/oviyam/oviyam?studyUID=<...>
This requires log in: http://localhost:8080/oviyam2/viewer.html?studyUID=<...>

Is there a configuration change I can make to turn off authentication to allow this?

Thanks,
Andrew

Prakash Jayaraman

unread,
Jul 16, 2014, 6:26:13 AM7/16/14
to dcm...@googlegroups.com
Try excluding security constraints for viewer.html in web.xml file and rebuild the oviyam2.war file. I believe this should work.


--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at http://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

Andrew Crosby

unread,
Aug 24, 2014, 12:04:25 AM8/24/14
to dcm...@googlegroups.com
In WEB-INF\web.xml I edited the security-constraint - the only url-pattern I left in was the following (index.html was renamed to index2.html):
<url-pattern>/index2.html</url-pattern>

Direct URL launch works without login, and this still prevents login to browse all studies.

Thanks!

Devishree.V

unread,
Aug 25, 2014, 12:42:11 AM8/25/14
to dcm...@googlegroups.com

Hi,
    Excluding authentication might be suitable for integrating Oviyam2 with any other application like EMR. But while using Oviyam2 as a stand alone application, dcm4chee server authentication is must for several security reasons.
   
    Still if security is not an issue, you can remove all the security constraints in web.xml to skip authentication phase.

Andrew Crosby

unread,
Aug 25, 2014, 1:00:40 AM8/25/14
to dcm...@googlegroups.com
Thanks for the reply. Yes, in this case security is not an issue.

ttkrpink

unread,
Oct 10, 2014, 1:11:52 PM10/10/14
to dcm...@googlegroups.com

I tried the constraint like the following, but the webpage gave me 404 error. I packed my war file with "jar cvf" command. Its that war problem or the constraint problem?

    <security-constraint>
       
<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>./index.html</url-pattern>
           
<http-method>GET</http-method>
           
<http-method>POST</http-method>
       
</web-resource-collection>
       
<auth-constraint>
           
<role-name>*</role-name>
       
</auth-constraint>


<!--        <auth-constraint>
            <role-name>WebUser</role-name>
        </auth-constraint> -->

   
</security-constraint>

Devishree.V

unread,
Oct 13, 2014, 12:26:58 AM10/13/14
to dcm...@googlegroups.com

 Kindly change the <url-pattern>./index.html</url-pattern> to <url-pattern>/index.html</url-pattern>

Jocimar Azevedo

unread,
Jan 13, 2016, 2:32:49 PM1/13/16
to dcm4che
 Staff would have some for me to follow and remove this security, or someone has this oviyam2.war file already edited?
Thanks!

            Jocimar.

Titmit

unread,
May 28, 2016, 12:11:25 AM5/28/16
to dcm4che
Dear Andrew,
Can you show me the the directory which include WEB-INF\web.xml
Because i see some like that. 

server\default\deploy\jmx-console.war\WEB-INF\web.xml

server\default\deploy\http-invoker.sar\invoker.war\WEB-INF.xml\web.xml

server\default\deploy\jboss-web.deployer\ROOT.war\WEB-INF\web.xml

\server\default\deploy\management\console-mgr.sar\web-console.war\WEB-INF\web.xml

\server\default\deploy\jbossws.sar\jbossws-context.war\WEB-INF\web.xml

Tks so much !

Devishree Kalaiselvi

unread,
May 28, 2016, 12:15:29 AM5/28/16
to dcm...@googlegroups.com
Hi,
   None of these belongs to Oviyam2. It will be inside /server/default/tmp/deploy/Oviyam2's tmp directory. But note that changes in web.xml needs the war file to be updated or rebuild. 

Infopid Infopidsl

unread,
Mar 15, 2017, 8:20:22 AM3/15/17
to dcm4che
Hello, how can I modify this file WEB-INF\web.xml and update to oviyam2 configuration?

El diumenge, 24 agost de 2014 6:04:25 UTC+2, Andrew Crosby va escriure:

Ramón Retamar

unread,
Jul 23, 2018, 6:15:23 PM7/23/18
to dcm4che

Udara

unread,
Apr 11, 2019, 4:48:12 AM4/11/19
to dcm4che
Hi Guys,

I was also looking for this requirement and finally archived it; Follow these steps

HIS -Oviyam integration manual

Steps:

1.       Install Oviyam2 for normal login

a.       Install original ‘oviyam2.war’ file on /opt/dcm4chee/server/default/deploy/ (here after referred OviyamPATH)

b.       Restart the DCM4CHEE

c.       Login oviyam2

d.       Configure PACS server with correct server IP and remove all other entries.

                                                               i.      Logical name of the pacs would ‘UDPACS’

e.       Test smooth running through inquiring the patient details

f.        Userid & Password : admin

2.       Place another oviyam.war for HIS integration.

a.       Copy above configured ‘OviyamPATH/oviyam2.war’ and place as ‘oviyam3.war’.

b.       Extract ‘oviyam3.war’

c.       Rename the index.html to index2.html

d.       Edit .oviyam3/web.inf/web.xml


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

e.       Come to the root of ‘oviyam3’ folder and select all

f.        Compress >> oviyam3.war

g.       Place newly made ‘oviyam3.war’ also in OviyamPATH

3.       restart dcm4chee

4.       Direct access:

a.       <OviyamIP>:8080/oviyam2/

5.       HIS Access:

a.       http://<oviyamIP>:8080/oviyam3/viewer.html?patientID=<?php echo $gen_mrn;?>&serverName=UDPACS

                                                               i.      ‘serverName’ – ‘N’ capital

                                                             ii.      Use logical name of OviyamPACS which has created “UDPACS”

                                                           iii.      Test with known patient details who has been taken xray images.

6.       Done

7.       Enjoy

Derry Saja

unread,
Jun 6, 2024, 10:25:46 PMJun 6
to dcm4che
Mr. Udara could i ask for file Oviyam that already edited?

Best Regard,

Reply all
Reply to author
Forward
0 new messages