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

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


None yet
1 participant

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

Interface 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.


public class PasswordPolicyUserDetailsImpl extends LdapUserDetailsImpl {…}


warning: [deprecation] getAttributes() in has been deprecated

Luke Taylor said:

The method will be removed in the next major version.

Luke Taylor said:

I’ve removed the method from the trunk code.

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