[ https://issues.apache.org/jira/browse/CXF-4155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergiusz Kierat updated CXF-4155: --------------------------------- Attachment: cxf_bug.tar.gz > Fault "object is not an instance of declaring class" is related to AOP/CGLIB > ---------------------------------------------------------------------------- > > Key: CXF-4155 > URL: https://issues.apache.org/jira/browse/CXF-4155 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 2.4, 2.5.2 > Reporter: Sergiusz Kierat > Fix For: 2.4.7 > > Attachments: cxf_bug.tar.gz > > > The attached app works when the annotation Secured is turned off, otherwise > fails. > In my opinion, there is the issue during proxying mechanism in Spring > Security. > Try it out : > * run : _mvn clean install jetty:run_ > * after running see : > ** http://localhost:8080/cxf/rest/?_wadl&_type=xml > ** http://localhost:8080/cxf/rest/name - PASS > ** http://localhost:8080/cxf/rest/dateTime - FAIL > Known workaround : add declaration method *getDateTime()* to _RestService_ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira