ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Tomcat Authentication for Workflow Web Client

Post new topic  Reply to topic
 Tomcat Authentication for Workflow Web Client « View previous topic :: View next topic » 
Author Message
PisgahMan
PostPosted: Mon Nov 29, 2004 7:34 am    Post subject: Tomcat Authentication for Workflow Web Client Reply with quote

Voyager

Joined: 27 Jul 2004
Posts: 93

I have Tomcat 4 running the Workflow Web Client on my local machine(Win 2000). I have given out the URL to a couple of co-workers so they can use the web client to check on workflow processes. This is ok is DEV, but in higher enviroments and esp Prod I do not want people hitting these enviroments by hitting my web site.

How can I turn on Auth. for either Tomcat or WF Web client so that anyone hitting that URL will have to supply a password?
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Nov 29, 2004 8:01 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Did you build your own web client or are you using the out of the box web client?
AFAIK, the Logon.jsp and RTC.html of the standard web client requies a userid and a password.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PisgahMan
PostPosted: Mon Nov 29, 2004 8:33 am    Post subject: Reply with quote

Voyager

Joined: 27 Jul 2004
Posts: 93

Out of the box web client. The people I gave out the URL to have the uid and pw required by the web client, I need another layer so when I log into production I can shut them out.
Back to top
View user's profile Send private message
Ratan
PostPosted: Mon Nov 29, 2004 12:41 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

What you are asking for is at the webserver layer. I remember doing it in IIS. You have to grant the acces depending on the subnet from which your users access the webclient.

Dont know how it is done in Tomcat.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
PisgahMan
PostPosted: Mon Nov 29, 2004 1:38 pm    Post subject: SOLVED Reply with quote

Voyager

Joined: 27 Jul 2004
Posts: 93

I figured it out. I added this in the \webapps\myproject\WEB-INF\web.xml. Actually it was already there, I just uncommented it and changed the role name.

<security-constraint>
<web-resource-collection>
<web-resource-name>Web Client</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>admin</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>IBM WebSphere MQ Workflow Web Client</realm-name>
</login-config>
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Tomcat Authentication for Workflow Web Client
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.