Преглед на файлове

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

Luke Taylor преди 15 години
родител
ревизия
4b6a2168c7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapUserDetailsManager.java

+ 1 - 1
ldap/src/main/java/org/springframework/security/ldap/userdetails/LdapUserDetailsManager.java

@@ -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);
     }