I loaded a few conformance test, they loaded fine. I added my error log
and a "sanitized" policy. My policy works fine with SunXACML.
here's error log:
======================
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance
of an object.
at
Lagash.Xacml.ControlCenter.TreeNodes.Target.FillTargetItems(TargetItemsB
ase targetItems)
at Lagash.Xacml.ControlCenter.TreeNodes.Target..ctor(TargetElement
target)
at
Lagash.Xacml.ControlCenter.TreeNodes.PolicySet..ctor(PolicySetElement
policySet)
at
Lagash.Xacml.ControlCenter.TreeNodes.PolicyDocument..ctor(PolicyDocument
policyDocument)
at Lagash.Xacml.ControlCenter.MainForm.menuItem2_Click(Object sender,
EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
Xacml.ControlCenter
Assembly Version: 0.0.0.6
Win32 Version: 0.0.0.6
CodeBase: file:///D:/tmp/xacml.net/Xacml.ControlCenter.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c5
61934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/syst
em.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50
a3a/system.drawing.dll
----------------------------------------
Xacml.Core
Assembly Version: 0.0.0.6
Win32 Version: 0.0.0.6
CodeBase: file:///D:/tmp/xacml.net/Xacml.Core.DLL
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/
system.xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
======================
here's a policy, it's a part of my version of RBAC profile
implementation
======================
<?xml version="1.0" encoding="UTF-8"?>
<PolicySet xmlns="urn:oasis:names:tc:xacml:1.0:policy"
PolicySetId="RBAC:PPS:role:default"
PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.0:policy-combining-algo
rithm:permit-overrides">
<Target/>
<Policy PolicyId="RBAC:Permissions:role:default"
RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.0:rule-combining-algorith
m:permit-overrides">
<Target/>
<Rule RuleId="FinalRule" Effect="Deny"/>
</Policy>
</PolicySet>
======================
-----Original Message-----
From: diego gonzalez [mailto:]
Sent: Friday, November 12, 2004 10:52 AM
To: Kuketayev, Argyn
Cc:
Subject: RE: [xacml-dev] Policy editor? Gui?
Hmmm very strange, try loading one of the ConformanceTests to
see if there is a problem with the policy document. What is the error
that you are receiving?
Thanks,
DiegoG
_____
From: Kuketayev, Argyn [mailto:]
Sent: Fri 11/12/2004 11:55 AM
To: diego gonzalez
Cc:
Subject: RE: [xacml-dev] Policy editor? Gui?
Diego,
I tried at your editor tool. It couldn't load my policies, none
of them
:(
I guess that it has something to do with implicit/optional
targets or
other elements.
Do you have a mailing list for users?
Thanks,
Argyn
> -----Original Message-----
> From: diego gonzalez [mailto:]
> Sent: Thursday, November 11, 2004 6:32 AM
> To: ;
>
> Subject: RE: [xacml-dev] Policy editor? Gui?
>
>
> XACML.NET project includes a graphical editing tool which is
> not finished, yet. For the moment you can open any 1.1 policy
> and see what's inside using a tree and a set of properties.
>
> You will need .Net Framework 1.1 installed in your machine.
>
> Best Regards,
> Diego Gonzalez
> Lagash Systems SA
>
> ________________________________
>
> From: Kuketayev, Argyn [mailto:]
> Sent: Thu 11/11/2004 12:31 AM
> To: ;
>
> Subject: [xacml-dev] Policy editor? Gui?
>
>
>
> Is anybody working on a open-source graphical policy editor ?
> Is there a business case for it? What would be the minimum
> set of features to make it useful? Should it be tailored for
> a particular implementation, such as SunXACML or could it be
> useful for any XACML policy?
>
> I've been thinking about editor ever since I had to write
> policies. It's very inconvinient to edit them in regular XML
editor.
>
> Thanks,
> Argyn
>
>
>
>