The attribute name is auth

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 1/01/2010, at 1:12 PM, zhiyongcui wrote:


There is not authentication attribute on the service definition of
getRelatedParties.

David E Jones-4 wrote:


That's not correct. You need to look at the authentication attribute on
the service definition. ALL services have an optional userLogin
attribute/parameter, ALL of them, but it is added by the service engine
and not specified in the service definition.

-David


On Dec 31, 2009, at 2:43 AM, BJ Freeman wrote:

https://localhost:8443/webtools/control/ServiceList?sel_service_name=getRelatedParties
you can use the url and see that userlogin is optional or not
or look at the service definition file
        component://party/script/org/ofbiz/party/party/PartyServices.xml
in this case.

zhiyongcui sent the following on 12/30/2009 11:18 PM:
How can I knows that service requires authentication.

David E Jones-4 wrote:

Requiring a permission (authorization) is different from requiring
authentication.

-David


On Dec 31, 2009, at 12:57 AM, zhiyongcui wrote:

But  there isn't any permission check in the service definition.

David E Jones-4 wrote:

You need to pass the userLogin or security credentials from the
calling
service to the service it is calling.

-David


On Dec 30, 2009, at 11:21 PM, zhiyongcui wrote:

When I access a service called getRelatedParties from another
service
definition , I got a message as below:
ServiceDispatcher.java:532:ERROR] Error in Service
[getRelatedParties]:
You
must be logged in to complete the [Get Parties Related to a Party]
process.
But I can't see any permission check in the getRelatedParties
definition.
Anybody could help me?
--
View this message in context:
http://n4.nabble.com/Access-service-error-tp991277p991277.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


--
View this message in context:
http://n4.nabble.com/Access-service-error-tp991277p991298.html
Sent from the OFBiz - User mailing list archive at Nabble.com.








--
View this message in context: 
http://n4.nabble.com/Access-service-error-tp991277p991668.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to