WebSphere Commerce suite - Implementing some extra business logic in Logincmd

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Commerce suite > May 2006 > Implementing some extra business logic in Logincmd





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Implementing some extra business logic in Logincmd

2006-05-09, 7:19 am

Hi,
I am trying to use some extra logic in the login cmd.(Say for example we only want to allow users from a specific ip address to access a store.). I started extending one of the task commands VerifyCredentials. HOwever i am unable to set any properties thr
u the task command.Basically I am trying to pass a particular NVP thru this task command to the jsp view whenever this Ip checking fails.HOwever it appears that this NVP is never set.Can someone please suggest a way of achieving this ?

2006-05-10, 7:15 pm

Instead of extending task command, extend the ControllerCmd, perform your business logic, if success call super.performexecute or else put the response message in response properties and forward to error view

2006-05-11, 7:19 am

Some additional material

http://www-128.ibm.com/developerwor...al/khusial.html
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com