MitchellChu / enterprise-java-xacml

Automatically exported from code.google.com/p/enterprise-java-xacml
0 stars 2 forks source link

Better Policy Evaluation Logging #50

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is a low priority enhancement (thanks for looking into the other
issues!), but it would be nice to have some better logging of policy
evaluation, and maybe even a way to access evaluation information
programmatically. I would especially like to know what rule was matched for
each decision, but it would also be nice to know what operands are being
passed into what functions, etc., to allow for debugging of the XML
policies themselves.

Original issue reported on code.google.com by kenny.pe...@hxti.com on 8 May 2008 at 4:08

GoogleCodeExporter commented 9 years ago
Yes, it should be a nice enhancement, I will think about how to implement such a
mechanism. I would like to first add such information to debug log, and then 
try to
implement a programmatic way.

Original comment by ppz...@gmail.com on 9 May 2008 at 3:40

GoogleCodeExporter commented 9 years ago
The attached patch adds some TRACE-level logging of policy evaluation. There is 
lots
of room for improvement - I just did what I needed at the moment - but it was 
useful
for me. It also fixes issue 52.

Original comment by kenny.pe...@hxti.com on 9 May 2008 at 3:11

Attachments: