当我从web.config调用X509CertificateValidator时:
<serviceBehaviors>
<behavior name="MyServiceBehaviour">
[...]
<clientCertificate>
<authentication certificateValidationMode="Custom" customCertificateValidatorType="MyX509CertificateValidator, service" />
</clientCertificate>
[...]
</behavior>
</serviceBehaviors>
是否可以将任何参数/数据传递给MyX509CertificateValidator
类?
是否有可能找出调用MyServiceBehaviour
的行为(在本例中为MyX509CertificateValidator
)(如果你在web.config中有多个行为)?< / p>