Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Getting identity verifier error? Here is one way to work around it.
securityBindingElement.LocalClientSettings.IdentityVerifier = new CustomVerifier();
And Here is an example of how this custom verifier could be defined.
class CustomVerifier : IdentityVerifier
{
public CustomVerifier()
: base()
{
}
public override bool CheckAccess(EndpointIdentity identity, System.IdentityModel.Policy.AuthorizationContext authContext)
{
return true;
}
public override bool TryGetIdentity(EndpointAddress reference, out EndpointIdentity identity)
{
identity = reference.Identity;
return true;
}
}
A typical example you might need to do this is to set up a https channel with a certificate other than your machine cert.