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

jvergara
09.26.2007 6934e8a81cf8999386eefab05de14808d837d8bc
refs
author jvergara <jvergara@localhost>
Tuesday, October 9, 2007 18:26 +0200
committer jvergara <jvergara@localhost>
Tuesday, October 9, 2007 18:26 +0200
commit6934e8a81cf8999386eefab05de14808d837d8bc
tree 8d126b8d6ad91266fbf41092216e011cdd38ae3b tree | zip | gz
parent 9c0a25c80402c879974b712c19e7ce8e8116f142 view | diff
Remove references to the classes ConfigConstants and CryptoManager in ADSContext.  The use of these classes in the code can lead to a blocking in the Java Web Start installer.  They have been moved to ADSContextHelper, which assumes that all the jars have been downloaded.

Appart from that the implementation of ADSContext.createAdministrationData and ADSContext.hasAdminData has been updated. The reason for this is that the code as it was assumed that the "cn=admin data" always existed. This might not be the case if the user removed it using dsconfig (or editing cn=config) or altered its contents using ldapmodify or there was an error during an initialization of the suffix. The setup, dsreplication and dsframework must be able to handle this situation and the code has been updated to do so.
2 files modified
443 ■■■■■ changed files
opendj-sdk/opends/src/ads/org/opends/admin/ads/ADSContext.java 205 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/ads/org/opends/admin/ads/ADSContextHelper.java 238 ●●●● diff | view | raw | blame | history