qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6132) SimpleLDAP produces NPE at authentication time if providerUrl is null.
Date Mon, 06 Oct 2014 14:02:34 GMT

    [ https://issues.apache.org/jira/browse/QPID-6132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14160308#comment-14160308

ASF subversion and git services commented on QPID-6132:

Commit 1629664 from [~k-wall] in branch 'qpid/trunk'
[ https://svn.apache.org/r1629664 ]

QPID-6132: [Java Broker] Mark SimpleLDAP attributes providerUrl, searchFilter, searchContext
as mandatory.


* 'ping' the Directory on object creation/change (rationale: discover config errors early,
rather than awaiting the first auth)
* Reinstate the LDAP context factory class default.

> SimpleLDAP produces NPE at authentication time if providerUrl is null.
> ----------------------------------------------------------------------
>                 Key: QPID-6132
>                 URL: https://issues.apache.org/jira/browse/QPID-6132
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Keith Wall
>             Fix For: 0.31
> Currently the Java Broker permits the creation of an LDAP auth provider without a providerUrl.
 This causes a NPE as soon as soon as it attempts an authentication.
> Since it is not legal for the auth provider to be absent (nor searchContext/searchFilter).
 The server side should enforce the this by marking these attributes as mandatory.  Also it
makes sense to ping the LDAP server on creation and on change, in order to minimise the risk
of a configuration error.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message