Paramétrer Spring Security pour NTLM
Bonjour,
Je recherche de la documentation pour pouvoir paraméter mon spring security avec NTLM et SSO.
Actuellement, mon spring security fonctionne avec des mots de passe/login saisi en dur dans mon applicationContextSecurity.xml. J'aimerais que la recherche des login/passe se fassent par NTLM.
Voici ma conf actuelle :
applicationContextSecurity.xml
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| <?xml version="1.0" encoding="ISO-8859-1"?>
<beans:beans
xmlns="http://www.springframework.org/schema/security"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.4.xsd">
<http auto-config="true">
<intercept-url pattern="/login.jsf" filters="none" />
<intercept-url pattern="/**" access="ROLE_SUPERVISOR"/>
<!-- All of this is unnecessary if auto-config="true" -->
<form-login login-page="/login.jsf" />
<intercept-url pattern="/**" access="ROLE_USER" />
<logout/>
</http>
<authentication-provider>
<user-service>
<user name="toto" password="toto" authorities="ROLE_USER, ROLE_ADMIN" />
</user-service>
</authentication-provider>
</beans:beans> |
Merci