|
From: Tomas G. <to...@pr...> - 2004-06-09 08:35:13
|
> That's another scope and it can lead as well to the MVC framework to > be used because there are different types of errors. > If it's a validation error, generally the error page is the same as > the validated page inviting the user to modify the wrong entry. > This is tied to the MVC framework/validation system to be used. > Well, thats been on the todo-list for ages so...;) > > Admin preferences: Basically replace the hashtable that is serialized > in a blob with use java.util.Preferences that you can query nicely. There are many different preferences. Like AdminPreferences, Globalconfiguration, CertificateProfiles and EndEntityProfiles. They all work the same and extend the hashtable to give an interface that is easy to query and grasp (like AdminPreference.java). We made profiles exportable to xml, since thats what we really want. This was off-course not available in java 1.3 when we started with it, there are many new cool things in 1.4. If you change one, all must be changed. There is an upgrade issue if you want to change the HashMap into a Preferences, so it must really be worth the work. The upgrade should preferably happen silently in the background as is done today with the hashmap. Later upgrades of the profiles must be done transparently. If you want to make this change, I recommend starting with a small design document describing the change and all the issues relating to it. Cheers, Tomas |