I am trying to implement custom identityService to authorize a user. I just return true for all the users with any username and password. The thing is when I am trying to login then it is calling the default identity service, not the implemented one. Should to declare or register this class somewhere?
Hi Vivek,
you can set the IdentityService
on the ProcessConfigurationImpl#setIdentityService
.
With the help of the buildProcessEngine
you can create a new ProcessEngine
which uses your IdentityService
.
Note: This will use internal API which can change over time.
Best regards,
Chris