ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Howe <cjhowe76...@yahoo.com>
Subject Re: EntitySync must be logged in to complete the Update
Date Thu, 26 Oct 2006 09:28:23 GMT
updateEntitySyncRunning implements the service:
updateEntitySync which also has an auth="true" try
disabling that authorization as well.

--- tibor katelbach <oceatoon@gmail.com> wrote:

> Hi ofbizians
> 
> I'm working on an ajax information retreival for an
> EntitySync , I had to
> run the Service (EntitySyncRun) from an event
> instead of directly aSync.
> at that point because of an authorization excepetion
> I had to remove the
> auth="true" on it's declaration (Service
> EntitySyncRun), not quite
> problematic since the security verification is made
> on the controller before
> the launching event.
> 
> So now all is good to move forward but unfortunetly
> now
> - the flow enters the controller
> - passes security test and authentication
> - enter the EntitySyncEvent
> - launches the EntitySync Service (runSync)
>         - in this service EntityContext is
> initialised
>         - enters runPushStartRunning()
>                - throw EXCEPTION when minilang
> runSync("updateEntitySyncRunning" is attempted to be
> launched
> 
> first because of an authentication exception , so I
> remove the auth="true"
> and then a
>  [  ServiceDispatcher.java:407:ERROR] Service Error
> [updateEntitySyncRunning]: You must be logged in to
> complete the Update a
> EntitySync process.
> 
> I can't seem to find the source of this error
> (probably dynamically build or
> something) ???
> Also why multiple auth="true" seem to launch
> exceptions ? shouldn't they be
> validated by the first security check ?
> 
> any insight on this would gratelly be appreciated
> 
> Thanks
> Best Regards
> Tibor
> 


Mime
View raw message