@ -102,14 +103,14 @@ public class SpringSecurityLdapTemplateITests extends AbstractLdapIntegrationTes
@@ -102,14 +103,14 @@ public class SpringSecurityLdapTemplateITests extends AbstractLdapIntegrationTes
@ -119,14 +120,14 @@ public class SpringSecurityLdapTemplateITests extends AbstractLdapIntegrationTes
@@ -119,14 +120,14 @@ public class SpringSecurityLdapTemplateITests extends AbstractLdapIntegrationTes
@ -136,7 +137,7 @@ public class SpringSecurityLdapTemplateITests extends AbstractLdapIntegrationTes
@@ -136,7 +137,7 @@ public class SpringSecurityLdapTemplateITests extends AbstractLdapIntegrationTes
@ -147,7 +148,7 @@ public class SpringSecurityLdapTemplateITests extends AbstractLdapIntegrationTes
@@ -147,7 +148,7 @@ public class SpringSecurityLdapTemplateITests extends AbstractLdapIntegrationTes
@ -155,11 +156,11 @@ public class SpringSecurityLdapTemplateITests extends AbstractLdapIntegrationTes
@@ -155,11 +156,11 @@ public class SpringSecurityLdapTemplateITests extends AbstractLdapIntegrationTes
@ -104,13 +104,13 @@ public class NestedLdapAuthoritiesPopulatorTests extends AbstractLdapIntegration
@@ -104,13 +104,13 @@ public class NestedLdapAuthoritiesPopulatorTests extends AbstractLdapIntegration
@ -124,7 +124,7 @@ public class NestedLdapAuthoritiesPopulatorTests extends AbstractLdapIntegration
@@ -124,7 +124,7 @@ public class NestedLdapAuthoritiesPopulatorTests extends AbstractLdapIntegration
@ -153,12 +153,12 @@ public class SpringSecurityLdapTemplate extends LdapTemplate {
@@ -153,12 +153,12 @@ public class SpringSecurityLdapTemplate extends LdapTemplate {
@ -178,7 +178,7 @@ public class SpringSecurityLdapTemplate extends LdapTemplate {
@@ -178,7 +178,7 @@ public class SpringSecurityLdapTemplate extends LdapTemplate {
@ -190,12 +190,12 @@ public class SpringSecurityLdapTemplate extends LdapTemplate {
@@ -190,12 +190,12 @@ public class SpringSecurityLdapTemplate extends LdapTemplate {
@ -210,7 +210,7 @@ public class SpringSecurityLdapTemplate extends LdapTemplate {
@@ -210,7 +210,7 @@ public class SpringSecurityLdapTemplate extends LdapTemplate {
@ -246,7 +246,7 @@ public class SpringSecurityLdapTemplate extends LdapTemplate {
@@ -246,7 +246,7 @@ public class SpringSecurityLdapTemplate extends LdapTemplate {
logger.debug("No attribute value found for '"+attributeName+"'");
@ -265,7 +265,7 @@ public class SpringSecurityLdapTemplate extends LdapTemplate {
@@ -265,7 +265,7 @@ public class SpringSecurityLdapTemplate extends LdapTemplate {
if(role==null)thrownewNullPointerException("role can not be null");
this.role=role;
this.dn=dn;
@ -61,7 +63,7 @@ public class LdapAuthority implements GrantedAuthority {
@@ -61,7 +63,7 @@ public class LdapAuthority implements GrantedAuthority {
*
*@returntheLDAPattributes,mapcanbenull
*/
publicMap<String,String[]>getAttributes(){
publicMap<String,List<String>>getAttributes(){
returnattributes;
}
@ -80,13 +82,13 @@ public class LdapAuthority implements GrantedAuthority {
@@ -80,13 +82,13 @@ public class LdapAuthority implements GrantedAuthority {
*@paramnametheattributename
*@returnaStringarray,nevernullbutmaybezerolength
*/
publicString[]getAttributeValues(Stringname){
String[]result=null;
publicList<String>getAttributeValues(Stringname){
List<String>result=null;
if(attributes!=null){
result=attributes.get(name);
}
if(result==null){
result=newString[0];
result=Collections.emptyList();
}
returnresult;
}
@ -98,11 +100,11 @@ public class LdapAuthority implements GrantedAuthority {
@@ -98,11 +100,11 @@ public class LdapAuthority implements GrantedAuthority {
@ -185,7 +182,7 @@ public class NestedLdapAuthoritiesPopulator extends DefaultLdapAuthoritiesPopula
@@ -185,7 +182,7 @@ public class NestedLdapAuthoritiesPopulator extends DefaultLdapAuthoritiesPopula
@ -195,12 +192,14 @@ public class NestedLdapAuthoritiesPopulator extends DefaultLdapAuthoritiesPopula
@@ -195,12 +192,14 @@ public class NestedLdapAuthoritiesPopulator extends DefaultLdapAuthoritiesPopula