using custom authentication in Batch Processor

The forum to discuss the Headless version of Servoy. Web, Java and Servlet development questions can all be posted here.

using custom authentication in Batch Processor

Postby rossent » Thu Dec 09, 2010 2:59 am

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!
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: using custom authentication in Batch Processor

Postby rgansevles » Fri Dec 10, 2010 12:17 pm

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
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL


Return to Servoy Headless Client

Who is online

Users browsing this forum: No registered users and 1 guest

cron