Hi Jérôme , Thanks for the updates. I shall try it out and see how it turns out.
It would be great to have something like that in the core, since authenticating against each stores wouldnt be efficient either. Regards, Franklin On Mon, Feb 27, 2012 at 1:14 PM, leleuj <[email protected]> wrote: > Hi, > > You can have multiple authentication handlers by defining them in the > deployerConfigContext.xml file through the authenticationHandlers property: > > <?xml version="1.0" encoding="UTF-8"?> > <beans ...> > <bean id="authenticationManager" > class="org.jasig.cas.authentication.AuthenticationManagerImpl"> > <property name="authenticationHandlers"> > <list> > <bean > class="org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler" > p:httpClient-ref="httpClient" /> > <bean > class="org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler" > /> > > There is no way to configure on wich url the authentication handlers > should apply. > > But you can create your own "url based" authentication handler to make it > apply on certain urls. For that, you can retrieve the HTTP request through > the thread local and do your filter : > > HttpServletRequest request = (HttpServletRequest) > ExternalContextHolder.getExternalContext().getNativeRequest(); > > Best regards, > Jérôme > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
