Hi Sergey,
thanks for the examples. I was not aware that there is a @Secured
annotation at all.
Do you know how it differs from the @Rolesallowed? They seem to allow
the same expressiveness.
As @Rolesallowed is a general JavaEE annotation I would prefer it. Is
that the right assumption?
Christian
Am 07.07.2013 20:20, schrieb Sergey Beryozkin:
Hi
On 05/07/13 20:02, inteloid wrote:
Hi, is there a place where I can find examples of integration with these
annotations? Or, what is needed to be configured to make them work?
We have a couple of test resources:
@Secured:
http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/security/SecureBookInterface.java
http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/resources/jaxrs_security/WEB-INF/
@RolesAllowed:
http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/security/SecureBookStoreNoInterface.java
http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/resources/jaxrs_security_no_annotations/WEB-INF/
Sergey
Thanks H.
--
View this message in context:
http://cxf.547215.n5.nabble.com/Secured-RolesAllowed-integration-tp5730361.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com