SEC-1231: Authentication.getAuthorities should be of type Collection<GrantedAuthority> and not List<GrantedAuthority> #1479

spring-issuemaster opened this Issue Aug 31, 2009 · 0 comments


None yet

1 participant


Mike Wiesner (Migrated from SEC-1231) said:

Currently, the Authentication Interfaces uses a List for the Granted Authorities, but in most cases, we just wanted to know, if the user has a certain authority. Therefore a set would be better for this, but to leave the option open, that people can also use a List in their custom Authentication Providers, we could just use Collection in the Interface.

@spring-issuemaster spring-issuemaster added this to the 3.0.0 RC1 milestone Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment