Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4155

Fault "object is not an instance of declaring class" is related to AOP/CGLIB

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.4, 2.5.2
    • 2.4.7
    • JAX-RS
    • None
    • Unknown

    Description

      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 :

      Known workaround : add declaration method getDateTime() to RestService

      Attachments

        1. cxf_bug.tar.gz
          2 kB
          Sergiusz Kierat

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            sergiusz.kierat Sergiusz Kierat
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: