PdfPrep.com

What should you do?

You are creating a new authentication system that uses an HTTP header value.

The existing authentication system must continue to operate normally.

You need to implement the custom authentication.

What should you do? (Each correct answer presents a complete solution. Choose all that apply.)
A . Create a class derived from ActionResult and check for a valid HTTP header value in the ExecuteResult method. Change all actions to return this new class.
B . Create an HttpHandler to check for a valid HTTP header value in the ProcessRequest method.
C . Create an HttpModule and check for a valid HTTP header value in the AuthenticateRequest event.
D . Create a class derived from AuthorizeAttribute and check for a valid HTTP header value in the AuthorizeCore method. Change usages of the existing AuthorizeAttribute to use the new class.

Answer: C,D

Exit mobile version