Hi
On 14/01/14 10:54, blacar wrote:
Hello,

How can i setup a different annotation for checking authorization with
SecureAnnotationsInterceptor?

By default it expects "javax.annotation.security.RolesAllowed" but since it
is not part of Java SE i am not able to use it. However i've read that i
could use a different annotation "... it checks RolesAllowed annotations by
default but one can provide the annotation class name used to specify the
roles."

Use an 'annotationClassName' property

Cheers, Sergey

How can this be done?

Thanks in advance,

RBC



--
View this message in context: 
http://cxf.547215.n5.nabble.com/SecureAnnotationsInterceptor-using-non-default-annotation-tp5738528.html
Sent from the cxf-user mailing list archive at Nabble.com.


Reply via email to