Below is some thoughts on the Roo Social plugin - the "read me". It describes the functions of the plugin. In the actual Read Me are also some thoughts on the implementation.
But it doesnt work - in the Roo generated target project /signin/
is returning "Requested Resource Not Found". This is that I have back in 07/June. I get the same problem with https://github.com/habuma/spring-social-roo. It looks as exactly like the Social Showcase as can make it, which does work for me.
The project is here https://github.com/gregsoulsby/spring-roo-social-test005.
The Spring Roo Social addon adds Spring Social capabilities to a Roo project.
Spring Social functions can be implement to different degrees, each with different functions and user experience.
There are 5 degrees:
1: Straight through.
- The interface to the Providers, such as LinkedIn, is their own (not Spring Social).
- In the back end the Spring Framework uses the proprietary Object of the Provider.
- The lightest weight option, with the least amount of function. No Spring Social code is used.
2: Simple connection
- Spring Social "Service Provider Connect Framework" is used to manage connections to Providers.
- Spring Social provides functions like exposing users details, tweeting on twitter, xxx on facebook.
- The back end Spring Framework of your app uses the ....?
- Isolating the app for Provider specifics, making easy to work with and add providers.
- Information about the user and connection is not used to persist
3. Signin with account
- Enables user to sign into your app using the Providers authentication
- An attempt is first made to find a previous connection
- Only for providers that enable login (LinkedIn,,,,)
- The backend database is used to persist information about the user and connection
4. Signin with implict signup
I dont understand how this works. In the ref docs "5.3.2 Implicit sign up" is under section on failed signin - is this right?
- Authentication provided by the Providers is used by Spring Security
- Extra function over 4 .
- Not yet available.
BUILDING THE PLUGIN
RUNNING THE PLUGIN
- Spring Security has been implemented (implication is must use SpringSecuritySignInAdapter?)
- Database is setup in "dataSource"
From the Roo command line
1: roo> social straight-through
2: roo> social setup --signin-flag --application-url --implicite-signup-flag
3: roo> social linkedin --key myAppsAPIKey --secret myAppsSecret (and same for the other Providers)