using custom authentication in Batch Processor

Hi all,

Is there a way to intercept the batch processor start-up and get the username & password provided in the batch processor configuration for the purpose of performing custom authentication (not using the built-in Servoy security)?

We are using the new Enhanced Security and a custom login form to handle this for the Smart and Web client but there does not appear to be a way to achieve the same for the Batch Processor (specifying the username and password as part of the Batch Processor Start-up arguments although technically possible is not desirable because the password will be stored in plain text).

Thanks in advance for your help!

Hi Rossen,

There is no access to that.

You can run a batch processor without user/password, it runs inside the server so this is secure already and can only be controlled by the servoy administrator.

If you need to run the batch processor with some user id for tracking or for security checks, you can define a login solution for the batch processor and pass info in the batch processor arguments.
These are available as arguments in the onsolutionopen method of the login solution, you can use this to call security.authenticate().

Rob