List of usage examples for org.springframework.security.ldap.authentication NullLdapAuthoritiesPopulator NullLdapAuthoritiesPopulator
NullLdapAuthoritiesPopulator
From source file:org.springframework.security.ldap.authentication.LdapAuthenticationProvider.java
/** * Creates an instance with the supplied authenticator and a null authorities populator. * In this case, the authorities must be mapped from the user context. * * @param authenticator the authenticator strategy. *///ww w .j a v a 2s .c o m public LdapAuthenticationProvider(LdapAuthenticator authenticator) { this.setAuthenticator(authenticator); this.setAuthoritiesPopulator(new NullLdapAuthoritiesPopulator()); }