Hello, I need some help/guidelines in implementing a login with classic username and password login and with openid.
I am looking at http://www.localhost.nu/svn/public/tapestry-spring-security-sample/ for classic setup and http://wiki.apache.org/tapestry/Tapestry5HowToSpringSecurityAndOpenId for OpenID. My goal is to join them in one web app. Both of them work just fine separately. Now this method in AppModule is where I am stuck: public static void contributeProviderManager( OrderedConfiguration<AuthenticationProvider> configuration, @InjectService("OpenIDAuthenticationProvider") AuthenticationProvider openIdAuthenticationProvider) { configuration.add("openIDAuthenticationProvider", openIdAuthenticationProvider); } The above method is part of http://www.localhost.nu/java/tapestry-spring-security/apidocs/nu/localhost/tapestry5/springsecurity/services/SecurityModule.html . It allows only one authentication provider, but I need another one: public static void contributeProviderManager( OrderedConfiguration<AuthenticationProvider> configuration, @InjectService( "DaoAuthenticationProvider" ) AuthenticationProvider daoAuthenticationProvider ) { configuration.add( "daoAuthenticationProvider", daoAuthenticationProvider ); } How, if at all possible, do I configure my app with two authentication providers? Cheers, Borut P.S. I am new to T5 and T5's IoC.