silverstripe-framework/_config
Sam Minnee e226b67d06 Refactoring of authenticators
Further down the line, I'm only returning the `Member` on the doLogin, so it's possible for the Handler or Extending Handler to move to a second step.
Also cleaned up some minor typos I ran in to. Nothing major.

This solution works and is manually tested for now. Supports multiple login forms that end up in the correct handler. I haven't gotten past the handler yet, as I've yet to refactor my Yubiauth implementation.

FIX: Corrections to the multi-login-form support.

Importantly, the system provide a URL-space for each handler, e.g.
“Security/login/default” and “Security/login/other”. This is much
cleaner than identifying the active authenticator by a get parameter,
and means that the tabbed interface is only needed on the very first view.

Note that you can test this without a module simply by loading the
default authenticator twice:

SilverStripe\Security\Security:
  authenticators:
    default: SilverStripe\Security\MemberAuthenticator\Authenticator
    other: SilverStripe\Security\MemberAuthenticator\Authenticator

FIX: Refactor delegateToHandler / delegateToHandlers to have less
duplicated code.
2017-06-07 21:11:52 +12:00
..
asset.yml API Split SilverStripe\Assets into separate module 2017-03-21 11:12:51 +13:00
cache.yml API Apply default logger to all caches 2017-03-15 15:31:24 +13:00
config.yml API Namespace all classes 2016-09-08 10:23:17 +12:00
cookie.yml API Namespace all classes 2016-09-08 10:23:17 +12:00
database.yml API Namespace all classes 2016-09-08 10:23:17 +12:00
dev.yml API Namespace all classes 2016-09-08 10:23:17 +12:00
email.yml API Upgrade code to use updated config 2017-02-27 16:54:01 +13:00
encryptors.yml API Apply Framework\Security namespace 2016-07-07 11:32:28 +12:00
html.yml Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
i18n.yml API Replace ManifestCache with ManifestCacheFactory 2017-03-21 09:43:48 +13:00
logging.yml API Rename services to match FQN of interface / classes 2017-05-16 14:15:49 +12:00
mimetypes.yml API Namespace all classes 2016-09-08 10:23:17 +12:00
model.yml API Split SilverStripe\Assets into separate module 2017-03-21 11:12:51 +13:00
requestprocessors.yml API Split out SilverStripe\ORM\Versioned into new module 2017-03-27 11:03:39 +13:00
routes.yml Move admin routes to admin module 2017-03-14 10:22:45 +13:00
security.yml Refactoring of authenticators 2017-06-07 21:11:52 +12:00