Middleware that deals with protection of resources. Supports roles and works transparently with all login vectors.