Search This Blog

Tuesday, March 15, 2011

Analyzing Authorizations using the System Trace


To start tracing authorizations, proceed as follows:

1. Choose Tools -> Administration, Monitor -> Traces -> System trace.
2. Choose the trace component Authorization check and then Trace on. The system then automatically writes the trace to disk.
3. To restrict the system trace to your own sessions, choose Edit -> Filter -> General. In the dialog box displayed, enter your user ID in the field Trace for user only.
4. After you have completed your analysis, choose Trace off.
5. To display the results of the analysis, choose Goto -> Files/Analysis or choose the pushbutton File list. Position the cursor on the file that you want to analyze and choose Analyze file.
You will see authorization tests entries in the format <Authorization object>:<Field>=<Value tested>.

You can display a formatted view of an authorization check by double–clicking an entry. (You may need to scroll down in the display to reach the formatted view of the entry.)

If no authorization entries exist or the system displays the message Authorization entries skipped, check that you have set the trace switches correctly. If the switches are correct, then choose Trace file -> Analyze file and ensure that Trace for authorization checks is selected


No comments:

Post a Comment