Password policy enforcement for Java.