Remove warnings from defaultSpringSecurityContextSource

This commit is contained in:
Rob Winch 2013-09-13 15:54:21 -07:00
parent b4cbcee7f0
commit d9c9cd7f84
1 changed files with 3 additions and 3 deletions

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.
@ -83,7 +83,7 @@ public class DefaultSpringSecurityContextSource extends LdapContextSource {
/**
* Create and initialize an instance which will connect of the LDAP Spring Security
* Context Source. It will connect to any of the provided LDAP server URLs.
*
*
* @param urls
* A list of string values which are LDAP server URLs. An example would be
* <code>ldap://ldap.company.com:389</code>. LDAPS URLs (SSL-secured) may be used as well,
@ -101,7 +101,7 @@ public class DefaultSpringSecurityContextSource extends LdapContextSource {
* Builds a Spring LDAP-compliant Provider URL string, i.e. a space-separated list of LDAP servers
* with their base DNs. As the base DN must be identical for all servers, it needs to be supplied
* only once.
*
*
* @param urls
* A list of string values which are LDAP server URLs. An example would be
* <pre>ldap://ldap.company.com:389</pre>. LDAPS URLs may be used as well,