[ 
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.

Also:

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to