多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You are creating a Windows Communication Foundation (WCF) service that accepts claims-based tokens. You need to ensure that the service can use claims from trading partners even though there are variations on naming for the same elements.Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)()

  • A、Register a custom Service Authorization Manager that implements Check Access. In this method, use System.Convert.ChangeType to transform the incoming claim set to a WindowsClaimSet type.
  • B、Apply a PrincipalPermission attribute on the operation with the required claims listed in the Roles property.
  • C、Within the operation, verify the presence of the required claims in the current AuthorizationContext.
  • D、Register an AuthorizationPolicy that maps external claims to an internal ClaimSet.
正确答案:C,D
答案解析:
进入题库查看解析

微信扫一扫手机做题