Brad Tumy, over at Tumy Tech has written an interesting post around implementing a custom password policy in OpenIDM:
OpenIDM 3.1 comes with several password policies enabled by default. There are often times when you will need to implement additional policies or even modify or extend existing policies. This is a quick guide that will walk you through the basics of implementing your own password policies.