Create Custom Login form

  • 4 November 2015
  • 1 reply
  • 3 views

Badge +1

Hi,

 

We have a worfklow and SmartForms integration.

Forms trigger workflow and goes to different stages. At approval stage when approver (may be current logged in user) clicks on Approve button , the requirement is to verfiy that user's credentials again by poping up a form for entering username and password field. Also that form will show readonly informatiom about that user (user profile fields like designation,location etc.)

 

Looking at some post on the community I tried to use AD samrtObject where I am able to get information about user properties but I am stuck with password.

How I will validate the password entered by user. I mean validation mgith be against AD.

 

I tried following posts but not able to achieve above.

 

http://community.k2.com/t5/K2-blackpearl/Making-a-login-form/td-p/56037

http://community.k2.com/t5/K2-blackpearl/K2-Login-Form/m-p/80282#M23666

 

 


1 reply

Userlevel 5
Badge +16

Hi,

 

There is no way to check AD accounts passwords, not even in the AD it self.

in your case you need to create custom database for users logins and check the username and password against your custom DB or go with the tough way  and create custom control for smartforms to do that for you.

 

 

I suggest to:

 

Create your own table with users info (i.e. username, password..etc)

check the credentials entered by the user against this table

 

Reply