spring-attic / spring-social

Allows you to connect your applications with SaaS providers such as Facebook and Twitter.
http://projects.spring.io/spring-social
Apache License 2.0
619 stars 351 forks source link

Allow ConnectionSignUp to indicate local account could not be created #34

Closed michaellavelle closed 12 years ago

michaellavelle commented 12 years ago

When using ConnectionSignUp to implicitly create a local account for a user, it sometimes may not be possible to create the local account. For instance, perhaps not enough information is available from the provider (eg. email address), or perhaps the user id used for the implicit sign up has already been taken.

To address these use cases, allow ConnectionSignUp to indicate that the creation of a local user account was attempted but was not completed, by enabling null user ids to be returned from the execute method.