janitza-mage opened a new pull request, #1582:
URL: https://github.com/apache/shiro/pull/1582

   GitHub issue #1548. Declare PrincipalCollection interface to be intended to 
be immutable; provide an immutable implementation including a builder class; 
deprecate the mutable implementation; use the immutable one in 
SimpleAuthenticationInfo for merging.
   
   Background: Merging AuthenticationInfo and the contained 
PrincipalCollections previously lead to one of the involved 
PrincipalCollections be selected by undefined means and being mutated, 
propagating the changes to other callers that did not expect such changes, 
including the authentication cache.
   
   [x] I hereby declare this contribution to be licenced under the [Apache 
License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to