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

Jean-Noel Rouvignac
06.51.2013 2aa25e93e3ccf66f1afed1f5c191fae8da4209dc
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
commit2aa25e93e3ccf66f1afed1f5c191fae8da4209dc
tree 5046a0bff0083a3a05b9b1354917a2c164c7f1b2 tree | zip | gz
parent 4b02c5f2c1450b7d44022c6ea52260823ae39686 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
opendj-sdk/opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendBindOperation.java 203 ●●●●● diff | view | raw | blame | history