Previously a single Authenticator plugin was defined solely responsible
for authn. This change adds an AuthenticationManager which can stack
multiple Authenticator plugins. The AuthenticationManager will attempt
each plugin until either one plugin succeeds or all fail. In the case
all fail the last plugins response is used.
Other updates:
The configuration format for plugins is now a list of objects instead of an object itself.
If no authentication plugins are provided the default 'deny all' implementation is used.
The format for --authentication-plugin is now MODULE:key=value,...
Previously a single
Authenticator
plugin was defined solely responsible for authn. This change adds anAuthenticationManager
which can stack multipleAuthenticator
plugins. TheAuthenticationManager
will attempt each plugin until either one plugin succeeds or all fail. In the case all fail the last plugins response is used.Other updates:
--authentication-plugin
is nowMODULE:key=value,...
Resolves #33.