How to configure security realms to provide authentication and access control for web applications running in Jetty?

How to configure security realms to provide authentication and access control for web applications running in Jetty ?