Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2657

Add option to deep copy the authenticated subject sets

XMLWordPrintable

      The copy of the Subject made by the JaasSecurityService is just a shallow copy of the various subject sets. This is fine for immutable objects, but if there are mutable objects that are destroyed when the cache is flushed and the login module executes this can have side effects on other threads. The only way this can be avoided is to make a deep copy using clone for objects that implement Cloneable and override the Object.clone method to correctly implement a deep copy. We should add such a deep copy option.

              anil.saldhana Anil Saldanha (Inactive)
              starksm64 Scott Stark (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: