AuthenticationManagerBuilder auth) throws Exception { }当请求/oauth/令牌作为令牌时,我会收到一个错误
java.lang.IllegalArgumentException: There is no PasswordEncodermapped for the id
java.lang.IllegalArgumentException: There is no PasswordEncodermapped for the id "null"
org.springframework.security.crypto.password.DelegatingPasswordEncoder
第一方法: protected void configure(AuthenticationManagerBuilder auth) throws Exception {
.roles("USER");
错误:
java.lang.IllegalArgumentException: There is no PasswordEncodermapped for the i
utilisateur.login as principal, profil.designation as role FROM utilisateur INNER JOIN user_profil ON utilisateur.id_user= user_profil.iduserpk INNER JOIN profil ON user_profil.idprofilpk = profil.id_profil WHERE utilisateur.login(passwordEncoder());*/
auth.inMemo