final LdapAuthorityMapper ldapAuthorityMapper = new LdapAuthorityMapper(ldapSecurityProperties.getRoleMappings()); ldapAuthorityMapper.setRolePrefix(rolePrefix); ldapConfigurer.authoritiesMapper(ldapAuthorityMapper);
final LdapAuthorityMapper ldapAuthorityMapper = new LdapAuthorityMapper(ldapSecurityProperties.getRoleMappings()); ldapAuthorityMapper.setRolePrefix(rolePrefix); ldapConfigurer.authoritiesMapper(ldapAuthorityMapper);