PHP Class Neos\Flow\Security\Channel\HttpsInterceptor

Inheritance: implements Neos\Flow\Security\Authorization\InterceptorInterface
显示文件 Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$useSSL boolean

Public Methods

Method Description
__construct ( Context $securityContext, Neos\Flow\Security\Authentication\AuthenticationManagerInterface $authenticationManager, Neos\Flow\Log\SystemLoggerInterface $logger ) Constructor.
invoke ( ) : boolean Redirects the current request to HTTP or HTTPS depending on $this->useSSL;

Method Details

__construct() public method

Constructor.
public __construct ( Context $securityContext, Neos\Flow\Security\Authentication\AuthenticationManagerInterface $authenticationManager, Neos\Flow\Log\SystemLoggerInterface $logger )
$securityContext Neos\Flow\Security\Context The current security context
$authenticationManager Neos\Flow\Security\Authentication\AuthenticationManagerInterface The authentication Manager
$logger Neos\Flow\Log\SystemLoggerInterface A logger to log security relevant actions

invoke() public method

Redirects the current request to HTTP or HTTPS depending on $this->useSSL;
public invoke ( ) : boolean
return boolean TRUE if the security checks was passed

Property Details

$useSSL protected_oe property

protected bool $useSSL
return boolean