Remove warnings from defaultSpringSecurityContextSource

This commit is contained in:
Rob Winch 2013-09-13 15:54:21 -07:00
parent b4cbcee7f0
commit d9c9cd7f84

View File

@ -68,7 +68,7 @@ public class DefaultSpringSecurityContextSource extends LdapContextSource {
setPooled(true);
setAuthenticationStrategy(new SimpleDirContextAuthenticationStrategy() {
@Override
@SuppressWarnings("unchecked")
@SuppressWarnings("rawtypes")
public void setupEnvironment(Hashtable env, String dn, String password) {
super.setupEnvironment(env, dn, password);
// Remove the pooling flag unless we are authenticating as the 'manager' user.