cjstehno / ersatz

🤖 A simulated HTTP server for testing client code with configurable responses.
https://cjstehno.github.io/ersatz
Apache License 2.0
47 stars 5 forks source link

Move authentication support into core #32

Closed cjstehno closed 7 years ago

cjstehno commented 7 years ago

The BASIC and DIGEST authentication support should be converted to config properties rather than "features"

Add something like:

def server = new ErsatzServer({
    basicAuthentication true
    digestAuthentication true
})