You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/10/30 17:19:00 UTC
[jira] [Work logged] (ARTEMIS-2535) Add option to ignore
PartialResultExceptions in LDAP searches
[ https://issues.apache.org/jira/browse/ARTEMIS-2535?focusedWorklogId=336311&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-336311 ]
ASF GitHub Bot logged work on ARTEMIS-2535:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 30/Oct/19 17:18
Start Date: 30/Oct/19 17:18
Worklog Time Spent: 10m
Work Description: SmithJosh commented on pull request #2879: ARTEMIS-2535 Add ignorePartialResultException option to LDAPLoginModule
URL: https://github.com/apache/activemq-artemis/pull/2879
Active Directory servers are unable to handle referrals automatically. This causes a PartialResultException to be thrown if a referral is encountered beneath the base search DN, even if `Context.REFERRAL` is set to `ignore`. This PR adds an option to ignore these exceptions, allowing login to proceed with the query results received before the exception was encountered.
This is the same solution used by Spring. See https://github.com/spring-projects/spring-ldap/blob/master/core/src/main/java/org/springframework/ldap/core/LdapTemplate.java#L379-L387
Issue: https://issues.apache.org/jira/browse/ARTEMIS-2535
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 336311)
Remaining Estimate: 0h
Time Spent: 10m
> Add option to ignore PartialResultExceptions in LDAP searches
> -------------------------------------------------------------
>
> Key: ARTEMIS-2535
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2535
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Broker
> Reporter: Josh Smith
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Active Directory doesn't handle referrals automatically, which causes a PartialResultException to be thrown whenever a referral is encountered beneath the search DN, even if Context.REFERRAL is set to `ignore` [1].
> SpringĀ [1], Karaf [2] and others have implemented workarounds for this in the form of an option to ignore these PartialResultExceptions. Add a similar option to the LDAPLoginModule so that referrals can be ignored when working with Active Directory.
> [1] [https://docs.spring.io/autorepo/docs/spring-ldap/current/apidocs/org/springframework/ldap/core/LdapTemplate.html]
> [2] https://github.com/apache/karaf/blob/master/manual/src/main/asciidoc/developer-guide/security-framework.adoc#ldaploginmodule]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)