It would be great to include username-based filtering, so that a password is not allowed to contain the user's name. Microsoft's built in filter already does this. The details of how it handles it are here: https://msdn.microsoft.com/en-us/library/windows/desktop/ms722458(v=vs.85).aspx