Uploaded image for project: 'Spring Security'
  1. Spring Security
  2. SEC-1417

Refactor AspectJSecurityInterceptor to remove callback

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 3.1.0.M1
    • Component/s: Core
    • Labels:
      None

      Description

      Since the interceptor is used with an "around" advice, with current versions of AspectJ it should be possible to cast the JoinPoint to a ProceedingJoinPoint and call the proceed() method directly on it.

        Activity

        Hide
        luke Luke Taylor added a comment -

        This is not currently feasible due to the fact that ProceedingJoinPoint has a "throws Throwable" clause.

        Show
        luke Luke Taylor added a comment - This is not currently feasible due to the fact that ProceedingJoinPoint has a "throws Throwable" clause.
        Hide
        issuemaster Spring Issuemaster added a comment -
        Show
        issuemaster Spring Issuemaster added a comment - This issue has been migrated to https://github.com/spring-projects/spring-security/issues/1660

          People

          • Assignee:
            luke Luke Taylor
            Reporter:
            luke Luke Taylor
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development