Browse Source

Parameter renamed.

Luke Taylor 18 năm trước cách đây
mục cha
commit
794795712d

+ 2 - 2
core/src/main/java/org/springframework/security/providers/ldap/LdapAuthoritiesPopulator.java

@@ -38,11 +38,11 @@ public interface LdapAuthoritiesPopulator {
     /**
      * Get the list of authorities for the user.
      *
-     * @param user the context object which was returned by the LDAP authenticator.
+     * @param userData the context object which was returned by the LDAP authenticator.
      *
      * @return the granted authorities for the given user.
      *
      * @throws LdapDataAccessException if there is a problem accessing the directory.
      */
-    GrantedAuthority[] getGrantedAuthorities(DirContextOperations user, String username) throws LdapDataAccessException;
+    GrantedAuthority[] getGrantedAuthorities(DirContextOperations userData, String username);
 }