HttpsInterceptor
class HttpsInterceptor implements InterceptorInterface (View source)
This security interceptor switches the current channel between HTTP and HTTPS protocol.
TODO this interceptor was never properly implemented. Either throw away or finish it ;)
Properties
protected bool | $useSSL |
Methods
__construct(Context $securityContext, AuthenticationManagerInterface $authenticationManager)
Constructor.
bool
invoke()
Redirects the current request to HTTP or HTTPS depending on $this->useSSL;
Details
__construct(Context $securityContext, AuthenticationManagerInterface $authenticationManager)
Constructor.
bool
invoke()
Redirects the current request to HTTP or HTTPS depending on $this->useSSL;