def springSecurityService
//isPasswordValid(params1,params2,params3)
//params1:原密码 params2:输入的原密码,params3:Salt值
//springSecurityService?.currentUser?.password当前登录用户密码
springSecurityService.passwordEncoder.isPasswordValid(springSecurityService?.currentUser?.password,"123456",null)
网友评论