Good morning,
does anyone here use jsf as external forms? How do you handle the authentication of your users?
I tried to handle it via wildfly container managed authentication but there appeared problems to set the user in camunda (see here: User does have 'CREATE' permission on resource 'ProcessInstance' - #8 by NickiMueller)
I need the following things:
- Own login page where I can check if my user is in a special database (not camunda database, access is realized via webservice)
- If login is successful, I want to see the camunda tasklist. I think I have to programmatically login to tasklist? How can I do that?
- The user should now be able to start a process which is realized with jsf external forms.
I hope someone has some ideas or examples.
Thanks a lot!
Nicole
Hi @NickiMueller,
If your are going to use tasklist app then no need to develop a custom login page. Simply try to implement a custom identity provider where authentication is done against your custom database.
Refer to the below URL
https://docs.camunda.org/manual/latest/user-guide/process-engine/identity-service/
“To provide a custom identity provider implementation, the following interfaces can be implemented:
org.camunda.bpm.engine.impl.identity.ReadOnlyIdentityProvider
org.camunda.bpm.engine.impl.identity.WritableIdentityProvider”
The above should solve your first 2 points.
For the last point I think servlet filter will do the job.
I will try to prepare a sample ASAP.
Edit: so sorry but if SSO is not enabled in your JSF application then, may be the preferred solution for your case is to use a custom JSF tasklist application.
1 Like
I will see if it helps, but a custom tasklist is very interesting for future!
Hi @hassang did you find a solution and could you create a sample. It is really important for me.Thanks a lot.
Nicole
Hi @NickiMueller,
Sorry for the late reply
But I have updated my previous answer with below text
Edit: so sorry but if SSO is not enabled in your JSF application then, may be the preferred solution for your case is to use a custom JSF tasklist application
In your case no SSO, which means the preferred solution is to use a custom JSF tasklist as suggested by @Ingo_Richtsmeier