Question 132


5.3.2 Question

Multiple Choice

WIF enables you to create a custom token. To be able to use the token, you must create a custom token handler by overriding which of the following?

  • A. SecurityToken
  • B. SecurityTokenHandler
  • C. SWTToken
  • D. Saml2SecurityTokenHandler

Answer:

B
Explanation
A. Incorrect: SecurityToken is the .NET Framework class that identifies the token.
B. Correct: SecurityTokenHandler is the appropriate class to override for creating a custom token handler.
C. Incorrect: SWTToken is a type of common token.
D. Incorrect: Saml2SecurityTokenHandler is a specific handler for a specific type of token.