Re: [sunxacml-discuss] Problem with API sunxacml
Brought to you by:
farrukh_najmi,
sethp
|
From: Seth P. <set...@su...> - 2006-01-18 15:52:17
|
On Wed, Jan 18, 2006 at 07:16:10AM -0500, argyn wrote: > Corvino Fabio wrote: > > > PolicyFinderResult pfr = new PolicyFinderResult(pol); > > > > Set policyModules = new HashSet(); > > > > policyModules.add(pfr); > > > this is not right, if i'm not mistaken. pfr should be of type module Argyn is (as usual) correct. You need to be supplying a PolicyFinderModule, not a PolicyFinderResult. I have updated the javadocs in the current codebase to make this clearer. Fabio - It looks like what you want is a simple PolicyFinderModule that you setup with a single policy, and that can only return that one policy. Is that correct? seth |