Featured post
Spring Security 3.x: How can I enable both BASIC and DIGEST authentication? -
i want configure spring security enable both basic , digest authentication same set of url's, it's unclear whether or not possible. see need enable multiple authenticationentrypoint
instances set appropriate http headers, don't see built in classes accomodate this. delegatingauthenticationentrypoint
comes close, selects 1 entry point.
i implemented custom authenticationentrypoint
calls commence method on supplied list of authenticationentrypoint
instances, throws illegalstateexception
because each authenticationentrypoint
calls senderror (which gather not allowed).
is there way without implementing custom entry point?
id did configuring spring security digest authentication only, , adding basicprocessingfilter manually @ beginning of filter chain, explained there
<bean id="basicprocessingfilter" class="org.springframework.security.ui.basicauth.basicprocessingfilter"> <property name="authenticationmanager"><ref bean="authenticationmanager"/></property> <security:custom-filter before="authentication_processing_filter"/> <property name="authenticationentrypoint"><ref bean="authenticationentrypoint"/></property>
- Get link
- X
- Other Apps
Comments
Post a Comment