Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-2276

Improve caching of mechanism factories when loaded from security Provider

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • HTTP
    • None

      When we use service loader discovery the mechanism factory gets cached so instances of the factory can maintain their own state. Where we use provider based discovery a new instance of the factory is created each time.

      Our HTTP Digest implementation uses a static reference to the NonceManager to compensate for this.

      We should look to make this consistent and ideally both discovery modes cache the factory.

              Unassigned Unassigned
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: