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 16:09:35 GMT

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

ASF subversion and git services commented on QPID-6132:
-------------------------------------------------------

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

QPID-6132: [Java Broker] Fix defect introduced by r1629664 (validateChange was not validating
the to be state).

> 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
(v6.3.4#6332)

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


Mime
View raw message