SEC-1550: Additional signature change (in LdapUserDetailsManager.removeAuthorities())

This commit is contained in:
Luke Taylor 2010-11-08 15:14:30 +00:00
parent 6b691f6fc0
commit 4b6a2168c7
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ public class LdapUserDetailsManager implements UserDetailsManager {
modifyAuthorities(userDn, authorities, DirContext.ADD_ATTRIBUTE);
}
protected void removeAuthorities(DistinguishedName userDn, List<GrantedAuthority> authorities) {
protected void removeAuthorities(DistinguishedName userDn, Collection<? extends GrantedAuthority> authorities) {
modifyAuthorities(userDn, authorities, DirContext.REMOVE_ATTRIBUTE);
}