Spring Security
  1. Spring Security
  2. SEC-1631

Optimize map in DefaultAuthenticationEventPublisher and fail fast when event classes are not found

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: 3.1.0.M1, 3.0.5
    • Fix Version/s: 3.1.0.M2
    • Component/s: Core
    • Labels:
      None

      Description

      The classnames for the events are stored and used to obtain the class and constructor on each invocation in order to perform a reflective invocation. Instead the constructors themselves could be stored in the internal map. Missing classes and invalid constructors can also then be detected on startup and reported.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: