I've solved the problem. The answer above gave an idea and I've known about this thing.
Actually, injecting into constructor is not RECOMMENDED but NECESSARY. When I injected LoginProcessor
into LoginController
's constructor instead of method's parameters, everything works as it should.