Author |
Message
|
Mark |
Posted: Tue Jan 15, 2002 5:54 pm Post subject: |
|
|
Acolyte
Joined: 30 Dec 2001 Posts: 55
|
Hi All
I want to use Authentication Exit in Java Program. IBM has given a sample AuthExit
Java File (i.e. Authentication).
Problem is that this Java file implements to interface com.ibm.workflow.java.exit.AuthenticationConstants.
Problem is that it does not Exist.
Should I create it ( I did n't find all the method of this interface) ????
In method Logon3() we pass user credentials
as byte array. I didn't find any where what to specify and in what order there ???
Looking for help
[ This Message was edited by: Mark on 2002-03-28 14:42 ] |
|
Back to top |
|
 |
jmac |
Posted: Wed Jan 16, 2002 7:20 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
It exists, just not where you might look. It is in the jar fmcoutil. The jar is with thin client jar in the bin subdirectory of MQWF.
_________________
John McDonald
SYSCOM Inc.
IBM Certified Solutions Expert -
MQSeries Workflow
[ This Message was edited by: jmac on 2002-01-16 09:33 ] |
|
Back to top |
|
 |
Mark |
Posted: Wed Jan 16, 2002 9:49 am Post subject: |
|
|
Acolyte
Joined: 30 Dec 2001 Posts: 55
|
Thnx John.
I got the file.But when I call logon3(byte [] ) It gives Exception FMC NOT AUTHORIZED
I have done RTAuthunticationTypeServer Setting to Java.Pls tell me what should I do
now.
Rgds
Mark
[ This Message was edited by: Mark on 2002-01-16 12:57 ] |
|
Back to top |
|
 |
jmac |
Posted: Wed Jan 16, 2002 5:44 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Mark:
I need more info. What Version of MQWF?
Why Logon3 and not Logon4? I am assuming that you are using Java API.
Is your exit ever getting control?
Try writting something to a file in a static block so that we can be sure that your exit is getting control
_________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Mark |
Posted: Thu Jan 17, 2002 9:47 am Post subject: |
|
|
Acolyte
Joined: 30 Dec 2001 Posts: 55
|
My WorkFlow Version is 3.3
I have tried logon3() & Logon4() also.
No control does not reaches to Exit Class though I have made RTAuthenticationTypeServer setting As specified.
Rgds
Mark
[ This Message was edited by: Mark on 2002-01-17 09:55 ] |
|
Back to top |
|
 |
jmac |
Posted: Thu Jan 17, 2002 12:18 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Mark:
There are several gotchas here.
1) Has MQWF been brought down since your exit was installed. MQWF only checks for the exit at startup.
2) Do you have fmcoutil.jar in the path?
3) You must be certain that your exit is before fmchocli.jar in the Classpath, because for some unknown reason IBM has this class (Authenticate) in the fmchocli.jar.
_________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Mark |
Posted: Thu Jan 17, 2002 12:54 pm Post subject: |
|
|
Acolyte
Joined: 30 Dec 2001 Posts: 55
|
John Now I took care of all these points.
but still The Error is
API Return Code : 119
Error Message : FMC00119E Not authorized
1. When ever I modify the Exit ,I restart the
Mqwf Server
2.Yes fmcoutil.jar in my classpath.
3.I put fmcoutil.jar before fmcocli.jar
I checked the configuration from registry it
shows the RTAuthunticationTypeServer.
Pls suggest what should I do now.
[ This Message was edited by: mark on 2002-01-17 15:25 ] |
|
Back to top |
|
 |
jmac |
Posted: Thu Jan 17, 2002 4:44 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Mark:
In your note you do not indicate that you have YOUR Authenticate class in the CLASSPATH. It must be there or else the silly stub that IBM has in Their FMCHOCLI.JAR will get used.
_________________ John McDonald
RETIRED |
|
Back to top |
|
 |
anuppc |
Posted: Thu Sep 30, 2004 5:33 pm Post subject: Authentication Exit |
|
|
 Voyager
Joined: 22 Oct 2002 Posts: 93 Location: Montreal
|
Well i have the same error.. yes i have my authentication exit jar and fmcoutil.jar in the classpath.... i have restarted the server/my intel box.. tried all the obvious... logon 2 works... logon3 and logon4 (for the auth exit) does not work... it says FMC exception : Not Authorized.
im using MQWF 3.4 and MQ5.3
I have also tried using MQWF 3.4.4
Same result!
I 'm running the sample from IBM to check the authentication exit. Took it to another box having similar config and the same auth exit code works...
Any idea why it says : Not Authorized?
i see that Amit Talekar had similar prob b4...any inputs most welcome... tks _________________ BlowFish |
|
Back to top |
|
 |
vennela |
Posted: Fri Oct 01, 2004 6:46 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Have you run fmczchk?
What platform? |
|
Back to top |
|
 |
|