mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
d20ab50f9d
BUG Fix up test regressions FIX director references to request object API Move all middlewares to common namespace API Implement RequestHandlerMiddlewareAdapter ENHANCEMENT Improve IP address parsing Fix up PHPDoc / psr2 linting BUG Fix property parsing in TrustedProxyMiddleware BUG Fix Director::is_https()
41 lines
1.5 KiB
YAML
41 lines
1.5 KiB
YAML
---
|
|
Name: coreauthentication
|
|
---
|
|
SilverStripe\Core\Injector\Injector:
|
|
SilverStripe\Security\MemberAuthenticator\SessionAuthenticationHandler:
|
|
properties:
|
|
SessionVariable: loggedInAs
|
|
SilverStripe\Security\MemberAuthenticator\CookieAuthenticationHandler:
|
|
properties:
|
|
TokenCookieName: alc_enc
|
|
DeviceCookieName: alc_device
|
|
CascadeInTo: %$SilverStripe\Security\MemberAuthenticator\SessionAuthenticationHandler
|
|
SilverStripe\Security\AuthenticationHandler:
|
|
class: SilverStripe\Security\RequestAuthenticationHandler
|
|
properties:
|
|
Handlers:
|
|
session: %$SilverStripe\Security\MemberAuthenticator\SessionAuthenticationHandler
|
|
alc: %$SilverStripe\Security\MemberAuthenticator\CookieAuthenticationHandler
|
|
---
|
|
Name: coresecurity
|
|
After:
|
|
- requestprocessors
|
|
---
|
|
SilverStripe\Core\Injector\Injector:
|
|
SilverStripe\Control\Director:
|
|
properties:
|
|
Middlewares:
|
|
AuthenticationMiddleware: %$SilverStripe\Security\AuthenticationMiddleware
|
|
SilverStripe\Security\AuthenticationMiddleware:
|
|
properties:
|
|
AuthenticationHandler: %$SilverStripe\Security\AuthenticationHandler
|
|
SilverStripe\Security\Security:
|
|
properties:
|
|
Authenticators:
|
|
default: %$SilverStripe\Security\MemberAuthenticator\MemberAuthenticator
|
|
SilverStripe\Security\CMSSecurity:
|
|
properties:
|
|
Authenticators:
|
|
cms: %$SilverStripe\Security\MemberAuthenticator\CMSMemberAuthenticator
|
|
SilverStripe\Security\IdentityStore: %$SilverStripe\Security\AuthenticationHandler
|