It mostly depends on what plugins you want to use; here's a tutorial on using acts_as_authenticated as a system wide generator:
http://www.nullsense.net/2006/5/31/installing-acts_as_authenticated-as-a-system-wide-generator
You could probably use the same basic principles with any "generator-ish" plugin.
--Jeremy