An {@code AuthenticationEntryPoint} which selects a concrete {@code AuthenticationEntryPoint} based on a{@link RequestMatcher} evaluation.
A configuration might look like this:
<bean id="daep" class="org.springframework.security.web.authentication.DelegatingAuthenticationEntryPoint"> <constructor-arg> <map> <entry key="hasIpAddress('192.168.1.0/24') and hasHeader('User-Agent','Mozilla')" value-ref="firstAEP" /> <entry key="hasHeader('User-Agent','MSIE')" value-ref="secondAEP" /> </map> </constructor-arg> <property name="defaultEntryPoint" ref="defaultAEP"/> </bean>
This example uses the {@link RequestMatcherEditor} which creates a {@link ELRequestMatcher} instances for the mapkeys.
@author Mike Wiesner
@since 3.0.2