securesocial icon indicating copy to clipboard operation
securesocial copied to clipboard

Contribution of pgsql support for AuthenticatorStore and UserService - Compatible with Play! 2.1 version

Open akinsella opened this issue 12 years ago • 1 comments

pgsql support for AuthenticatorStore provides persistent and clusterisable implementation. Same for UserService. Pgsql support for UserService is based on Some(implementation) found on Play! mailing list, which was also submitted 3 month ago as a pull request. SQL scripts are provided. Dependencies on anorm and jdbc are required.

akinsella avatar Feb 23 '13 23:02 akinsella

I am giving this code a try and I noticed you have some unnecessary/duplicate imports.

Also on PgSqlUserService.scala, you should replace user.passwordInfo.get.password with user.passwordInfo.map(_.password).getOrElse(None) because many social services won't have one and you'll get a null pointer exception

larvanitis avatar Mar 09 '13 07:03 larvanitis