ff1293486c5e276c25f0c2c040ffda78520249c5 |
|
18-Sep-2015 |
Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com> |
Changed AuthPasswordSyntax*.decodeAuthPassword() return type from StringBuilder[] to String[]
AuthPasswordSyntaxImpl.java, AuthPasswordSyntax.java:
Changed decodeAuthPassword() return type from StringBuilder[] to String[].
It is now inline with UserPasswordSyntax.decodeUserPassword(), which is what client code expects anyway. This dramatically simplifies client code.
*.java:
Deduplicated AuthPassword vs. UserPassword code paths by extracting methods that check the pwPolicyState.getAuthenticationPolicy().isAuthPasswordSyntax()) method and choose one code path or the other. |