Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| X-Received | by 10.182.29.41 with SMTP id g9mr12748832obh.27.1459020228247; Sat, 26 Mar 2016 12:23:48 -0700 (PDT) |
|---|---|
| X-Received | by 10.182.125.225 with SMTP id mt1mr165804obb.17.1459020228184; Sat, 26 Mar 2016 12:23:48 -0700 (PDT) |
| Path | csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!nt3no4827444igb.0!news-out.google.com!pn7ni16931igb.0!nntp.google.com!av4no2184015igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | it.comp.java |
| Date | Sat, 26 Mar 2016 12:23:47 -0700 (PDT) |
| In-Reply-To | <nd1ij9$2759$1@adenine.netfront.net> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=2.38.50.179; posting-account=kkPXBwoAAAAS8kQ4UkfXWP36PIugYyaV |
| NNTP-Posting-Host | 2.38.50.179 |
| References | <nd1ij9$2759$1@adenine.netfront.net> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <ebd10609-32a5-4585-8e83-dcf6f554fcc7@googlegroups.com> (permalink) |
| Subject | Re: Spring security e JPA |
| From | rootkit <rootkit@email.it> |
| Injection-Date | Sat, 26 Mar 2016 19:23:48 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Xref | csiph.com it.comp.java:8894 |
Show key headers only | View raw
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