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 » Redirecting Failed Login Attempts

Post new topic  Reply to topic
 Redirecting Failed Login Attempts « View previous topic :: View next topic » 
Author Message
Camikiller
PostPosted: Wed Dec 01, 2004 2:11 pm    Post subject: Redirecting Failed Login Attempts Reply with quote

Newbie

Joined: 05 Mar 2004
Posts: 3

Hi,

I'm currently working with WebClient in a webapp using MQ Workflow. When i log in with an invalid account the webclient shows an error page, telling me:

Mensaje de la API de MQSeries Workflow

Lo sentimos, ha ocurrido un error con su peticion, por favor pongase en contacto con el administrador.
Descripcion del error: FMC00512E Logon denied


The questions are:

* How can i redirect the response to a custom ERROR page for bad logins?
* Exists a variable in the request, that tells me about bad login? Can i detect it with a servlet filter?

Thanks & Regards
Back to top
View user's profile Send private message
Ratan
PostPosted: Wed Dec 01, 2004 2:55 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Quote:
How can i redirect the response to a custom ERROR page for bad logins?

Change ViewError.jsp

Quote:
Exists a variable in the request, that tells me about bad login? Can i detect it with a servlet filter?


Customize the login command response method.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
sac
PostPosted: Mon Dec 06, 2004 11:07 pm    Post subject: Reply with quote

Apprentice

Joined: 10 Feb 2003
Posts: 44

Another alternative i feel we can use is to extend the JSPViewer class to create our own CustomViewer class. In the CustomViewer class we can overide the the errorResponse method to our custom implementation that we need. The customised implmentation of errorResponse method can redirect you to the required error page.

Need to edit the WebClient.properties file to register the CustomViewer class for the Webclient environment.

Similary we can do for the login method (as suggested by Ratan). To define CustomCommandHandler and override the loginResponse method.
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 » Redirecting Failed Login Attempts
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.