I cannot use your version of ldap feature/plugin in my shop because the referral property is not set. Due to this the following exception is throw:
Unprocessed Continuation Reference(s); nested exception is javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name ''
Expected Behavior
LDAP Authentication OK
Current Behavior
Exception:
Unprocessed Continuation Reference(s); nested exception is javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name ''
Possible Solution
In io.gravitee.rest.api.idp.ldap.authentication.LdapAuthenticationProvider create a property to allow the enabling and setup of referral in DefaultSpringSecurityContextSource creation.
For your evaluation, something like that:
if(environment.getProperty("context.referral.enabled")) then
contextSource.setReferral(environment.getProperty("context.referral.value"));
I cannot use your version of ldap feature/plugin in my shop because the referral property is not set. Due to this the following exception is throw:
Expected Behavior
LDAP Authentication OK
Current Behavior
Exception:
Possible Solution
In io.gravitee.rest.api.idp.ldap.authentication.LdapAuthenticationProvider create a property to allow the enabling and setup of referral in DefaultSpringSecurityContextSource creation.
For your evaluation, something like that: if(environment.getProperty("context.referral.enabled")) then contextSource.setReferral(environment.getProperty("context.referral.value"));
Steps to Reproduce (for bugs)
Set the following: security: providers:
Try to use LDAP feature/plugin from management-ui
Context
I have a custom version of your plugin setting the referral property to "follow".
Your Environment