SEC-991: Any class that implements interface LdapUserDetails will cause a "deprecated" compiler warning #1244

Closed
spring-issuemaster opened this Issue Sep 29, 2008 · 2 comments

1 participant

@spring-issuemaster

Jürgen Failenschmid (Migrated from SEC-991) said:

Interface org.springframework.security.userdetails.ldap.LdapUserDetails specifies method getAttributes() as deprecated, and there is no way to avoid the compiler deprecation warning, even if this method is not used anywhere in custom code.

Example:

public class PasswordPolicyUserDetailsImpl extends LdapUserDetailsImpl {…}

causes:

warning: [deprecation] getAttributes() in org.springframework.security.userdetails.ldap.LdapUserDetails has been deprecated

@spring-issuemaster

Luke Taylor said:

The method will be removed in the next major version.

@spring-issuemaster

Luke Taylor said:

I’ve removed the method from the trunk code.

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