
Originally Posted by
bill_bailey
Just to elaborate a little on my original question. Although I understand the benefit of placing the security on the business methods (i.e. enforcing the security in a central reusable location), I thought it might be possible to for example place an interceptor on the endpoint itself (e.g. based on a SOAP action) rather than on the business object methods. My thinking was that enforcing the security on the business methods would mean all the endpoint processing (e.g. parsing the XML, unmarshalling it, etc.) would still have to happen even when the request would eventually be rejected for security reasons. If the security check happened on the 'other side' of the endpoint this would not be the case. But I guess that would also mean less reuse of the security configuration if the same business methods were invoked from other places OR you would have to have security in both places.