Author |
Message
|
drgincbia |
Posted: Tue Feb 03, 2004 4:26 pm Post subject: LDAP Authentication Exit |
|
|
Apprentice
Joined: 23 Dec 2003 Posts: 35 Location: Omaha NE
|
Can a LDAP Authentication Exit be used for validating users from a Runtime (vs Web) client? If so, where do I find the information on how to accomplish this? _________________ D. Grandia |
|
Back to top |
|
 |
jmac |
Posted: Tue Feb 03, 2004 5:07 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Im not sure If I understand... but if you are talking about the MQWF Authorization exit the answer is yes. Any time you do a logon with credentials (logon4 in Java) the Authentication exit will be used. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Ratan |
Posted: Tue Feb 03, 2004 5:22 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
You can find the info in Programming Guide. _________________ -Ratan |
|
Back to top |
|
 |
drgincbia |
Posted: Wed Feb 04, 2004 4:10 am Post subject: LDAP Authentication Exit |
|
|
Apprentice
Joined: 23 Dec 2003 Posts: 35 Location: Omaha NE
|
In order to use the Authentication Exit for the Web Client, a CommandHandler was written in Java, but activated using the WebClient.properties file and the RTAuthenticationExitTypeServer setting.
How/where do you call this exit from the out-of-the-box Runtime client? The RTAuthenticationExitTypeServer setting is done at the workflow administration server, but is there a comparable settings file to the WebClient.properties file that needs to be set also?
I'm obviously missing something when I look at the Programming Guide, because I am not seeing how the exit gets initiated and calls the exit in Runtime (vs WebClient). _________________ D. Grandia |
|
Back to top |
|
 |
jpmorales |
Posted: Wed Feb 04, 2004 4:23 am Post subject: |
|
|
 Novice
Joined: 13 Nov 2003 Posts: 21 Location: Bogotá, Colombia
|
As explained here you have to write the getCredentials method on a command handler that does not return null. _________________ "Entia non sund multiplicanda praeter necesitatem" |
|
Back to top |
|
 |
drgincbia |
Posted: Wed Feb 04, 2004 4:33 am Post subject: LDAP Authentication |
|
|
Apprentice
Joined: 23 Dec 2003 Posts: 35 Location: Omaha NE
|
There is still confusion here. We are already implementing the authentication exit as described for departments using the workflow Web Client. However, we have some old applications in Visual Basic that will be using the MQWorkflow API's (ActiveX Controls) and want to use LDAP Authentication for the Runtime fat client.
Is that possible? _________________ D. Grandia |
|
Back to top |
|
 |
jmac |
Posted: Wed Feb 04, 2004 6:45 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Yes, use LogonWithCredentials:
Code: |
long LogonWithCredentials ( VARIANT * userCredentials,
SessionMode sessionMode,
AbsenceIndicator absenceIndicator
BSTR userName ) |
As long as your exit is installed it will be called. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|