Hi,

You can use security framework like shiro but a custom realm would work.
Le 30 avr. 2013 22:55, "Luca Merolla" <[email protected]> a écrit :

> Hello everyone,
>
> I have a particular scenario where I have 2 tables that might contains
> credentials information to authenticate the users in the application.
>
> Basically, I have 2 tables like that
>
> VUser(name, password)
> VSocialUser(name, uniqueId, providerId)
>
> The user has the option to authenticate through a FORM login page, or
> through an external provider (Facebook, Google, etc...) all in the same
> webapp.
>
> Do you know any different solution rather than implement a custom
> DataSourceRealm?
>
> Thanks in advance,
> LM
>

Reply via email to