# using custom authentication in Batch Processor

**URL:** <https://forum.servoy.com/t/using-custom-authentication-in-batch-processor/13293>\
**Category:** Classic Servoy\
**Created:** [December 9, 2010, 12:59am UTC](https://forum.servoy.com/t/using-custom-authentication-in-batch-processor/13293 "2010-12-09T00:59:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rossent](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rossent](https://forum.servoy.com/u/rossent)\
**Post date:** [December 9, 2010, 12:59am UTC](https://forum.servoy.com/t/using-custom-authentication-in-batch-processor/13293/1 "2010-12-09T00:59:58Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [December 10, 2010, 10:17am UTC](https://forum.servoy.com/t/using-custom-authentication-in-batch-processor/13293/2 "2010-12-10T10:17:16Z")

</div>

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
