If you modify any part of the federation configuration at the producer/Identity Provider or the consumer/Service Provider, flush the Federation Web Services cache for the changes to appear in the trace logs.
Note: Notice a brief delay from when the changes are made and when Federation Web Services receives the information.
To flush the cache
To make the task of collecting tracing data simpler, a series of preconfigured templates are installed with the Policy Server and the Web Agent Option Pack. You can use these templates instead of creating your own trace configuration file to collect the data that gets written to a trace log.
The following templates are available for Federation Web Services:
Template |
Tracing Messages Collected |
---|---|
WebAgentTrace.conf |
Default template. Collects data that you specify. |
FWS_SSOTrace.conf |
Collects single sign-on messages |
FWS_SLOTrace.conf |
Collects single logout messages |
FWS_IPDTrace.conf |
Collects Identity Provider Discovery Profile messages |
All these templates include the Fed_Client component and subcomponents for the specific data being tracked. Look at each template to see the exact contents. The templates are located in web_agent_home/config.
To use a template for trace logging
Note: Do not edit the template directly.
For descriptions of each logging parameter, see the Web Agent Configuration Guide.
Note: Web Agents on IIS 6.0 and Apache 2.0 servers do not support dynamic configuration of log parameters that are set locally in the Agent configuration file. Consequently, when you modify a parameter, the change takes effect only after the Agent is restarted. If you configure the log parameters in an Agent configuration object, these log settings can be stored and updated dynamically.
The following text is an excerpt from the FWS_SLOTrace.conf template. Most of the file contains comments and instructions on how to use the file, the command syntax, and the available subcomponents for the Fed_Client component.
The excerpt shows the component, Fed_Client and the subcomponents (Single_Logout and Configuration) that are monitored. The excerpt also shows the specific data fields that indicate the required contents of each message (Date, Time, Pid, Tid, TransactionId, SrcFile, Function, Message).
components: Fed_Client/Single_Logout, Fed_Client/Configuration data: Date, Time, Pid, Tid, TransactionID, SrcFile, Function, Message
The following templates are available for trace logging related to the Identity Provider and the Service Provider, such as assertion generation or SAML authentication.
Template |
Tracing Messages Collected |
---|---|
samlidp_trace.template |
Collects messages for Identity Provider activity |
samlsp_trace.template |
Collects messages for Service Provider activity |
Look at each template to see the exact contents. The templates are located in policy_server_home/config/profiler_templates.
To use the template
Note: Verify that the log file uses a unique name.
The following text is the samlsp_trace.template file.
components: Server/Policy_Server_General, IsProtected/Resource_Protection, Login_Logout/Authentication, Login_Logout/Policy_Evaluation, Login_Logout/Active_Expression, Login_Logout/Session_Management, IsAuthorized/Policy_Evaluation, JavaAPI, Fed_Server/Auth_Scheme, Fed_Server/Configuration data: Date, Time, Tid, TransactionID, SrcFile, Function, Domain, Resource, Action, User, Message
For Federation Security Services, it includes the Fed_Server component along with the subcomponents Auth_Scheme and Configuration.
The data fields that indicate the required contents of each message are:
Date, Time, Tid, TransactionId, SrcFile, Function, Domain, Resource, Action User, and Message.
Copyright © 2012 CA.
All rights reserved.
|
|