mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
06.51.2013 889d24a8fa5dd6d5ff64f641504c33a98185aa2d
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, March 6, 2013 16:51 +0100
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, March 6, 2013 16:51 +0100
commit889d24a8fa5dd6d5ff64f641504c33a98185aa2d
tree 8476d7e199e672c7eb32c35db550b4f629ae52b8 tree | zip | gz
parent 990c9f58e0e277fb0086b57eb3a6ff74cfb6cddf view | diff
OPENDJ-655 Message about authentication failures should contain identification of the user for easier analysis.

What a convoluted code!! It is using a label and a block to implement a goto in Java. yuck!

LocalBackendBindOperation.java:
In processLocalBind(), extracted method processBind().
In the newly extracted method processBind(), converted the break stmts into return stmts + moved the switch stmt inside the try stmt (instead of the try/catch stmt in the switch stmt) + then removed useless if statements and break statements from the switch stmt.
1 files modified
203 ■■■■■ changed files
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendBindOperation.java 203 ●●●●● diff | view | raw | blame | history