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

jvergara
08.03.2009 953a5f95f82af133dc8c758641bf9f5f521493b7
refs
author jvergara <jvergara@localhost>
Wednesday, April 8, 2009 12:03 +0200
committer jvergara <jvergara@localhost>
Wednesday, April 8, 2009 12:03 +0200
commit953a5f95f82af133dc8c758641bf9f5f521493b7
tree febd3c8fa857a8fc98932bef768e7031814d8a4a tree | zip | gz
parent b55640dc6b7f932d86c0cceb0d8711f9eda11cd8 view | diff
Fix for issue 3686 (makeldif does not parse redirect to file based attribute)

The fix for the issue consists basically in two parts.

1. Update the parser in the class TemplateFile to handle correctly the attributes referring to an URL (like usercertificate:< file:///mycertificate) and base64 attributes (usercertificate:: <base64 value>).

2. Update the class TemplateEntry to get the LDIF representation of the entry. The interfaces in Branch, LDIFWriter, MakeLDIFInputStream and EntryWriter have also been updated to handle TemplateEntry.
9 files modified
479 ■■■■ changed files
opends/src/server/org/opends/server/tools/makeldif/Branch.java 4 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/makeldif/EntryWriter.java 6 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/makeldif/MakeLDIF.java 5 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/makeldif/MakeLDIFInputStream.java 13 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/makeldif/Template.java 10 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/makeldif/TemplateEntry.java 256 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/makeldif/TemplateFile.java 26 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/makeldif/TemplateLine.java 83 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/LDIFWriter.java 76 ●●●●● diff | view | raw | blame | history