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 » Forms based authentication using the WebClient

Post new topic  Reply to topic
 Forms based authentication using the WebClient « View previous topic :: View next topic » 
Author Message
ALococo
PostPosted: Mon Sep 20, 2004 11:55 am    Post subject: Forms based authentication using the WebClient Reply with quote

Newbie

Joined: 08 Sep 2003
Posts: 6

Has anyone used J2EE forms-based authentication using Workflow's WebClient? If so, how do you set this up? I know the logon page for the J2EE forms-based authentication needs to have a username input field called "j_username" and a password input field called "j_password" inside a form with an action of "j_security_check". The WebClient needs these fields to be called something entirely different. Am I thinking about this correctly? Should I not be trying to use forms-based authentication in the WebClient? If not, how can I protect my custom jsps or popups?
Back to top
View user's profile Send private message
texan
PostPosted: Mon Sep 20, 2004 8:14 pm    Post subject: Reply with quote

Acolyte

Joined: 25 Feb 2004
Posts: 74

What exactly are you requirements? Do you want to validate user id & password against workflow database or you want to use some kind of LDAP? If your planning to do later, then you have to enable authentication exit on workflow server.
Back to top
View user's profile Send private message
ALococo
PostPosted: Tue Sep 21, 2004 5:03 am    Post subject: Reply with quote

Newbie

Joined: 08 Sep 2003
Posts: 6

Thanks for your response, but you're addressing a different issue. I just need to know if forms based authentication is possible using the WebClient and if so, how do you set it up.
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Sep 21, 2004 6:00 am    Post subject: Reply with quote

Jedi Knight

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

Alocco:
Forgive my ignorance here but what is forms based authentication. I am not a J2EE guy so educate us on what it is and we can tell you whether that is possible or not.

BUT from the first impression of what you have described, I think the answer is NO
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CHF
PostPosted: Tue Sep 21, 2004 7:09 am    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

Alocco:
My explanation here is not related to forms based authentication. I had like to share how we dealt with WebClient authentication. (you probably already aware of this). I am not a J2EE guy too

1) Install and configure SiteMinder (you could use a different authentication service) on the web server that hosts WebClient application.
2) Configure SiteMinder's Policy Server to protect this WebClient application.

After you setup SiteMinder, when an user tries to login to WebClient, SiteMinder begins the authentication process. A pop up window is displayed and user enters in extra info required for authentication. And then SiteMinder determines whether this user has access to this WebClient application. If the authorization is successful, then the user will be granted access to the application.
Once the user gets a session with Workflow, I beleive its a trusted environment
_________________
CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Ratan
PostPosted: Tue Sep 21, 2004 9:10 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

I think you can used form based authentication, for controlling acces to your web resources. I am not an expert here but think it can be done. The minimum you have to do is write your own command Handler for Logon. Go through the Webclient customization chapter in WF Programming Guide.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
ALococo
PostPosted: Tue Sep 21, 2004 9:21 am    Post subject: Reply with quote

Newbie

Joined: 08 Sep 2003
Posts: 6

Instead of explaining form-based authentication, let me explain what I'm trying to do. Basically, I want to protect all of my pages for this web application. So, if I have a popup window that has no workflow references on it, I do not want to allow a user to type in the URL for this popup/JSP and be able to view it.
Back to top
View user's profile Send private message
texan
PostPosted: Tue Sep 21, 2004 1:00 pm    Post subject: Reply with quote

Acolyte

Joined: 25 Feb 2004
Posts: 74

If you want to protect your resources in Websphere, you have to enable security in WAS admin console. If you enable security then, you have to sepecify the user base location (either local OS or LDAP or custom registry). It is my understanding that: if you do n't enable security, then you cannot protect resources.

In your case, what I would suggest is: check the session in every jsp and if do n't exist forward the request to login page. You can put this in some common JSP and include it in all JSPS.
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 » Forms based authentication using the WebClient
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.