![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | <serviceSecurityAudit> logs success but not failure I have the following element setup in my web config file: <serviceSecurityAudit suppressAuditFailure="false" auditLogLocation="Default" messageAuthenticationAuditLevel="SuccessOrFailure" serviceAuthorizationAuditLevel="SuccessOrFailure" /> and I get log entries for successful authorizations in the application event log, but nothing for failed attempts. Additionally, I do not get any entries for the authentication process. Has anyone else had problems with this? Is there something that needs to be done to enable success logging and authentication logging specifically? Do I need to handle failed attempts in a specific way (i.e. throw specific exception)? Here is the rest of my configuration for authentication and authorization: <services> <service name="WCFTestService.service1" behaviorConfiguration="service1Behavior"> <endpoint contract="WCFTestService.Iservice1" binding="wsHttpBinding"/> <endpoint contract="IMetadataExchange" binding="mexHttpBinding" address="mex" /> </service> </services> <behaviors> <serviceBehaviors> <behavior name="service1Behavior" > <serviceDebug includeExceptionDetailInFaults="true" /> <serviceMetadata httpGetEnabled="true" /> <serviceCredentials> <userNameAuthentication userNamePasswordValidationMode="Custom" customUserNamePasswordValidatorType="IHS.Core.Security.WCF.CoreUserNamePasswordValidator, IHS.Core.Security.WCF"/> <serviceCertificate findValue="localhost" storeLocation="LocalMachine" storeName="My" x509FindType="FindBySubjectName"/> </serviceCredentials> <serviceSecurityAudit suppressAuditFailure="false" auditLogLocation="Default" messageAuthenticationAuditLevel="SuccessOrFailure" serviceAuthorizationAuditLevel="SuccessOrFailure" /> <serviceAuthorization impersonateCallerForAllOperations="false" principalPermissionMode="Custom" roleProviderName="" serviceAuthorizationManagerType=""> <authorizationPolicies> <add policyType="IHS.Core.Security.WCF.AccessControlAuthorizationPolicy, IHS.Core.Security.WCF"/> </authorizationPolicies> </serviceAuthorization> </behavior> </serviceBehaviors> </behaviors> |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Logging Success or Failure of a script | VB Script | |||
| Success | Vista installation & setup | |||
| SUCCESS!!! | Vista installation & setup | |||
| subject windows Vista Event Logs access through WMI ( Applications and Services Logs) | Vista networking & sharing | |||
| windows Vista Event Logs access through WMI ( Applications and Services Logs) | Vista General | |||