it depends where you get the URL from an at what point.

You can either do it using IHandlerSelector if you get the URL from a place like HTTPContext, accessible statically.

Alternatively you can use a typed factory

On 14/03/2011 11:54 PM, Scott_M wrote:
I need to have different authenticators (IAuthenticator) that vary by URL. I was hoping to have some kind of URL property on my Authenticator that I could use to dynamically resolve an authenticator via the current URL. How can I implement this behavior with Castle?







--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "Castle 
Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to