Create random files with random content with Java  

By Ulrich Krause | 11/16/20 4:28 AM | Development - Notes / Domino | Added by Roberto Boccadoro

I was playing with DAOS in Domino 12 recently and needed a way to create thousands of test files with a given file size and random content. I did not want to use existing files with real data for my tests. There are several programs available for Linux and Windows. Google for it. But as a developer, I should be able to create my one tool. Here is some sample Java code that uses java.util.Random to create filnames and content in an easy way.

Update HTTPPassword item in names.nsf (backend)  

By Ulrich Krause | 10/26/20 3:29 AM | Development - Notes / Domino | Added by Roberto Boccadoro

Yesterday, we ran into an issue with the HTTP Password in the person record in names.nsf. The problem occured after we upgraded the customers Domino server from V 9.0.1 to V11.0.1FP1. The customer has some backend processes installed that let them delegate the process of register, update and delete users and groups to different departments. One part of the process is a piece of code that sets the HTTP password in the person record. The issue was that the password was stored in clear text after upgrading the server. I looked into the design and could spot the root of the issue.