Author |
Message
|
jogomez |
Posted: Wed Jan 18, 2006 11:06 am Post subject: Authentication Exit |
|
|
Newbie
Joined: 29 Jul 2004 Posts: 6 Location: Bogota - Colombia
|
Hello:
I have a Workflow server with the following configuration:
1. An instance for the tests environment called FMC - with its own database FMCDB – FMCBDB.
2. An instance for the production environment called FMC1 - with its own database FMCDB1 – FMCBDB1.
The requirement is to handle the authentication of the Workflow Server against a LDAP Server.
Therefore, I am created the Authentication.java service and it was included in the CLASPATH environment variable of the Workflow Server.
The questions are the following ones:
1. It´s possible to have two exits of authentication for a same Workflow server?, the previous thing because the instance of tests is due to connect to a LDAP Server of tests, and the production instance must connect to a production LDAP server.
2. It is possible to identify in the class com.ibm.workflow.java.Authentication.java from as instance of administration server is invoked (FMC or FMC1), using the Hashtable exitParam of the method autentÃcate of the same class ?.
Thanks! |
|
Back to top |
|
 |
vennela |
Posted: Wed Jan 18, 2006 11:40 am Post subject: Re: Authentication Exit |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
jogomez wrote: |
1. It´s possible to have two exits of authentication for a same Workflow server?, the previous thing because the instance of tests is due to connect to a LDAP Server of tests, and the production instance must connect to a production LDAP server. ! |
Actually, you have two configurations one for each server.
So, yes, you can have two authentication exits, one for each configuration (server). |
|
Back to top |
|
 |
jogomez |
Posted: Wed Jan 18, 2006 12:04 pm Post subject: Re: Authentication Exit |
|
|
Newbie
Joined: 29 Jul 2004 Posts: 6 Location: Bogota - Colombia
|
Hi vennela:
Sorry, you can explain to me, how do you do it ?, I'm using the following command to form the authentication exit for the production instance :
fmczchk -c inst:m,RTAuthenticationExitTypeServer,JAVA -y FMC1
Thanks !!
vennela wrote: |
jogomez wrote: |
1. It´s possible to have two exits of authentication for a same Workflow server?, the previous thing because the instance of tests is due to connect to a LDAP Server of tests, and the production instance must connect to a production LDAP server. ! |
Actually, you have two configurations one for each server.
So, yes, you can have two authentication exits, one for each configuration (server). |
|
|
Back to top |
|
 |
jmac |
Posted: Wed Jan 18, 2006 12:46 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Simply use:
fmczchk -c inst:m,RTAuthenticationExitTypeServer,JAVA -y FMC
for your test system _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
jogomez |
Posted: Wed Jan 18, 2006 1:03 pm Post subject: |
|
|
Newbie
Joined: 29 Jul 2004 Posts: 6 Location: Bogota - Colombia
|
Hello jmac:
Yes, The problem is that both instances (production and tests) would be with same exit of authentication. This generates that Workflow always is authenticated against only a LDAP Server
Thanks !!
jmac wrote: |
Simply use:
fmczchk -c inst:m,RTAuthenticationExitTypeServer,JAVA -y FMC
for your test system |
|
|
Back to top |
|
 |
vennela |
Posted: Wed Jan 18, 2006 1:57 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
You need to have seperate program (authentication exit)for each environment. |
|
Back to top |
|
 |
jogomez |
Posted: Thu Jan 19, 2006 8:06 am Post subject: |
|
|
Newbie
Joined: 29 Jul 2004 Posts: 6 Location: Bogota - Colombia
|
Hi vennela :
how do you do so that the instance of production of Workflow takes a service that is called different from Authentication.java?
Thanks !!
vennela wrote: |
You need to have seperate program (authentication exit)for each environment. |
|
|
Back to top |
|
 |
jmac |
Posted: Thu Jan 19, 2006 8:21 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
jogomez wrote: |
how do you do so that the instance of production of Workflow takes a service that is called different from Authentication.java? |
If I understand your question correctly, I would say that the answer is you just have different jars in the classpath. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|