// aap.afterPropertiesSet();
// allAuthProviders.add(aap);
// }
//remember me
RememberMeAuthenticationProvider rap = new RememberMeAuthenticationProvider();
rap.setKey(config.getRememberMeService().getKey());
rap.afterPropertiesSet();
allAuthProviders.add(rap);
setProviders(allAuthProviders);
this.securityConfig = new SecurityManagerConfig(config);