Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.java > #8895

Re: Spring security e JPA

Path csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!newsgate.cuhk.edu.hk!news.netfront.net!not-for-mail
From Davide <a@a.com>
Newsgroups it.comp.java
Subject Re: Spring security e JPA
Date Sat, 26 Mar 2016 20:45:01 +0100
Organization Netfront http://www.netfront.net/
Lines 22
Message-ID <nd6opj$1k47$1@adenine.netfront.net> (permalink)
References <nd1ij9$2759$1@adenine.netfront.net> <ebd10609-32a5-4585-8e83-dcf6f554fcc7@googlegroups.com>
NNTP-Posting-Host 79.17.189.137
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 8bit
X-Trace adenine.netfront.net 1459021427 53383 79.17.189.137 (26 Mar 2016 19:43:47 GMT)
X-Complaints-To news@netfront.net
NNTP-Posting-Date Sat, 26 Mar 2016 19:43:47 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
In-Reply-To <ebd10609-32a5-4585-8e83-dcf6f554fcc7@googlegroups.com>
Xref csiph.com it.comp.java:8895

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar


Thread

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