Hello,
After spending more time on this. I manage to make things work (without having anything to code).
To summarize, what I did was to :
- Add to my spring security configuration a dedicated spring-security entry point to enable waffle negociate authentication (the configuration of the entry point follows what is described in waffle documentation)
<security:http pattern="/waffle" entry-point-ref="negotiateSecurityFilterEntryPoint">
<security:intercept-url pattern="/**" access="isAuthenticated()" />
<security:custom-filter ref="waffleNegotiateSecurityFilter" position="BASIC_AUTH_FILTER" />
</security:http>
- Add a link "waffle sso" to ma custom login page redirecting to /waffle url
That's all I needed to do, and it seems to work so far, I can either click on the link to trigger waffle entry point which authenticate me using OS credentials, otherwise if I set a user/password in the login form it uses "regular" spring-security configuration I have defined for global entry point.
Arnaud