ClaimsAuthorizationManager called on each service operation contract RRS feed

  • Question

  • Hello,

    I'm using custom ClaimsAuthorizationManager to implement custom authorization logic. I'm using ClaimsPrincipalPermission as well to call ClaimsAuthorizationManager. Everything works fine however ClaimsAuthorizationManager is called not only when I call ClaimsPrincipalPermission.CheckAccess(...), but also when my service operation contract is called. In this case authorizationContext.Resource is equal to name of my service (e.g. and authorizationContext.Action is equal to name of operation contract (e.g. Is it possible to tell WCF to call ClaimsAuthorizationManager.CheckAccess only when I call ClaimsPrincipalPermission.CheckAccess(...)?

    Thank you in advance,


    Thursday, February 14, 2013 2:27 PM

All replies

  • Hi, do you try override the CheckAccess method? Find more information

    Tuesday, February 19, 2013 6:04 AM