You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Aaron Titus <at...@fwdco.com> on 2014/09/11 15:38:37 UTC
specifying individual operations
Hello, I am using CXF 2.7.6, and I am looking for a configuration-type
method to control which operations are accessible. This way I can build a
complete set, and then when it is deployed to a server where we only want
specific operations to be available, we can restrict the rest without
having to do a custom build. Is this possible?
Thanks in advance, Aaron.
Re: specifying individual operations
Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
On 11/09/14 14:38, Aaron Titus wrote:
> Hello, I am using CXF 2.7.6, and I am looking for a configuration-type
> method to control which operations are accessible. This way I can build a
> complete set, and then when it is deployed to a server where we only want
> specific operations to be available, we can restrict the rest without
> having to do a custom build. Is this possible?
>
org.apache.cxf.interceptor.security.SimpleAuthorizingInterceptor accepts
a map of method names and the roles as a property,
Cheers, Sergey
> Thanks in advance, Aaron.
>