Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Newsgroups | it.comp.java |
|---|---|
| Date | 2016-03-26 12:23 -0700 |
| References | <nd1ij9$2759$1@adenine.netfront.net> |
| Message-ID | <ebd10609-32a5-4585-8e83-dcf6f554fcc7@googlegroups.com> (permalink) |
| Subject | Re: Spring security e JPA |
| From | rootkit <rootkit@email.it> |
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.
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