[ 
https://issues.apache.org/jira/browse/DIRAPI-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lécharny closed DIRAPI-494.
------------------------------------

> Only consider a bind as successful when the server returns SUCCESS
> ------------------------------------------------------------------
>
>                 Key: DIRAPI-494
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-494
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 2.1.8
>            Reporter: Emmanuel Lécharny
>            Priority: Major
>             Fix For: 2.1.9
>
>
> The _void bind()_ helpers used _ResultCodeEnum.processResponse()_ to check the
> bind result, which does not throw for *REFERRAL*, *SASL_BIND_IN_PROGRESS*,
> *PARTIAL_RESULTS*, *CANCELED* or *COMPARE_TRUE/FALSE*. 
> A server that does not hold the bind *DN* may answer a simple bind with a 
> referral without checking the credentials, so an application authenticating 
> users with
> _try \{ connection.bind( dn, password ); ... \}_ accepted any password for
> such a *DN*, although the connection was not authenticated.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to