Thank you very much Jonathan, I found out a solution by myself after
debugging a little bit more:
In my SecurityModule, I added to the contributeProviderManager both
providers like this:
AuthenticationProvider daoAuth = (AuthenticationProvider)
applicationContext.getBean("authenticationProviderA"
Ahh, then that is the easy one.
Here's a chunk of code I actually use. Obviously, you will be pulling
the providers from the Spring context rather than injecting, but...
public static void contributeProviderManager(
OrderedConfiguration configuration,
@InjectService("DaoAuthenticationProv
First of all thanks for the help Jonathan, but I think that I am not being
clear.
I already have the two providers (Injecting the applicationcontext as
derkoe told me before).
Now I want to configure tapestry-spring-security to use both of them so
that if the user is not authenticated with one pr
Can you move the provider building out of Spring into your AppModule so you
can actually specify a service id?
Or, as suggested by Chris, pass ApplicationContext into your
contributeProviderManager method instead of AuthenticationProvider, and
then do appContext.getBean("myBeanId") to get a specif
Chris, thanks for the tip,
What I am still missing is to assign more than one authenticationProvider
to the ProviderManager.
I can see there that it is a List of providers, but I don't know how to set
this list with all my different authenticationProviders.
Does anybody knows?
Thanks in advan
kado wrote
>
> Hi,
>
> I am trying to add a facebook provider to my app.
>
> I added the config to the xml and I had created the Class
> FacebookDaoProvider just for testing if everything goes fine but when I
> start the server this message is shown:
>
> Construction of service ProviderManage