Predispatch for service to deny service execution

Use this forum to request new features or suggest modifications to existing features

Predispatch for service to deny service execution

Postby nickla » Wed Aug 08, 2012 11:31 am

Predispatch for service to deny service execution.

This is needed for authentication purposes, for example.
nickla
 
Posts: 52
Joined: Wed Jul 11, 2012 4:19 pm
Location: Russia

Re: Predispatch for service to deny service execution

Postby qxorm » Wed Aug 08, 2012 12:04 pm

Could you give an example please ?
qxorm
Site Admin
 
Posts: 476
Joined: Mon Apr 12, 2010 7:45 am

Re: Predispatch for service to deny service execution

Postby qxorm » Tue Dec 11, 2012 1:24 pm

Done, you can test it with the following BETA version :
http://www.qxorm.com/version/QxOrm_1.2.5_BETA_04.zip

I added 2 methods in qx::IxService interface :
* onBeforeProcess()
* onAfterProcess()

Now, you can create your own service base class, and override those methods to do your own checks...
qxorm
Site Admin
 
Posts: 476
Joined: Mon Apr 12, 2010 7:45 am


Return to QxOrm - Feature request

Who is online

Users browsing this forum: No registered users and 1 guest

cron