Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

Comments

Projects
None yet
1 participant

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

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