| | | 1 | | // Licensed to the .NET Foundation under one or more agreements. |
| | | 2 | | // The .NET Foundation licenses this file to you under the MIT license. |
| | | 3 | | |
| | | 4 | | using System; |
| | | 5 | | using CoreWCF.IdentityModel.Policy; |
| | | 6 | | |
| | | 7 | | namespace CoreWCF.Runtime.Diagnostics |
| | | 8 | | { |
| | | 9 | | internal static class SecurityTraceRecordHelper |
| | | 10 | | { |
| | | 11 | | internal static void TraceIdentityDeterminationFailure(EndpointAddress epr, Type identityVerifier) |
| | | 12 | | { |
| | | 13 | | //if (DiagnosticUtility.ShouldTraceInformation) |
| | | 14 | | // TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityIdentityDeterminationFailure, SR |
| | 0 | 15 | | } |
| | | 16 | | |
| | | 17 | | internal static void TraceIdentityDeterminationSuccess(EndpointAddress epr, EndpointIdentity identity, Type iden |
| | | 18 | | { |
| | | 19 | | //if (DiagnosticUtility.ShouldTraceInformation) |
| | | 20 | | // TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityIdentityDeterminationSuccess, SR |
| | 0 | 21 | | } |
| | | 22 | | |
| | | 23 | | internal static void TraceIdentityVerificationFailure(EndpointIdentity identity, AuthorizationContext authContex |
| | | 24 | | { |
| | | 25 | | //if (DiagnosticUtility.ShouldTraceInformation) |
| | | 26 | | // TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SecurityIdentityVerificationFailure, SR. |
| | 0 | 27 | | } |
| | | 28 | | |
| | | 29 | | internal static void TraceExportChannelBindingEntry() |
| | | 30 | | { |
| | | 31 | | //if (DiagnosticUtility.ShouldTraceInformation) |
| | | 32 | | // TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.ExportSecurityChannelBindingEntry, SR.Fo |
| | 19 | 33 | | } |
| | | 34 | | } |
| | | 35 | | } |