Spring Security
  1. Spring Security
  2. SEC-1417

Refactor AspectJSecurityInterceptor to remove callback

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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 Taylor added a comment -

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

        Show
        Luke Taylor added a comment - This is not currently feasible due to the fact that ProceedingJoinPoint has a "throws Throwable" clause.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: