Basic Authorization A SecurityConstrainst  can be added to a HandlerContext  to provide basic authentication.

Constraint users and roles are looked up in named instances of UserRealm  that are added to the HttpServer .

This mechanism is integrated with web application mechanisms.

Worked example will be here soon, but until that time look at the examples in etc/demo.xml


Return to JettyConfiguration.