Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Davide <a@a.com> |
|---|---|
| Newsgroups | it.comp.java |
| Subject | Re: Spring security e JPA |
| Date | 2016-03-26 20:45 +0100 |
| Organization | Netfront http://www.netfront.net/ |
| Message-ID | <nd6opj$1k47$1@adenine.netfront.net> (permalink) |
| References | <nd1ij9$2759$1@adenine.netfront.net> <ebd10609-32a5-4585-8e83-dcf6f554fcc7@googlegroups.com> |
Il 26/03/2016 20:23, rootkit ha scritto: > Il giorno giovedì 24 marzo 2016 21:27:23 UTC+1, Davide ha scritto: >> Salve, >> sto sviluppando un'applicazione java ee che usa spring security e jpa, i >> dati degli utenti sono salvati su un database mysql. Spring security >> vuole un bean che implementa l'interfaccia >> org.springframework.security.core.userdetails.UserDetails che contiene >> varie informazioni tra cui lo username e la password restituito da un >> metodo dell'interfaccia >> org.springframework.security.core.userdetails.UserDetailsService, il >> problema è che per poter passare queste informazioni (username e >> password) a spring, sul database le password devono essere salvate in >> chiaro, ci sono alternative? > > in realtà basta specificare il password encoder all'authentication provider in > modo quasi del tutto dichiarativo. > Avresti un link con un esempio? --- news://freenews.netfront.net/ - complaints: news@netfront.net ---
Back to it.comp.java | Previous | Next — Previous in thread | Next in thread | Find similar
Spring security e JPA Davide <a@a.com> - 2016-03-24 21:28 +0100
Re: Spring security e JPA rootkit <rootkit@email.it> - 2016-03-26 12:23 -0700
Re: Spring security e JPA Davide <a@a.com> - 2016-03-26 20:45 +0100
Re: Spring security e JPA rootkit <rootkit@email.it> - 2016-03-26 13:07 -0700
Re: Spring security e JPA Davide <a@a.com> - 2016-03-26 22:56 +0100
csiph-web