TruffleMuffin / Decisions

A Claims based model for resolving bespoke authorization/security operations.
1 stars 0 forks source link

Castle Resolver may not register all providers appropriately. #37

Closed TruffleMuffin closed 10 years ago

TruffleMuffin commented 10 years ago

By using OnValue in

container.Register(Component.For<PolicyService>().DependsOn(Dependency.OnValue("providers", container.ResolveAll<IPolicyProvider>())));

I am registering IPolicyProviders available at that point in the installation phase only. This may cause problems where not all providers are registered correctly.