Bonjour ,
Au fait j'ai développé une page personnalisé d'authentification avec la configuration de Spring Security mais lorsque je clique sur le button valider de l'interface rien ne se passe et je sais pas ou ça cloche vraiment !
Au fait on me dit de filtrer la page authentif avec filters='non' mais lorsque j'intercepte cette url on me dit de faire un update sur le schéma de sécurité de Spring et je sais pas vraiment c'est quoi le truc sachant que ma page authentif a tout les critéres tel que j_username ,j_password et le j_spring_security_check
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
26
27
28 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:security="http://www.springframework.org/schema/security" 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-3.0.xsd http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd"> <security:http access-denied-page="/index.html"> <security:intercept-url pattern="/**" access="ROLE_FORMATEUR" /> <security:form-login login-page="/authentif.xhtml" default-target-url="/Admin.xhtml" always-use-default-target="true" /> </security:http> <!-- Popu up d'authentification <security:http-basic /> --> <security:authentication-manager> <security:authentication-provider> <security:user-service> <security:user name="douglas" password="xy" authorities="ROLE_ADMIN" /> <security:user name="morad" password="xy" authorities="ROLE_FORMATEUR" /> </security:user-service> </security:authentication-provider> </security:authentication-manager> </beans>
Merci !
Partager