SEC-1098: Unprocessed Continuation in DefaultLdapAuthoritiesPopulator.getGroupMembershipRoles #1348

Closed
spring-issuemaster opened this Issue Feb 4, 2009 · 1 comment

1 participant

@spring-issuemaster

John E Green (Migrated from SEC-1098) said:

Caused by: org.springframework.ldap.PartialResultException: Unprocessed Continuation Reference(s); nested exception is javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name ’’

at org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForSingleAttributeValues(SpringSecurityLdapTemplate.java:170)
at org.springframework.security.ldap.populator.DefaultLdapAuthoritiesPopulator.getGroupMembershipRoles(DefaultLdapAuthoritiesPopulator.java:206)
at org.springframework.security.ldap.populator.DefaultLdapAuthoritiesPopulator.getGrantedAuthorities(DefaultLdapAuthoritiesPopulator.java:179)
at org.springframework.security.providers.ldap.LdapAuthenticationProvider.loadUserAuthorities(LdapAuthenticationProvider.java:243)
at org.springframework.security.providers.ldap.LdapAuthenticationProvider.authenticate(LdapAuthenticationProvider.java:231)
… 22 more

My origional plan to fix this was to extend and set
ldapTemplate.setIgnorePartialResultException(true) in the constructor, but ldapTemplate is private.

Suggest opening this up as Protected and making trivial extension.

@spring-issuemaster

Luke Taylor said:

I’ve added the property to DefaultLdapAuthoritiesPopulator so you can set it directly on the bean.

@spring-issuemaster spring-issuemaster added this to the 3.0.0 M1 milestone Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment