Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Double signed actions - Confirm password to perform action

Created: 18 Oct 2011 | 5 comments
JamieDixon's picture
+1 1 Vote
Login to vote

I have a requirement where-by logged in users must supply their pasword before verifying a portion of a workflow.

The flow is:

  1. User clicks a link to accept a change request (This is a CAB voting stage)
  2. User is asked to enter password which acts as a double signature (Even though they're already logged in)
  3. If password matched login, user can proceed otherwise they canot participate in the CAB voting.

Is there a component already available to do this type of thing or will I need to come up with a new solution?

Thanks

 

 

Comments

Steven.Riley's picture
18
Oct
2011
0 Votes 0
Login to vote

I believe there are

I believe there are components under Active Directory that can do this. Have you looked there for a component? You need to add the Active Directory components through the component library..??

Steven.Riley's picture
18
Oct
2011
0 Votes 0
Login to vote

Talking to the PM he stated

Talking to the PM he stated that he has created an article for you and will send that link as soon as it is created on connect. Basically there is no simple way to achieve what you want - so he has documented an example process to acheive what you have requested. Stay tuned.

JamieDixon's picture
19
Oct
2011
0 Votes 0
Login to vote

Thanks for the article

Thanks for the article Jason.

It's a shame there isn't a simpler way to do a quick password check. I was hoping that a hash would be created when the user logs in that we could test against but alas, that doesn't seem to be so.

I'm considering writing a component to do this work for us rather than hacking together existing components.

Is there somewhere I can find documentation on writing a custom component? I'm a C# developer so I just need to know what interfaces to impliment (if any) and how to package the class library to work with Workflow.

Thanks for your time, it's very much appreciated.

Jamie

matzebru's picture
19
Oct
2011
0 Votes 0
Login to vote

Code (Script) Component

Jamie,

If you import the Scripting.dll library into your project, you will have a new component called the "Code (Script) Component" inside the Infrastructure | Code category of the Toolbox. You can use that component to insert VB.Net, JScript or C# code directly into your project. To import the Scripting.dll library into your project click 'Import Components', highlight the 'Scripting.dll' under the Workflow Designer Libraries tab and then click Add.

As far as the class library, you may be able to do that by creating an Integration Project\Library that uses the .NET Library Generator. I have not used that one myself in a project yet and have only looked at it briefly.

I haven't seen any documentation on using the .NET Library Generator or the Code (Script) Component but if you search these forums for 'Code (Script) Component' you can find a couple of examples that have used that component. I have used it in a couple of projects to obtain the Computer Name and IP address and one project to unlock and reset a user's AD password.

- Bruce

 *** If a forum post solves your problem, please flag it as a solution. If you like an article or forum post, vote it up. ***