Search Interview Questions | ![]() ![]() Click here and help us by providing the answer. ![]() Click Correct / Improve and please let us know. |
|
| ||||
Spring - Interview Questions and Answers for 'Interceptor' - 4 question(s) found - Order By Newest | ||||
| ||||
Ans. Authentication / Authorization URL forwarding Auditing / Logging Localization | ||||
![]() | ||||
![]() ![]() ![]() | ||||
| ||||
Ans. Spring Interceptor are Spring beans and hence they can inject other beans and can be used with other Spring frameworks concepts like AOP. | ||||
![]() | ||||
![]() ![]() ![]() | ||||
| ||||
Ans. It is used for intercepting the request. It's primary use is to implement security policy. All or specific request types can be intercepted and hence forwarded to authentication / authorization module so as to facilitate authorized requests to application. | ||||
![]() | ||||
![]() ![]() ![]() | ||||
| ||||
Ans. Yes, But with interceptor it will remove the body from the request and then we will have to explicitly add the attributes to the session to forward it to the handler. | ||||
![]() | ||||
![]() ![]() ![]() | ||||