Create a principal
Create a principal with a password
Get all registered principals
Retrieve a principal by its id from the database
Retrieve a principal by its name from the database
Retrieve a principal by its openid
Save a principal back to the database