├── attic ├── spring-social-showcase-xml │ ├── .gitignore │ ├── src │ │ └── main │ │ │ ├── webapp │ │ │ ├── META-INF │ │ │ │ └── MANIFEST.MF │ │ │ ├── resources │ │ │ │ ├── messages │ │ │ │ │ ├── info.png │ │ │ │ │ ├── error.png │ │ │ │ │ ├── success.png │ │ │ │ │ ├── warning.png │ │ │ │ │ └── messages.css │ │ │ │ ├── social │ │ │ │ │ ├── facebook │ │ │ │ │ │ ├── f_logo.jpg │ │ │ │ │ │ ├── sign-in-with-facebook.png │ │ │ │ │ │ └── connect_light_medium_short.gif │ │ │ │ │ ├── twitter │ │ │ │ │ │ ├── t_logo-a.png │ │ │ │ │ │ ├── connect-with-twitter.png │ │ │ │ │ │ └── sign-in-with-twitter-d.png │ │ │ │ │ └── linkedin │ │ │ │ │ │ └── connect_with_linkedin-logo-150x150.jpg │ │ │ │ └── form.css │ │ │ └── WEB-INF │ │ │ │ ├── messages │ │ │ │ └── messages.properties │ │ │ │ ├── layouts │ │ │ │ ├── tiles.xml │ │ │ │ ├── menu.jsp │ │ │ │ └── page.jsp │ │ │ │ ├── views │ │ │ │ ├── home │ │ │ │ │ ├── home.jsp │ │ │ │ │ └── tiles.xml │ │ │ │ ├── signin │ │ │ │ │ └── tiles.xml │ │ │ │ ├── signup │ │ │ │ │ └── tiles.xml │ │ │ │ ├── facebook │ │ │ │ │ ├── album.jsp │ │ │ │ │ ├── albums.jsp │ │ │ │ │ ├── friends.jsp │ │ │ │ │ ├── profile.jsp │ │ │ │ │ ├── feed.jsp │ │ │ │ │ └── tiles.xml │ │ │ │ └── connect │ │ │ │ │ ├── facebookConnected.jsp │ │ │ │ │ └── facebookConnect.jsp │ │ │ │ └── spring │ │ │ │ └── root-context.xml │ │ │ ├── resources │ │ │ └── org │ │ │ │ └── springframework │ │ │ │ └── social │ │ │ │ └── showcase │ │ │ │ ├── config │ │ │ │ └── application.properties │ │ │ │ └── account │ │ │ │ ├── Account.sql │ │ │ │ └── data.sql │ │ │ └── java │ │ │ └── org │ │ │ └── springframework │ │ │ └── social │ │ │ └── showcase │ │ │ ├── account │ │ │ ├── AccountRepository.java │ │ │ └── UsernameAlreadyInUseException.java │ │ │ └── signin │ │ │ └── SigninController.java │ └── README.md ├── spring-social-canvas │ ├── src │ │ └── main │ │ │ ├── webapp │ │ │ ├── META-INF │ │ │ │ └── MANIFEST.MF │ │ │ └── WEB-INF │ │ │ │ └── views │ │ │ │ ├── signin.html │ │ │ │ └── friends.html │ │ │ ├── resources │ │ │ └── application.properties │ │ │ └── java │ │ │ └── org │ │ │ └── springframework │ │ │ └── social │ │ │ └── canvas │ │ │ ├── config │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ ├── user │ │ │ ├── package-info.java │ │ │ └── User.java │ │ │ └── HomeController.java │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ └── gradle.properties ├── spring-social-movies │ ├── src │ │ └── main │ │ │ ├── webapp │ │ │ ├── META-INF │ │ │ │ └── MANIFEST.MF │ │ │ ├── resources │ │ │ │ ├── form.css │ │ │ │ └── page.css │ │ │ └── WEB-INF │ │ │ │ ├── layouts │ │ │ │ ├── tiles.xml │ │ │ │ └── page.jsp │ │ │ │ └── views │ │ │ │ ├── home │ │ │ │ └── tiles.xml │ │ │ │ ├── signin │ │ │ │ └── tiles.xml │ │ │ │ ├── signup │ │ │ │ └── tiles.xml │ │ │ │ ├── review │ │ │ │ ├── tiles.xml │ │ │ │ ├── form.jsp │ │ │ │ └── movieSearch.jsp │ │ │ │ └── connect │ │ │ │ ├── tiles.xml │ │ │ │ ├── netflixConnected.jsp │ │ │ │ └── netflixConnect.jsp │ │ │ └── java │ │ │ └── org │ │ │ └── springframework │ │ │ └── social │ │ │ └── movies │ │ │ ├── config │ │ │ └── application.properties │ │ │ ├── account │ │ │ ├── Account.sql │ │ │ ├── data.sql │ │ │ ├── AccountRepository.java │ │ │ └── UsernameAlreadyInUseException.java │ │ │ ├── review │ │ │ ├── Review.sql │ │ │ └── ReviewRepository.java │ │ │ ├── netflix │ │ │ └── api │ │ │ │ └── NetFlixApi.java │ │ │ └── signin │ │ │ └── SigninController.java │ └── README.md ├── spring-social-popup │ ├── src │ │ └── main │ │ │ ├── webapp │ │ │ ├── META-INF │ │ │ │ └── MANIFEST.MF │ │ │ ├── resources │ │ │ │ ├── messages │ │ │ │ │ ├── info.png │ │ │ │ │ ├── error.png │ │ │ │ │ ├── success.png │ │ │ │ │ ├── warning.png │ │ │ │ │ └── messages.css │ │ │ │ ├── social │ │ │ │ │ ├── facebook │ │ │ │ │ │ ├── f_logo.jpg │ │ │ │ │ │ ├── sign-in-with-facebook.png │ │ │ │ │ │ └── connect_light_medium_short.gif │ │ │ │ │ └── twitter │ │ │ │ │ │ ├── t_logo-a.png │ │ │ │ │ │ ├── connect-with-twitter.png │ │ │ │ │ │ └── sign-in-with-twitter-d.png │ │ │ │ └── form.css │ │ │ └── WEB-INF │ │ │ │ ├── views │ │ │ │ ├── connect │ │ │ │ │ ├── twitterOptions.jsp │ │ │ │ │ ├── facebookOptions.jsp │ │ │ │ │ └── tiles.xml │ │ │ │ ├── home │ │ │ │ │ ├── tiles.xml │ │ │ │ │ └── home.jsp │ │ │ │ ├── signin │ │ │ │ │ └── tiles.xml │ │ │ │ ├── signup │ │ │ │ │ └── tiles.xml │ │ │ │ ├── twitter │ │ │ │ │ ├── tiles.xml │ │ │ │ │ └── profile.jsp │ │ │ │ └── facebook │ │ │ │ │ ├── tiles.xml │ │ │ │ │ └── profile.jsp │ │ │ │ ├── messages │ │ │ │ └── messages.properties │ │ │ │ └── layouts │ │ │ │ ├── tiles.xml │ │ │ │ └── menu.jsp │ │ │ └── java │ │ │ └── org │ │ │ └── springframework │ │ │ └── social │ │ │ └── popup │ │ │ ├── account │ │ │ ├── Account.sql │ │ │ ├── data.sql │ │ │ ├── AccountRepository.java │ │ │ └── UsernameAlreadyInUseException.java │ │ │ ├── config │ │ │ └── application.properties │ │ │ ├── signin │ │ │ └── SigninController.java │ │ │ └── twitter │ │ │ └── MessageForm.java │ └── README.md ├── spring-social-showcase-sec │ ├── src │ │ └── main │ │ │ ├── webapp │ │ │ ├── META-INF │ │ │ │ └── MANIFEST.MF │ │ │ ├── resources │ │ │ │ ├── messages │ │ │ │ │ ├── info.png │ │ │ │ │ ├── error.png │ │ │ │ │ ├── success.png │ │ │ │ │ ├── warning.png │ │ │ │ │ └── messages.css │ │ │ │ ├── social │ │ │ │ │ ├── facebook │ │ │ │ │ │ ├── f_logo.jpg │ │ │ │ │ │ ├── sign-in-with-facebook.png │ │ │ │ │ │ └── connect_light_medium_short.gif │ │ │ │ │ ├── twitter │ │ │ │ │ │ ├── t_logo-a.png │ │ │ │ │ │ ├── connect-with-twitter.png │ │ │ │ │ │ └── sign-in-with-twitter-d.png │ │ │ │ │ └── linkedin │ │ │ │ │ │ └── connect_with_linkedin-logo-150x150.jpg │ │ │ │ └── form.css │ │ │ └── WEB-INF │ │ │ │ └── messages │ │ │ │ └── messages.properties │ │ │ ├── resources │ │ │ ├── org │ │ │ │ └── springframework │ │ │ │ │ └── social │ │ │ │ │ └── showcase │ │ │ │ │ └── account │ │ │ │ │ ├── Account.sql │ │ │ │ │ └── data.sql │ │ │ ├── application.properties │ │ │ └── views │ │ │ │ ├── facebook │ │ │ │ ├── albums.html │ │ │ │ ├── album.html │ │ │ │ └── friends.html │ │ │ │ ├── twitter │ │ │ │ └── trends.html │ │ │ │ ├── home.html │ │ │ │ └── connect │ │ │ │ └── facebookConnect.html │ │ │ └── java │ │ │ └── org │ │ │ └── springframework │ │ │ └── social │ │ │ └── showcase │ │ │ ├── config │ │ │ ├── SecurityWebInitializer.java │ │ │ └── H2ConsoleWebInitializer.java │ │ │ ├── security │ │ │ ├── FacebookAuthenticationService.java │ │ │ └── AuthenticationUserIdExtractor.java │ │ │ ├── account │ │ │ ├── AccountRepository.java │ │ │ └── UsernameAlreadyInUseException.java │ │ │ ├── signin │ │ │ └── SigninController.java │ │ │ └── twitter │ │ │ └── MessageForm.java │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ └── gradle.properties ├── spring-social-showcase │ ├── src │ │ └── main │ │ │ ├── webapp │ │ │ ├── META-INF │ │ │ │ └── MANIFEST.MF │ │ │ ├── resources │ │ │ │ ├── messages │ │ │ │ │ ├── error.png │ │ │ │ │ ├── info.png │ │ │ │ │ ├── success.png │ │ │ │ │ ├── warning.png │ │ │ │ │ └── messages.css │ │ │ │ ├── social │ │ │ │ │ ├── facebook │ │ │ │ │ │ ├── f_logo.jpg │ │ │ │ │ │ ├── sign-in-with-facebook.png │ │ │ │ │ │ └── connect_light_medium_short.gif │ │ │ │ │ ├── twitter │ │ │ │ │ │ ├── t_logo-a.png │ │ │ │ │ │ ├── connect-with-twitter.png │ │ │ │ │ │ └── sign-in-with-twitter-d.png │ │ │ │ │ └── linkedin │ │ │ │ │ │ └── connect_with_linkedin-logo-150x150.jpg │ │ │ │ └── form.css │ │ │ └── WEB-INF │ │ │ │ └── messages │ │ │ │ └── messages.properties │ │ │ ├── resources │ │ │ ├── org │ │ │ │ └── springframework │ │ │ │ │ └── social │ │ │ │ │ └── showcase │ │ │ │ │ └── account │ │ │ │ │ ├── Account.sql │ │ │ │ │ └── data.sql │ │ │ ├── application.properties │ │ │ └── views │ │ │ │ ├── ratelimit.html │ │ │ │ ├── facebook │ │ │ │ ├── albums.html │ │ │ │ ├── album.html │ │ │ │ └── friends.html │ │ │ │ ├── twitter │ │ │ │ └── trends.html │ │ │ │ ├── home.html │ │ │ │ └── connect │ │ │ │ └── facebookConnect.html │ │ │ └── java │ │ │ └── org │ │ │ └── springframework │ │ │ └── social │ │ │ └── showcase │ │ │ ├── ExceptionHandlingControllerAdvice.java │ │ │ ├── account │ │ │ ├── AccountRepository.java │ │ │ └── UsernameAlreadyInUseException.java │ │ │ ├── config │ │ │ └── SecurityWebInitializer.java │ │ │ ├── signin │ │ │ └── SigninController.java │ │ │ └── twitter │ │ │ └── MessageForm.java │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ └── gradle.properties ├── spring-social-twitter4j │ ├── src │ │ └── main │ │ │ ├── webapp │ │ │ ├── META-INF │ │ │ │ └── MANIFEST.MF │ │ │ ├── resources │ │ │ │ ├── form.css │ │ │ │ └── social │ │ │ │ │ ├── twitter │ │ │ │ │ ├── connect-with-twitter.png │ │ │ │ │ └── sign-in-with-twitter-d.png │ │ │ │ │ └── facebook │ │ │ │ │ └── connect_light_medium_short.gif │ │ │ └── WEB-INF │ │ │ │ ├── views │ │ │ │ ├── home.jsp │ │ │ │ └── connect │ │ │ │ │ └── twitterConnect.jsp │ │ │ │ └── spring │ │ │ │ └── root-context.xml │ │ │ └── java │ │ │ └── org │ │ │ └── springframework │ │ │ └── social │ │ │ └── showcase │ │ │ ├── account │ │ │ ├── Account.sql │ │ │ ├── data.sql │ │ │ ├── AccountRepository.java │ │ │ └── UsernameAlreadyInUseException.java │ │ │ └── signin │ │ │ └── SigninController.java │ └── README.md ├── spring-social-quickstart-3.0.x │ ├── src │ │ └── main │ │ │ ├── webapp │ │ │ ├── META-INF │ │ │ │ └── MANIFEST.MF │ │ │ └── WEB-INF │ │ │ │ ├── views │ │ │ │ ├── signin.jsp │ │ │ │ └── home.jsp │ │ │ │ └── spring │ │ │ │ ├── properties.xml │ │ │ │ └── root-context.xml │ │ │ └── java │ │ │ └── org │ │ │ └── springframework │ │ │ └── social │ │ │ └── quickstart │ │ │ ├── package-info.java │ │ │ └── user │ │ │ ├── package-info.java │ │ │ └── User.java │ └── README.md ├── spring-social-showcase-sec-xml │ ├── src │ │ └── main │ │ │ ├── webapp │ │ │ ├── META-INF │ │ │ │ └── MANIFEST.MF │ │ │ ├── resources │ │ │ │ ├── messages │ │ │ │ │ ├── error.png │ │ │ │ │ ├── info.png │ │ │ │ │ ├── success.png │ │ │ │ │ ├── warning.png │ │ │ │ │ └── messages.css │ │ │ │ ├── form.css │ │ │ │ └── social │ │ │ │ │ ├── facebook │ │ │ │ │ ├── f_logo.jpg │ │ │ │ │ ├── sign-in-with-facebook.png │ │ │ │ │ └── connect_light_medium_short.gif │ │ │ │ │ ├── twitter │ │ │ │ │ ├── t_logo-a.png │ │ │ │ │ ├── connect-with-twitter.png │ │ │ │ │ └── sign-in-with-twitter-d.png │ │ │ │ │ └── linkedin │ │ │ │ │ └── connect_with_linkedin-logo-150x150.jpg │ │ │ └── WEB-INF │ │ │ │ ├── messages │ │ │ │ └── messages.properties │ │ │ │ ├── layouts │ │ │ │ ├── tiles.xml │ │ │ │ └── page.jsp │ │ │ │ ├── views │ │ │ │ ├── home │ │ │ │ │ ├── home.jsp │ │ │ │ │ └── tiles.xml │ │ │ │ ├── signin │ │ │ │ │ └── tiles.xml │ │ │ │ ├── signup │ │ │ │ │ └── tiles.xml │ │ │ │ ├── linkedin │ │ │ │ │ ├── tiles.xml │ │ │ │ │ └── profile.jsp │ │ │ │ ├── facebook │ │ │ │ │ ├── album.jsp │ │ │ │ │ ├── albums.jsp │ │ │ │ │ ├── friends.jsp │ │ │ │ │ ├── profile.jsp │ │ │ │ │ ├── feed.jsp │ │ │ │ │ └── tiles.xml │ │ │ │ ├── connect │ │ │ │ │ ├── twitterConnected.jsp │ │ │ │ │ ├── linkedinConnected.jsp │ │ │ │ │ ├── facebookConnected.jsp │ │ │ │ │ ├── linkedinConnect.jsp │ │ │ │ │ ├── twitterConnect.jsp │ │ │ │ │ └── facebookConnect.jsp │ │ │ │ └── twitter │ │ │ │ │ ├── trends.jsp │ │ │ │ │ ├── friends.jsp │ │ │ │ │ └── tiles.xml │ │ │ │ └── spring │ │ │ │ └── root-context.xml │ │ │ └── java │ │ │ └── org │ │ │ └── springframework │ │ │ └── social │ │ │ └── showcase │ │ │ ├── account │ │ │ ├── Account.sql │ │ │ ├── data.sql │ │ │ ├── AccountRepository.java │ │ │ └── UsernameAlreadyInUseException.java │ │ │ ├── config │ │ │ └── application.properties │ │ │ ├── security │ │ │ ├── FacebookAuthenticationService.java │ │ │ └── AuthenticationUserIdExtractor.java │ │ │ ├── signin │ │ │ └── SigninController.java │ │ │ └── twitter │ │ │ └── MessageForm.java │ └── README.md └── spring-social-showcase-implicit │ ├── src │ └── main │ │ ├── resources │ │ ├── messages.properties │ │ ├── application.properties │ │ ├── static │ │ │ ├── messages │ │ │ │ ├── info.png │ │ │ │ ├── error.png │ │ │ │ ├── success.png │ │ │ │ ├── warning.png │ │ │ │ └── messages.css │ │ │ ├── form.css │ │ │ └── social │ │ │ │ ├── facebook │ │ │ │ ├── f_logo.jpg │ │ │ │ ├── sign-in-with-facebook.png │ │ │ │ └── connect_light_medium_short.gif │ │ │ │ ├── twitter │ │ │ │ ├── t_logo-a.png │ │ │ │ ├── connect-with-twitter.png │ │ │ │ └── sign-in-with-twitter-d.png │ │ │ │ └── linkedin │ │ │ │ └── connect_with_linkedin-logo-150x150.jpg │ │ ├── schema.sql │ │ └── templates │ │ │ ├── ratelimit.html │ │ │ ├── facebook │ │ │ ├── albums.html │ │ │ └── album.html │ │ │ ├── home.html │ │ │ └── connect │ │ │ └── facebookConnect.html │ │ └── java │ │ └── org │ │ └── springframework │ │ └── social │ │ └── showcase │ │ ├── config │ │ ├── ShowcaseServletInitializer.java │ │ └── Application.java │ │ ├── ExceptionHandlingControllerAdvice.java │ │ └── signin │ │ └── SigninController.java │ └── gradle │ └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── spring-social-quickstart ├── src │ └── main │ │ ├── resources │ │ ├── application.properties │ │ └── views │ │ │ ├── signin.html │ │ │ └── home.html │ │ └── java │ │ └── org │ │ └── springframework │ │ └── social │ │ └── quickstart │ │ ├── config │ │ └── package-info.java │ │ ├── package-info.java │ │ └── user │ │ ├── package-info.java │ │ └── User.java ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties └── gradle.properties ├── .gitignore ├── spring-social-showcase ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties └── src │ └── main │ ├── resources │ ├── static │ │ ├── messages │ │ │ ├── info.png │ │ │ ├── error.png │ │ │ ├── success.png │ │ │ ├── warning.png │ │ │ └── messages.css │ │ ├── project-icon-large.png │ │ └── social │ │ │ ├── facebook │ │ │ ├── f_logo.jpg │ │ │ ├── sign-in-with-facebook.png │ │ │ └── connect_light_medium_short.gif │ │ │ ├── twitter │ │ │ ├── t_logo-a.png │ │ │ ├── connect-with-twitter.png │ │ │ └── sign-in-with-twitter-d.png │ │ │ └── linkedin │ │ │ └── connect_with_linkedin-logo-150x150.jpg │ ├── schema.sql │ ├── data.sql │ ├── application.yml │ ├── messages.properties │ └── templates │ │ ├── ratelimit.html │ │ ├── facebook │ │ ├── albums.html │ │ ├── album.html │ │ ├── friends.html │ │ └── profile.html │ │ ├── twitter │ │ ├── trends.html │ │ └── friends.html │ │ └── connect │ │ ├── facebookConnected.html │ │ └── twitterConnected.html │ └── java │ └── org │ └── springframework │ └── social │ └── showcase │ ├── ExceptionHandlingControllerAdvice.java │ ├── account │ ├── AccountRepository.java │ └── UsernameAlreadyInUseException.java │ ├── config │ └── Application.java │ ├── signin │ └── SigninController.java │ └── twitter │ └── MessageForm.java └── README.md /attic/spring-social-showcase-xml/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /attic/spring-social-canvas/src/main/webapp/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/webapp/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/webapp/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/webapp/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /attic/spring-social-twitter4j/src/main/webapp/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /attic/spring-social-quickstart-3.0.x/src/main/webapp/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /spring-social-quickstart/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | facebook.appKey={{SEE README}} 2 | facebook.appSecret={{SEE README}} -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | **/target 2 | **/.classpath 3 | **/.project 4 | **/.settings 5 | **/.springBeans 6 | **/bin 7 | **/build 8 | .DS_Store 9 | .gradle 10 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/messages.properties: -------------------------------------------------------------------------------- 1 | facebook.icon=/social/facebook/f_logo.jpg 2 | facebook.displayName=Facebook 3 | -------------------------------------------------------------------------------- /attic/spring-social-twitter4j/src/main/webapp/resources/form.css: -------------------------------------------------------------------------------- 1 | form input, form select { 2 | display: block; 3 | } 4 | 5 | .error { 6 | color: #D8000C; 7 | } -------------------------------------------------------------------------------- /attic/spring-social-canvas/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | facebook.appKey={{SEE README}} 2 | facebook.appSecret={{SEE README}} 3 | facebook.canvasPage={{SEE README}} 4 | -------------------------------------------------------------------------------- /spring-social-showcase/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/spring-social-showcase/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /spring-social-quickstart/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/spring-social-quickstart/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /attic/spring-social-canvas/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-canvas/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /attic/spring-social-showcase/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/static/messages/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/spring-social-showcase/src/main/resources/static/messages/info.png -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/resources/messages/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-popup/src/main/webapp/resources/messages/info.png -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/static/messages/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/spring-social-showcase/src/main/resources/static/messages/error.png -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/static/messages/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/spring-social-showcase/src/main/resources/static/messages/success.png -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/static/messages/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/spring-social-showcase/src/main/resources/static/messages/warning.png -------------------------------------------------------------------------------- /attic/spring-social-canvas/src/main/java/org/springframework/social/canvas/config/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Configures the canvas application. 3 | */ 4 | package org.springframework.social.canvas.config; 5 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/resources/messages/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-popup/src/main/webapp/resources/messages/error.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-implicit/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/static/project-icon-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/spring-social-showcase/src/main/resources/static/project-icon-large.png -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/java/org/springframework/social/movies/config/application.properties: -------------------------------------------------------------------------------- 1 | netflix.consumerKey={{REPLACE WITH CONSUMER KEY}} 2 | netflix.consumerSecret={{REPLACE WITH CONSUMER SECRET}} 3 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/resources/messages/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-popup/src/main/webapp/resources/messages/success.png -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/resources/messages/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-popup/src/main/webapp/resources/messages/warning.png -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/webapp/resources/messages/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase/src/main/webapp/resources/messages/error.png -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/webapp/resources/messages/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase/src/main/webapp/resources/messages/info.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.social.facebook.app-id={{SEE README}} 2 | spring.social.facebook.app-secret={{SEE README}} 3 | facebook.appNamespace={{SEE README}} 4 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/webapp/resources/messages/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec/src/main/webapp/resources/messages/info.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/resources/messages/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-xml/src/main/webapp/resources/messages/info.png -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/webapp/resources/messages/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase/src/main/webapp/resources/messages/success.png -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/webapp/resources/messages/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase/src/main/webapp/resources/messages/warning.png -------------------------------------------------------------------------------- /spring-social-quickstart/src/main/java/org/springframework/social/quickstart/config/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Configures the quickstart application. 3 | */ 4 | package org.springframework.social.quickstart.config; 5 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/static/social/facebook/f_logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/spring-social-showcase/src/main/resources/static/social/facebook/f_logo.jpg -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/static/social/twitter/t_logo-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/spring-social-showcase/src/main/resources/static/social/twitter/t_logo-a.png -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/resources/social/facebook/f_logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-popup/src/main/webapp/resources/social/facebook/f_logo.jpg -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/resources/social/twitter/t_logo-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-popup/src/main/webapp/resources/social/twitter/t_logo-a.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/webapp/resources/messages/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec/src/main/webapp/resources/messages/error.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/webapp/resources/messages/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec/src/main/webapp/resources/messages/success.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/webapp/resources/messages/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec/src/main/webapp/resources/messages/warning.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/resources/messages/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-xml/src/main/webapp/resources/messages/error.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/resources/messages/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-xml/src/main/webapp/resources/messages/success.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/resources/messages/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-xml/src/main/webapp/resources/messages/warning.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/static/messages/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-implicit/src/main/resources/static/messages/info.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/resources/messages/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec-xml/src/main/webapp/resources/messages/error.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/resources/messages/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec-xml/src/main/webapp/resources/messages/info.png -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/webapp/resources/social/facebook/f_logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase/src/main/webapp/resources/social/facebook/f_logo.jpg -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/webapp/resources/form.css: -------------------------------------------------------------------------------- 1 | form input, form select { 2 | display: block; 3 | } 4 | 5 | form input.movieChoice { 6 | display: inline; 7 | } 8 | 9 | span.error { 10 | color: #D8000C; 11 | } -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/resources/form.css: -------------------------------------------------------------------------------- 1 | form input, form select { 2 | display: block; 3 | } 4 | 5 | form input[type=checkbox] { 6 | display: inline; 7 | } 8 | 9 | span.error { 10 | color: #D8000C; 11 | } -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/static/messages/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-implicit/src/main/resources/static/messages/error.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/static/messages/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-implicit/src/main/resources/static/messages/success.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/static/messages/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-implicit/src/main/resources/static/messages/warning.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/resources/messages/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec-xml/src/main/webapp/resources/messages/success.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/resources/messages/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec-xml/src/main/webapp/resources/messages/warning.png -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/webapp/resources/social/twitter/t_logo-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase/src/main/webapp/resources/social/twitter/t_logo-a.png -------------------------------------------------------------------------------- /attic/spring-social-canvas/src/main/java/org/springframework/social/canvas/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Contains @Controllers that demonstrate quick-start application functionality. 3 | */ 4 | package org.springframework.social.canvas; 5 | -------------------------------------------------------------------------------- /attic/spring-social-canvas/src/main/java/org/springframework/social/canvas/user/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * A simple user authentication model supporting the canvas application. 3 | */ 4 | package org.springframework.social.canvas.user; 5 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/webapp/resources/social/facebook/f_logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec/src/main/webapp/resources/social/facebook/f_logo.jpg -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/webapp/resources/social/twitter/t_logo-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec/src/main/webapp/resources/social/twitter/t_logo-a.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/resources/social/facebook/f_logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-xml/src/main/webapp/resources/social/facebook/f_logo.jpg -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/resources/social/twitter/t_logo-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-xml/src/main/webapp/resources/social/twitter/t_logo-a.png -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/webapp/resources/form.css: -------------------------------------------------------------------------------- 1 | form input, form select { 2 | display: block; 3 | } 4 | 5 | form input[type=checkbox] { 6 | display: inline; 7 | } 8 | 9 | span.error { 10 | color: #D8000C; 11 | } -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/resources/form.css: -------------------------------------------------------------------------------- 1 | form input, form select { 2 | display: block; 3 | } 4 | 5 | form input[type=checkbox] { 6 | display: inline; 7 | } 8 | 9 | span.error { 10 | color: #D8000C; 11 | } -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/resources/social/facebook/f_logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec-xml/src/main/webapp/resources/social/facebook/f_logo.jpg -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/webapp/resources/form.css: -------------------------------------------------------------------------------- 1 | form input, form select { 2 | display: block; 3 | } 4 | 5 | form input[type=checkbox] { 6 | display: inline; 7 | } 8 | 9 | span.error { 10 | color: #D8000C; 11 | } -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/resources/form.css: -------------------------------------------------------------------------------- 1 | form input, form select { 2 | display: block; 3 | } 4 | 5 | form input[type=checkbox] { 6 | display: inline; 7 | } 8 | 9 | span.error { 10 | color: #D8000C; 11 | } -------------------------------------------------------------------------------- /spring-social-quickstart/src/main/java/org/springframework/social/quickstart/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Contains @Controllers that demonstrate quick-start application functionality. 3 | */ 4 | package org.springframework.social.quickstart; 5 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/static/social/twitter/connect-with-twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/spring-social-showcase/src/main/resources/static/social/twitter/connect-with-twitter.png -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/resources/social/twitter/connect-with-twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-popup/src/main/webapp/resources/social/twitter/connect-with-twitter.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/static/form.css: -------------------------------------------------------------------------------- 1 | form input, form select { 2 | display: block; 3 | } 4 | 5 | form input[type=checkbox] { 6 | display: inline; 7 | } 8 | 9 | span.error { 10 | color: #D8000C; 11 | } -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/static/social/facebook/f_logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-implicit/src/main/resources/static/social/facebook/f_logo.jpg -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/static/social/twitter/t_logo-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-implicit/src/main/resources/static/social/twitter/t_logo-a.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/resources/social/twitter/t_logo-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec-xml/src/main/webapp/resources/social/twitter/t_logo-a.png -------------------------------------------------------------------------------- /spring-social-quickstart/src/main/java/org/springframework/social/quickstart/user/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * A simple user authentication model supporting the quickstart application. 3 | */ 4 | package org.springframework.social.quickstart.user; 5 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/static/social/facebook/sign-in-with-facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/spring-social-showcase/src/main/resources/static/social/facebook/sign-in-with-facebook.png -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/static/social/twitter/sign-in-with-twitter-d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/spring-social-showcase/src/main/resources/static/social/twitter/sign-in-with-twitter-d.png -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/resources/social/facebook/sign-in-with-facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-popup/src/main/webapp/resources/social/facebook/sign-in-with-facebook.png -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/resources/social/twitter/sign-in-with-twitter-d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-popup/src/main/webapp/resources/social/twitter/sign-in-with-twitter-d.png -------------------------------------------------------------------------------- /attic/spring-social-quickstart-3.0.x/src/main/java/org/springframework/social/quickstart/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Contains @Controllers that demonstrate quick-start application functionality. 3 | */ 4 | package org.springframework.social.quickstart; 5 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/webapp/resources/social/twitter/connect-with-twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase/src/main/webapp/resources/social/twitter/connect-with-twitter.png -------------------------------------------------------------------------------- /attic/spring-social-canvas/src/main/webapp/WEB-INF/views/signin.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/WEB-INF/views/connect/twitterOptions.jsp: -------------------------------------------------------------------------------- 1 |

2 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/webapp/resources/social/facebook/sign-in-with-facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase/src/main/webapp/resources/social/facebook/sign-in-with-facebook.png -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/webapp/resources/social/twitter/sign-in-with-twitter-d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase/src/main/webapp/resources/social/twitter/sign-in-with-twitter-d.png -------------------------------------------------------------------------------- /attic/spring-social-twitter4j/src/main/webapp/resources/social/twitter/connect-with-twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-twitter4j/src/main/webapp/resources/social/twitter/connect-with-twitter.png -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/static/social/facebook/connect_light_medium_short.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/spring-social-showcase/src/main/resources/static/social/facebook/connect_light_medium_short.gif -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/resources/social/facebook/connect_light_medium_short.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-popup/src/main/webapp/resources/social/facebook/connect_light_medium_short.gif -------------------------------------------------------------------------------- /attic/spring-social-quickstart-3.0.x/src/main/java/org/springframework/social/quickstart/user/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * A simple user authentication model supporting the quickstart application. 3 | */ 4 | package org.springframework.social.quickstart.user; 5 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/webapp/resources/social/twitter/connect-with-twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec/src/main/webapp/resources/social/twitter/connect-with-twitter.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/resources/social/twitter/connect-with-twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-xml/src/main/webapp/resources/social/twitter/connect-with-twitter.png -------------------------------------------------------------------------------- /attic/spring-social-twitter4j/src/main/webapp/resources/social/twitter/sign-in-with-twitter-d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-twitter4j/src/main/webapp/resources/social/twitter/sign-in-with-twitter-d.png -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/schema.sql: -------------------------------------------------------------------------------- 1 | create table Account (id identity, 2 | username varchar unique, 3 | password varchar not null, 4 | firstName varchar not null, 5 | lastName varchar not null, 6 | primary key (id)); 7 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/webapp/resources/social/facebook/sign-in-with-facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec/src/main/webapp/resources/social/facebook/sign-in-with-facebook.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/webapp/resources/social/twitter/sign-in-with-twitter-d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec/src/main/webapp/resources/social/twitter/sign-in-with-twitter-d.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/resources/social/facebook/sign-in-with-facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-xml/src/main/webapp/resources/social/facebook/sign-in-with-facebook.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/resources/social/twitter/sign-in-with-twitter-d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-xml/src/main/webapp/resources/social/twitter/sign-in-with-twitter-d.png -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/webapp/resources/social/facebook/connect_light_medium_short.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase/src/main/webapp/resources/social/facebook/connect_light_medium_short.gif -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/static/social/twitter/connect-with-twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-implicit/src/main/resources/static/social/twitter/connect-with-twitter.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/resources/social/facebook/sign-in-with-facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec-xml/src/main/webapp/resources/social/facebook/sign-in-with-facebook.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/resources/social/twitter/connect-with-twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec-xml/src/main/webapp/resources/social/twitter/connect-with-twitter.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/resources/social/twitter/sign-in-with-twitter-d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec-xml/src/main/webapp/resources/social/twitter/sign-in-with-twitter-d.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/resources/org/springframework/social/showcase/config/application.properties: -------------------------------------------------------------------------------- 1 | facebook.clientId={{INSERT CLIENT ID HERE}} 2 | facebook.clientSecret={{INSERT CLIENT SECRET HERE}} 3 | facebook.appNamespace={{INSERT APP NAMESPACE HERE}} 4 | -------------------------------------------------------------------------------- /attic/spring-social-twitter4j/src/main/webapp/resources/social/facebook/connect_light_medium_short.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-twitter4j/src/main/webapp/resources/social/facebook/connect_light_medium_short.gif -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/static/social/linkedin/connect_with_linkedin-logo-150x150.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/spring-social-showcase/src/main/resources/static/social/linkedin/connect_with_linkedin-logo-150x150.jpg -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/static/social/facebook/sign-in-with-facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-implicit/src/main/resources/static/social/facebook/sign-in-with-facebook.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/static/social/twitter/sign-in-with-twitter-d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-implicit/src/main/resources/static/social/twitter/sign-in-with-twitter-d.png -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/webapp/resources/social/facebook/connect_light_medium_short.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec/src/main/webapp/resources/social/facebook/connect_light_medium_short.gif -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/resources/social/facebook/connect_light_medium_short.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-xml/src/main/webapp/resources/social/facebook/connect_light_medium_short.gif -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/resources/social/facebook/connect_light_medium_short.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec-xml/src/main/webapp/resources/social/facebook/connect_light_medium_short.gif -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/webapp/resources/social/linkedin/connect_with_linkedin-logo-150x150.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase/src/main/webapp/resources/social/linkedin/connect_with_linkedin-logo-150x150.jpg -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/data.sql: -------------------------------------------------------------------------------- 1 | insert into Account (username, password, firstName, lastName) values ('habuma', 'tacos', 'Craig', 'Walls'); 2 | insert into Account (username, password, firstName, lastName) values ('rclarkson', 'atlanta', 'Roy', 'Clarkson'); 3 | 4 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/java/org/springframework/social/movies/account/Account.sql: -------------------------------------------------------------------------------- 1 | create table Account (username varchar unique, 2 | password varchar not null, 3 | firstName varchar not null, 4 | lastName varchar not null, 5 | primary key (username)); 6 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/static/social/facebook/connect_light_medium_short.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-implicit/src/main/resources/static/social/facebook/connect_light_medium_short.gif -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/webapp/resources/social/linkedin/connect_with_linkedin-logo-150x150.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec/src/main/webapp/resources/social/linkedin/connect_with_linkedin-logo-150x150.jpg -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/resources/social/linkedin/connect_with_linkedin-logo-150x150.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-xml/src/main/webapp/resources/social/linkedin/connect_with_linkedin-logo-150x150.jpg -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/java/org/springframework/social/popup/account/Account.sql: -------------------------------------------------------------------------------- 1 | create table Account (id identity, 2 | username varchar unique, 3 | password varchar not null, 4 | firstName varchar not null, 5 | lastName varchar not null, 6 | primary key (id)); 7 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/static/social/linkedin/connect_with_linkedin-logo-150x150.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-implicit/src/main/resources/static/social/linkedin/connect_with_linkedin-logo-150x150.jpg -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/resources/social/linkedin/connect_with_linkedin-logo-150x150.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/spring-social-samples/HEAD/attic/spring-social-showcase-sec-xml/src/main/webapp/resources/social/linkedin/connect_with_linkedin-logo-150x150.jpg -------------------------------------------------------------------------------- /attic/spring-social-twitter4j/src/main/java/org/springframework/social/showcase/account/Account.sql: -------------------------------------------------------------------------------- 1 | create table Account (id identity, 2 | username varchar unique, 3 | password varchar not null, 4 | firstName varchar not null, 5 | lastName varchar not null, 6 | primary key (id)); 7 | -------------------------------------------------------------------------------- /spring-social-showcase/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sat Sep 06 17:09:52 CDT 2014 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-bin.zip 7 | -------------------------------------------------------------------------------- /attic/spring-social-canvas/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Apr 23 10:52:01 CDT 2014 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-bin.zip 7 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/java/org/springframework/social/popup/config/application.properties: -------------------------------------------------------------------------------- 1 | facebook.clientId={{REPLACE WITH CLIENT ID}} 2 | facebook.clientSecret={{REPLACE WITH CLIENT SECRET}} 3 | twitter.consumerKey={{REPLACE WITH CONSUMER KEY}} 4 | twitter.consumerSecret={{REPLACE WITH CONSUMER SECRET}} 5 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/java/org/springframework/social/showcase/account/Account.sql: -------------------------------------------------------------------------------- 1 | create table Account (id identity, 2 | username varchar unique, 3 | password varchar not null, 4 | firstName varchar not null, 5 | lastName varchar not null, 6 | primary key (id)); 7 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/resources/org/springframework/social/showcase/account/Account.sql: -------------------------------------------------------------------------------- 1 | create table Account (id identity, 2 | username varchar unique, 3 | password varchar not null, 4 | firstName varchar not null, 5 | lastName varchar not null, 6 | primary key (id)); 7 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/resources/org/springframework/social/showcase/account/Account.sql: -------------------------------------------------------------------------------- 1 | create table Account (id identity, 2 | username varchar unique, 3 | password varchar not null, 4 | firstName varchar not null, 5 | lastName varchar not null, 6 | primary key (id)); 7 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Mar 11 12:47:24 CDT 2014 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-bin.zip 7 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/resources/org/springframework/social/showcase/account/Account.sql: -------------------------------------------------------------------------------- 1 | create table Account (id identity, 2 | username varchar unique, 3 | password varchar not null, 4 | firstName varchar not null, 5 | lastName varchar not null, 6 | primary key (id)); 7 | -------------------------------------------------------------------------------- /spring-social-quickstart/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Apr 23 09:45:59 CDT 2014 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-bin.zip 7 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Mar 11 13:27:39 CDT 2014 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-bin.zip 7 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | facebook.appKey={{SEE README}} 2 | facebook.appSecret={{SEE README}} 3 | facebook.appNamespace={{SEE README}} 4 | twitter.appKey={{SEE README}} 5 | twitter.appSecret={{SEE README}} 6 | linkedin.appKey={{SEE README}} 7 | linkedin.appSecret={{SEE README}} 8 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | social: 3 | facebook: 4 | app-id: 962223610477458 5 | app-secret: b7dfec28b08ac4e8c2a09cbac4662c15 6 | twitter: 7 | app-id: yix4Ai9xDbWBKV3yFPFGs8Nkf 8 | app-secret: 9rXtdeYe5v3wmGR5E96ubiXRDeWzZFgRt2ZYdgSKeQFivw0OtD 9 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/messages.properties: -------------------------------------------------------------------------------- 1 | twitter.icon=/social/twitter/t_logo-a.png 2 | twitter.displayName=Twitter 3 | facebook.icon=/social/facebook/f_logo.jpg 4 | facebook.displayName=Facebook 5 | linkedin.icon=/social/linkedin/connect_with_linkedin-logo-150x150.jpg 6 | linkedin.displayName=LinkedIn 7 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Sep 22 13:52:04 CDT 2014 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-bin.zip 7 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | facebook.appKey={{SEE README}} 2 | facebook.appSecret={{SEE README}} 3 | facebook.appNamespace={{SEE README}} 4 | twitter.appKey={{SEE README}} 5 | twitter.appSecret={{SEE README}} 6 | linkedin.appKey={{SEE README}} 7 | linkedin.appSecret={{SEE README}} 8 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/resources/org/springframework/social/showcase/account/data.sql: -------------------------------------------------------------------------------- 1 | insert into Account (username, password, firstName, lastName) values ('habuma', 'freebirds', 'Craig', 'Walls'); 2 | insert into Account (username, password, firstName, lastName) values ('rclarkson', 'atlanta', 'Roy', 'Clarkson'); 3 | 4 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/WEB-INF/views/connect/facebookOptions.jsp: -------------------------------------------------------------------------------- 1 | 2 |

3 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/java/org/springframework/social/showcase/config/SecurityWebInitializer.java: -------------------------------------------------------------------------------- 1 | package org.springframework.social.showcase.config; 2 | 3 | import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer; 4 | 5 | public class SecurityWebInitializer extends AbstractSecurityWebApplicationInitializer { 6 | } 7 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/webapp/WEB-INF/messages/messages.properties: -------------------------------------------------------------------------------- 1 | twitter.icon=/resources/social/twitter/t_logo-a.png 2 | twitter.displayName=Twitter 3 | facebook.icon=/resources/social/facebook/f_logo.jpg 4 | facebook.displayName=Facebook 5 | linkedin.icon=/resources/social/linkedin/connect_with_linkedin-logo-150x150.jpg 6 | linkedin.displayName=LinkedIn 7 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/webapp/WEB-INF/messages/messages.properties: -------------------------------------------------------------------------------- 1 | twitter.icon=/resources/social/twitter/t_logo-a.png 2 | twitter.displayName=Twitter 3 | facebook.icon=/resources/social/facebook/f_logo.jpg 4 | facebook.displayName=Facebook 5 | linkedin.icon=/resources/social/linkedin/connect_with_linkedin-logo-150x150.jpg 6 | linkedin.displayName=LinkedIn 7 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/messages/messages.properties: -------------------------------------------------------------------------------- 1 | twitter.icon=/resources/social/twitter/t_logo-a.png 2 | twitter.displayName=Twitter 3 | facebook.icon=/resources/social/facebook/f_logo.jpg 4 | facebook.displayName=Facebook 5 | linkedin.icon=/resources/social/linkedin/connect_with_linkedin-logo-150x150.jpg 6 | linkedin.displayName=LinkedIn 7 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/messages/messages.properties: -------------------------------------------------------------------------------- 1 | twitter.icon=/resources/social/twitter/t_logo-a.png 2 | twitter.displayName=Twitter 3 | facebook.icon=/resources/social/facebook/f_logo.jpg 4 | facebook.displayName=Facebook 5 | linkedin.icon=/resources/social/linkedin/connect_with_linkedin-logo-150x150.jpg 6 | linkedin.displayName=LinkedIn 7 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/java/org/springframework/social/movies/review/Review.sql: -------------------------------------------------------------------------------- 1 | create table Review (id identity, 2 | movieTitle varchar not null, 3 | author varchar not null, 4 | text varchar not null, 5 | netflixId varchar not null, 6 | submitted timestamp not null, 7 | primary key (id), 8 | foreign key (author) references Account(username)); 9 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/WEB-INF/messages/messages.properties: -------------------------------------------------------------------------------- 1 | twitter.icon=/resources/social/twitter/t_logo-a.png 2 | twitter.button=/resources/social/twitter/connect-with-twitter.png 3 | twitter.displayName=Twitter 4 | facebook.icon=/resources/social/facebook/f_logo.jpg 5 | facebook.button=/resources/social/facebook/connect_light_medium_short.gif 6 | facebook.displayName=Facebook 7 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/java/org/springframework/social/movies/account/data.sql: -------------------------------------------------------------------------------- 1 | insert into Account (username, password, firstName, lastName) values ('habuma', 'freebirds', 'Craig', 'Walls'); 2 | insert into Account (username, password, firstName, lastName) values ('kdonald', 'melbourne', 'Keith', 'Donald'); 3 | insert into Account (username, password, firstName, lastName) values ('rclarkson', 'atlanta', 'Roy', 'Clarkson'); 4 | 5 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/java/org/springframework/social/popup/account/data.sql: -------------------------------------------------------------------------------- 1 | insert into Account (username, password, firstName, lastName) values ('habuma', 'freebirds', 'Craig', 'Walls'); 2 | insert into Account (username, password, firstName, lastName) values ('kdonald', 'melbourne', 'Keith', 'Donald'); 3 | insert into Account (username, password, firstName, lastName) values ('rclarkson', 'atlanta', 'Roy', 'Clarkson'); 4 | 5 | -------------------------------------------------------------------------------- /attic/spring-social-twitter4j/src/main/java/org/springframework/social/showcase/account/data.sql: -------------------------------------------------------------------------------- 1 | insert into Account (username, password, firstName, lastName) values ('habuma', 'freebirds', 'Craig', 'Walls'); 2 | insert into Account (username, password, firstName, lastName) values ('kdonald', 'melbourne', 'Keith', 'Donald'); 3 | insert into Account (username, password, firstName, lastName) values ('rclarkson', 'atlanta', 'Roy', 'Clarkson'); 4 | 5 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/webapp/WEB-INF/layouts/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/WEB-INF/layouts/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/resources/org/springframework/social/showcase/account/data.sql: -------------------------------------------------------------------------------- 1 | insert into Account (username, password, firstName, lastName) values ('habuma', 'freebirds', 'Craig', 'Walls'); 2 | insert into Account (username, password, firstName, lastName) values ('kdonald', 'melbourne', 'Keith', 'Donald'); 3 | insert into Account (username, password, firstName, lastName) values ('rclarkson', 'atlanta', 'Roy', 'Clarkson'); 4 | 5 | -------------------------------------------------------------------------------- /spring-social-quickstart/src/main/resources/views/signin.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Sign In 5 | 6 | 7 |
8 | 9 | 10 |
11 | 12 | 13 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/java/org/springframework/social/showcase/account/data.sql: -------------------------------------------------------------------------------- 1 | insert into Account (username, password, firstName, lastName) values ('habuma', 'freebirds', 'Craig', 'Walls'); 2 | insert into Account (username, password, firstName, lastName) values ('kdonald', 'melbourne', 'Keith', 'Donald'); 3 | insert into Account (username, password, firstName, lastName) values ('rclarkson', 'atlanta', 'Roy', 'Clarkson'); 4 | 5 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/resources/org/springframework/social/showcase/account/data.sql: -------------------------------------------------------------------------------- 1 | insert into Account (username, password, firstName, lastName) values ('habuma', 'freebirds', 'Craig', 'Walls'); 2 | insert into Account (username, password, firstName, lastName) values ('kdonald', 'melbourne', 'Keith', 'Donald'); 3 | insert into Account (username, password, firstName, lastName) values ('rclarkson', 'atlanta', 'Roy', 'Clarkson'); 4 | 5 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/layouts/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /attic/spring-social-canvas/src/main/webapp/WEB-INF/views/friends.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Home 5 | 6 | 7 |

Your Facebook Friends

8 | 11 | 12 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/layouts/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/views/home/home.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Welcome, !

7 | 8 | ">Sign Out 9 | 10 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/home/home.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Welcome, !

7 | 8 | ">Sign Out 9 | 10 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/webapp/WEB-INF/views/home/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/WEB-INF/views/home/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/views/home/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/webapp/WEB-INF/views/signin/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/webapp/WEB-INF/views/signup/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/WEB-INF/views/signin/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/WEB-INF/views/signup/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/home/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/views/signin/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/views/signup/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/WEB-INF/views/connect/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/WEB-INF/views/twitter/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/signin/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/signup/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/WEB-INF/views/facebook/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/java/org/springframework/social/showcase/config/application.properties: -------------------------------------------------------------------------------- 1 | facebook.clientId={{REPLACE WITH CLIENT ID}} 2 | facebook.clientSecret={{REPLACE WITH CLIENT SECRET}} 3 | facebook.appNamespace={{REPLACE WITH APPLICATION NAMESPACE}} 4 | twitter.consumerKey={{REPLACE WITH CONSUMER KEY}} 5 | twitter.consumerSecret={{REPLACE WITH CONSUMER SECRET}} 6 | linkedin.consumerKey={{REPLACE WITH CONSUMER KEY}} 7 | linkedin.consumerSecret={{REPLACE WITH CONSUMER SECRET}} 8 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/linkedin/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /spring-social-quickstart/src/main/resources/views/home.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Home 5 | 6 | 7 | 10 |

Your Facebook Friends

11 | 14 | 15 | -------------------------------------------------------------------------------- /attic/spring-social-quickstart-3.0.x/src/main/webapp/WEB-INF/views/signin.jsp: -------------------------------------------------------------------------------- 1 | <%@ page session="false" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 3 | 4 | 5 | Sign In 6 | 7 | 8 |
" method="POST"> 9 | 10 | 11 |
12 | 13 | 14 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/WEB-INF/views/home/home.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Welcome, !

7 | 8 |

Manage your connections by clicking on the "Connections" link to the left.

9 | 10 | ">Sign Out 11 | 12 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/views/facebook/album.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Your Facebook Photo Album:

7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/facebook/album.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Your Facebook Photo Album:

7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /attic/spring-social-canvas/gradle.properties: -------------------------------------------------------------------------------- 1 | cglibVersion = 2.2 2 | h2Version = 1.3.175 3 | hibernateValidatorVersion = 4.1.0.Final 4 | httpclientVersion = 4.3.1 5 | javaxInjectVersion = 1 6 | javaxValidationVersion = 1.0.0.GA 7 | log4jVersion = 1.2.16 8 | servletApiVersion = 3.0.1 9 | slf4jVersion = 1.7.5 10 | springSecurityVersion = 3.2.3.RELEASE 11 | springSocialVersion = 1.1.0.RELEASE 12 | springSocialFacebookVersion = 1.1.0.RELEASE 13 | springVersion = 4.0.3.RELEASE 14 | thymeleafVersion = 2.1.2.RELEASE 15 | thymeleafLayoutVersion = 1.2.2 16 | tomcatVersion = 7.0.42 -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/schema.sql: -------------------------------------------------------------------------------- 1 | create table UserConnection (userId varchar(255) not null, 2 | providerId varchar(255) not null, 3 | providerUserId varchar(255), 4 | rank int not null, 5 | displayName varchar(255), 6 | profileUrl varchar(512), 7 | imageUrl varchar(512), 8 | accessToken varchar(255) not null, 9 | secret varchar(255), 10 | refreshToken varchar(255), 11 | expireTime bigint, 12 | primary key (userId, providerId, providerUserId)); 13 | create unique index UserConnectionRank on UserConnection(userId, providerId, rank); -------------------------------------------------------------------------------- /spring-social-quickstart/gradle.properties: -------------------------------------------------------------------------------- 1 | cglibVersion = 2.2 2 | h2Version = 1.3.175 3 | hibernateValidatorVersion = 4.1.0.Final 4 | httpclientVersion = 4.3.1 5 | javaxInjectVersion = 1 6 | javaxValidationVersion = 1.0.0.GA 7 | log4jVersion = 1.2.16 8 | servletApiVersion = 3.0.1 9 | slf4jVersion = 1.7.5 10 | springSecurityVersion = 3.2.3.RELEASE 11 | springSocialVersion = 1.1.1.BUILD-SNAPSHOT 12 | springSocialFacebookVersion = 2.0.0.RELEASE 13 | springVersion = 4.0.3.RELEASE 14 | thymeleafVersion = 2.1.2.RELEASE 15 | thymeleafLayoutVersion = 1.2.2 16 | tomcatVersion = 7.0.42 -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/views/facebook/albums.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Your Facebook Photo Albums

7 | 8 | 13 | -------------------------------------------------------------------------------- /attic/spring-social-popup/README.md: -------------------------------------------------------------------------------- 1 | Spring Social Popup 2 | =================== 3 | This sample app demonstrates capabilities of the Spring Social project, including: 4 | * Connect to Facebook 5 | * Connect to Twitter 6 | * Handling the connection flow in popup windows 7 | 8 | To run, simply import the project into your IDE and deploy to a Servlet 2.5 or > container such as Tomcat 6 or 7. 9 | Access the project at http://localhost:8080/spring-social-popup 10 | 11 | Discuss at forum.springsource.org and collaborate with the development team at jira.springframework.org/browse/SOCIAL. 12 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/facebook/albums.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Your Facebook Photo Albums

7 | 8 | 13 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/java/org/springframework/social/showcase/config/ShowcaseServletInitializer.java: -------------------------------------------------------------------------------- 1 | package org.springframework.social.showcase.config; 2 | 3 | import org.springframework.boot.builder.SpringApplicationBuilder; 4 | import org.springframework.boot.context.web.SpringBootServletInitializer; 5 | 6 | public class ShowcaseServletInitializer extends SpringBootServletInitializer { 7 | 8 | @Override 9 | protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { 10 | application.sources(Application.class); 11 | return application; 12 | } 13 | 14 | } -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/views/facebook/friends.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Your Facebook Friends

7 | 8 | 13 | -------------------------------------------------------------------------------- /attic/spring-social-quickstart-3.0.x/src/main/webapp/WEB-INF/views/home.jsp: -------------------------------------------------------------------------------- 1 | <%@ page session="false" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 3 | 4 | 5 | Home 6 | 7 | 8 | 11 |

Your Facebook Friends

12 | 17 | 18 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/facebook/friends.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Your Facebook Friends

7 | 8 | 13 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/WEB-INF/layouts/menu.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://www.springframework.org/tags" prefix="s" %> 3 | <%@ taglib uri="http://www.springframework.org/spring-social/social/tags" prefix="social" %> 4 | 5 |

">Connections

6 | 7 | 8 |

">Twitter

9 |
10 | 11 | 12 |

">Facebook

13 |
14 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/WEB-INF/views/facebook/profile.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Your Facebook Profile

7 |

Hello, !

8 |
9 |
Facebook ID:
10 |
11 |
Name:
12 |
13 |
Email:
14 |
15 |
16 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/webapp/WEB-INF/views/review/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/gradle.properties: -------------------------------------------------------------------------------- 1 | cglibVersion = 2.2 2 | h2Version = 1.3.175 3 | hibernateValidatorVersion = 4.1.0.Final 4 | httpclientVersion = 4.3.1 5 | javaxInjectVersion = 1 6 | javaxValidationVersion = 1.0.0.GA 7 | log4jVersion = 1.2.16 8 | servletApiVersion = 3.0.1 9 | slf4jVersion = 1.7.5 10 | springSecurityVersion = 3.2.3.RELEASE 11 | springSocialVersion = 1.1.2.RELEASE 12 | springSocialFacebookVersion = 2.0.1.RELEASE 13 | springSocialTwitterVersion = 1.1.0.RELEASE 14 | springSocialLinkedInVersion = 1.0.0.RELEASE 15 | springVersion = 4.0.3.RELEASE 16 | thymeleafVersion = 2.1.2.RELEASE 17 | thymeleafLayoutVersion = 1.2.2 18 | tomcatVersion = 7.0.42 -------------------------------------------------------------------------------- /attic/spring-social-movies/README.md: -------------------------------------------------------------------------------- 1 | Spring Social Movies 2 | ==================== 3 | This sample app demonstrates how to create a new service provider implementation along with a new 4 | Java binding to the service's REST API. Specifically, this sample includes a service provider 5 | implementation and API binding for interacting with NetFlix' REST API. 6 | 7 | To run, simply import the project into your IDE and deploy to a Servlet 2.5 or > container such as Tomcat 6 or 7. 8 | Access the project at http://localhost:8080/spring-social-movies 9 | 10 | Discuss at forum.springsource.org and collaborate with the development team at jira.springframework.org/browse/SOCIAL. 11 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/java/org/springframework/social/showcase/security/FacebookAuthenticationService.java: -------------------------------------------------------------------------------- 1 | package org.springframework.social.showcase.security; 2 | 3 | import org.springframework.social.facebook.api.Facebook; 4 | import org.springframework.social.facebook.connect.FacebookConnectionFactory; 5 | import org.springframework.social.security.provider.OAuth2AuthenticationService; 6 | 7 | public class FacebookAuthenticationService extends OAuth2AuthenticationService { 8 | 9 | public FacebookAuthenticationService(String apiKey, String appSecret) { 10 | super(new FacebookConnectionFactory(apiKey, appSecret)); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/gradle.properties: -------------------------------------------------------------------------------- 1 | cglibVersion = 2.2 2 | h2Version = 1.3.175 3 | hibernateValidatorVersion = 4.1.0.Final 4 | httpclientVersion = 4.3.1 5 | javaxInjectVersion = 1 6 | javaxValidationVersion = 1.0.0.GA 7 | log4jVersion = 1.2.16 8 | servletApiVersion = 3.0.1 9 | slf4jVersion = 1.7.5 10 | springSecurityVersion = 4.0.0.RELEASE 11 | springSocialVersion = 1.1.1.BUILD-SNAPSHOT 12 | springSocialFacebookVersion = 2.0.0.RELEASE 13 | springSocialTwitterVersion = 1.1.0.RELEASE 14 | springSocialLinkedInVersion = 1.0.0.RELEASE 15 | springVersion = 4.0.3.RELEASE 16 | thymeleafVersion = 2.1.2.RELEASE 17 | thymeleafLayoutVersion = 1.2.2 18 | tomcatVersion = 7.0.42 -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/java/org/springframework/social/showcase/security/FacebookAuthenticationService.java: -------------------------------------------------------------------------------- 1 | package org.springframework.social.showcase.security; 2 | 3 | import org.springframework.social.facebook.api.Facebook; 4 | import org.springframework.social.facebook.connect.FacebookConnectionFactory; 5 | import org.springframework.social.security.provider.OAuth2AuthenticationService; 6 | 7 | public class FacebookAuthenticationService extends OAuth2AuthenticationService { 8 | 9 | public FacebookAuthenticationService(String apiKey, String appSecret) { 10 | super(new FacebookConnectionFactory(apiKey, appSecret)); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/webapp/WEB-INF/views/connect/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/connect/twitterConnected.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ page session="false" %> 3 | 4 |

Connected to Twitter

5 | 6 |
7 |
8 |

The Spring Social Showcase sample application is already connected to your Twitter account. 9 | Click the button if you wish to disconnect. 10 |

11 | 12 | 13 | 14 |
15 | 16 |

">View your Twitter profile

17 | 18 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/webapp/WEB-INF/views/connect/netflixConnected.jsp: -------------------------------------------------------------------------------- 1 | <%@ page session="false" %> 2 | <%@ taglib uri="http://www.springframework.org/tags" prefix="s" %> 3 | 4 |

Connected to NetFlix

5 | 6 |
7 |
8 |

The Spring Social NetFlix Sample application is already connected to your NetFlix account. 9 | Click the button if you wish to disconnect. 10 |

11 | 12 | 13 | 14 |
15 | 16 |

">Return to home page

17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/connect/linkedinConnected.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ page session="false" %> 3 | 4 |

Connected to LinkedIn

5 | 6 |
7 |
8 |

The Spring Social Showcase sample application is already connected to your LinkedIn account. 9 | Click the button if you wish to disconnect. 10 |

11 | 12 | 13 | 14 |
15 | 16 |

">View your LinkedIn profile

17 | 18 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/webapp/WEB-INF/views/review/form.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Write a review

7 | 8 |
9 | 10 | 11 |

What did you think about ${review.movieTitle} ?

12 | 13 | 14 |
15 | 16 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/java/org/springframework/social/showcase/config/Application.java: -------------------------------------------------------------------------------- 1 | package org.springframework.social.showcase.config; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.EnableAutoConfiguration; 5 | import org.springframework.boot.context.properties.EnableConfigurationProperties; 6 | import org.springframework.context.annotation.ComponentScan; 7 | 8 | @ComponentScan(basePackages="org.springframework.social.showcase") 9 | @EnableConfigurationProperties 10 | @EnableAutoConfiguration 11 | public class Application { 12 | public static void main(String[] args) { 13 | SpringApplication.run(Application.class, args); 14 | } 15 | 16 | } -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/connect/facebookConnected.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://www.springframework.org/tags" prefix="s" %> 3 | <%@ page session="false" %> 4 | 5 |

Connected to Facebook

6 | 7 |
8 |
9 |

10 | Spring Social Showcase is connected to your Facebook account. 11 | Click the button if you wish to disconnect. 12 |

13 |
14 | 15 | 16 |
17 | 18 | ">View your Facebook profile 19 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/java/org/springframework/social/showcase/ExceptionHandlingControllerAdvice.java: -------------------------------------------------------------------------------- 1 | package org.springframework.social.showcase; 2 | 3 | import org.springframework.social.RateLimitExceededException; 4 | import org.springframework.ui.Model; 5 | import org.springframework.web.bind.annotation.ControllerAdvice; 6 | import org.springframework.web.bind.annotation.ExceptionHandler; 7 | 8 | @ControllerAdvice 9 | public class ExceptionHandlingControllerAdvice { 10 | 11 | @ExceptionHandler(RateLimitExceededException.class) 12 | public String rateLimitExceeded(RateLimitExceededException e, Model model) { 13 | model.addAttribute("providerId", e.getProviderId()); 14 | return "ratelimit"; 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/templates/ratelimit.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 13 | 14 |
15 |

Rate limit exceeded

16 |

Sorry, but the rate limit for accessing has been exceeded. Please try again later.

17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/twitter/trends.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ taglib uri="http://www.springframework.org/tags" prefix="s" %> 5 | <%@ page session="false" %> 6 | 7 |

Daily Twitter Trends

8 | 9 | 10 | 11 | 12 | 13 |
14 |
-------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/java/org/springframework/social/showcase/ExceptionHandlingControllerAdvice.java: -------------------------------------------------------------------------------- 1 | package org.springframework.social.showcase; 2 | 3 | import org.springframework.social.RateLimitExceededException; 4 | import org.springframework.ui.Model; 5 | import org.springframework.web.bind.annotation.ControllerAdvice; 6 | import org.springframework.web.bind.annotation.ExceptionHandler; 7 | 8 | @ControllerAdvice 9 | public class ExceptionHandlingControllerAdvice { 10 | 11 | @ExceptionHandler(RateLimitExceededException.class) 12 | public String rateLimitExceeded(RateLimitExceededException e, Model model) { 13 | model.addAttribute("providerId", e.getProviderId()); 14 | return "ratelimit"; 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/java/org/springframework/social/showcase/ExceptionHandlingControllerAdvice.java: -------------------------------------------------------------------------------- 1 | package org.springframework.social.showcase; 2 | 3 | import org.springframework.social.RateLimitExceededException; 4 | import org.springframework.ui.Model; 5 | import org.springframework.web.bind.annotation.ControllerAdvice; 6 | import org.springframework.web.bind.annotation.ExceptionHandler; 7 | 8 | @ControllerAdvice 9 | public class ExceptionHandlingControllerAdvice { 10 | 11 | @ExceptionHandler(RateLimitExceededException.class) 12 | public String rateLimitExceeded(RateLimitExceededException e, Model model) { 13 | model.addAttribute("providerId", e.getProviderId()); 14 | return "ratelimit"; 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /attic/spring-social-twitter4j/src/main/webapp/WEB-INF/views/home.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 |

Spring Social Showcase: Extending with an Existing API

11 | 12 |

Welcome, !

13 | 14 | ">Sign Out 15 | 16 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/java/org/springframework/social/showcase/config/H2ConsoleWebInitializer.java: -------------------------------------------------------------------------------- 1 | package org.springframework.social.showcase.config; 2 | 3 | import javax.servlet.ServletContext; 4 | import javax.servlet.ServletException; 5 | import javax.servlet.ServletRegistration.Dynamic; 6 | 7 | import org.h2.server.web.WebServlet; 8 | import org.springframework.web.WebApplicationInitializer; 9 | 10 | public class H2ConsoleWebInitializer implements WebApplicationInitializer { 11 | 12 | @Override 13 | public void onStartup(ServletContext container) throws ServletException { 14 | WebServlet h2Servlet = new WebServlet(); 15 | Dynamic dynamic = container.addServlet("H2Console", h2Servlet); 16 | dynamic.addMapping("/admin/h2/*"); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/java/org/springframework/social/showcase/security/AuthenticationUserIdExtractor.java: -------------------------------------------------------------------------------- 1 | package org.springframework.social.showcase.security; 2 | 3 | import org.springframework.security.core.Authentication; 4 | import org.springframework.security.core.context.SecurityContextHolder; 5 | import org.springframework.social.UserIdSource; 6 | 7 | public class AuthenticationUserIdExtractor implements UserIdSource { 8 | @Override 9 | public String getUserId() { 10 | Authentication authentication = SecurityContextHolder.getContext().getAuthentication(); 11 | if (authentication == null) { 12 | throw new IllegalStateException("Unable to get a ConnectionRepository: no user signed in"); 13 | } 14 | return authentication.getName(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/templates/facebook/albums.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 13 | 14 |
15 |

Your Facebook Photo Albums

16 | 17 |
    18 |
  • 19 |
20 |
21 | 22 | 23 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/webapp/WEB-INF/views/connect/netflixConnect.jsp: -------------------------------------------------------------------------------- 1 | <%@ page session="false" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 3 | <%@ taglib uri="http://www.springframework.org/tags" prefix="s" %> 4 | 5 |

Connect to NetFlix

6 | 7 |
" method="POST"> 8 |
9 |

You haven't created any connections with NetFlix yet. Click the button to connect Spring Social NetFlix Sample with your NetFlix account. 10 | (You'll be redirected to NetFlix where you'll be asked to authorize the connection.)

11 |
12 |

13 |
14 | 15 |

">Return to home page

16 | 17 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/webapp/resources/page.css: -------------------------------------------------------------------------------- 1 | 2 | body { 3 | font-family: "lucida grande", lucida, tahoma, helvetica, arial, sans-serif !important; 4 | } 5 | 6 | #recentReviews { 7 | position: absolute; 8 | top: auto; 9 | left: 0; 10 | width: 49%; 11 | background-color: #ffcc99; 12 | } 13 | 14 | #discQueue { 15 | position: absolute; 16 | left: auto; 17 | top: auto; 18 | right: 0; 19 | width: 49%; 20 | background-color: #ffffcc; 21 | } 22 | 23 | #header { 24 | margin: 0 auto; 25 | width: 100%; 26 | height: 92px; 27 | position: relative; 28 | display: block; 29 | background-color: #660000; 30 | } 31 | 32 | #header h1 { 33 | color: #ffcc99; 34 | } 35 | 36 | .queueItem { 37 | font-size: 10pt; 38 | } 39 | 40 | .queueReview { 41 | font-size: 8pt; 42 | } -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/java/org/springframework/social/showcase/security/AuthenticationUserIdExtractor.java: -------------------------------------------------------------------------------- 1 | package org.springframework.social.showcase.security; 2 | 3 | import org.springframework.security.core.Authentication; 4 | import org.springframework.security.core.context.SecurityContextHolder; 5 | import org.springframework.social.UserIdSource; 6 | 7 | public class AuthenticationUserIdExtractor implements UserIdSource { 8 | @Override 9 | public String getUserId() { 10 | Authentication authentication = SecurityContextHolder.getContext().getAuthentication(); 11 | if (authentication == null) { 12 | throw new IllegalStateException("Unable to get a ConnectionRepository: no user signed in"); 13 | } 14 | return authentication.getName(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/templates/facebook/album.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 13 | 14 |
15 |

Your Facebook Photo Album: album name

16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/templates/twitter/trends.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 13 | 14 |
15 |

Daily Twitter Trends

16 | 17 | 18 | trend name
19 |
20 |
21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/README.md: -------------------------------------------------------------------------------- 1 | Spring Social Showcase Security (XML) 2 | ===================================== 3 | This sample app demonstrates many of the capabilities of the Spring Social project, including: 4 | * Connect to Facebook 5 | * Connect to Twitter 6 | * Sign in using Facebook 7 | * Sign in using Twitter 8 | * Using SocialAuthenticationFilter for provider-signin instead of ProviderSignInController 9 | * Using Spring Social's XML configuration namespace 10 | 11 | To run, simply import the project into your IDE and deploy to a Servlet 2.5 or > container such as Tomcat 6 or 7. 12 | Access the project at http://localhost:8080/spring-social-showcase 13 | 14 | Discuss at forum.springsource.org and collaborate with the development team at jira.springframework.org/browse/SOCIAL. 15 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/layouts/menu.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://www.springframework.org/tags" prefix="s" %> 3 | <%@ taglib uri="http://www.springframework.org/spring-social/social/tags" prefix="social" %> 4 | 5 |

">Connections

6 | 7 |

">Facebook

8 | 9 | 15 | 16 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/webapp/WEB-INF/layouts/page.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://www.springframework.org/tags" prefix="s" %> 3 | <%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %> 4 | <%@ page session="false" %> 5 | 6 | 7 | Spring Social Movies Sample 8 | " type="text/css" media="screen" /> 9 | " type="text/css" media="screen" /> 10 | 11 | 12 | 15 | 16 |
17 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/connect/linkedinConnect.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Connect to LinkedIn

7 | 8 |
" method="POST"> 9 |
10 |

11 | You haven't created any connections with LinkedIn yet. Click the button to connect Spring Social Showcase with your LinkedIn account. 12 | (You'll be redirected to LinkedIn where you'll be asked to authorize the connection.) 13 |

14 |
15 |

16 |
17 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/README.md: -------------------------------------------------------------------------------- 1 | Spring Social Showcase XML 2 | ========================== 3 | This sample app is a clone of the spring-social-showcase sample, configured using a mix of Spring's 4 | XML-based and Java-based configuration. It was created primarily to demonstrate Spring Social 1.1's 5 | new XML configuration support. (Specifically, see social.xml.) 6 | 7 | This sample app demonstrates many of the capabilities of the Spring Social project, including: 8 | * Connect to Facebook 9 | * Sign in using Facebook 10 | 11 | To run, simply import the project into your IDE and deploy to a Servlet 2.5 or > container such as Tomcat 6 or 7. 12 | Access the project at http://localhost:8080/spring-social-showcase 13 | 14 | Discuss at forum.springsource.org and collaborate with the development team at jira.springframework.org/browse/SOCIAL. 15 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/resources/messages/messages.css: -------------------------------------------------------------------------------- 1 | div.info,div.success,div.warning,div.error { 2 | border: 1px solid; 3 | margin: 10px 0px; 4 | padding: 15px 10px 15px 50px; 5 | background-repeat: no-repeat; 6 | background-position: 10px center; 7 | } 8 | 9 | div.info { 10 | color: #00529B; 11 | background-color: #BDE5F8; 12 | background-image: url('info.png'); 13 | } 14 | 15 | div.success { 16 | color: #4F8A10; 17 | background-color: #DFF2BF; 18 | background-image: url('success.png'); 19 | } 20 | 21 | div.warning { 22 | color: #9F6000; 23 | background-color: #FEEFB3; 24 | background-image: url('warning.png'); 25 | } 26 | 27 | div.error { 28 | color: #D8000C; 29 | background-color: #FFBABA; 30 | background-image: url('error.png'); 31 | } 32 | 33 | span.success { 34 | color: #4F8A10; 35 | } 36 | 37 | span.error { 38 | color: #D8000C; 39 | } -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/static/messages/messages.css: -------------------------------------------------------------------------------- 1 | div.info,div.success,div.warning,div.error { 2 | border: 1px solid; 3 | margin: 10px 0px; 4 | padding: 15px 10px 15px 50px; 5 | background-repeat: no-repeat; 6 | background-position: 10px center; 7 | } 8 | 9 | div.info { 10 | color: #00529B; 11 | background-color: #BDE5F8; 12 | background-image: url('info.png'); 13 | } 14 | 15 | div.success { 16 | color: #4F8A10; 17 | background-color: #DFF2BF; 18 | background-image: url('success.png'); 19 | } 20 | 21 | div.warning { 22 | color: #9F6000; 23 | background-color: #FEEFB3; 24 | background-image: url('warning.png'); 25 | } 26 | 27 | div.error { 28 | color: #D8000C; 29 | background-color: #FFBABA; 30 | background-image: url('error.png'); 31 | } 32 | 33 | span.success { 34 | color: #4F8A10; 35 | } 36 | 37 | span.error { 38 | color: #D8000C; 39 | } -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/views/connect/facebookConnected.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://www.springframework.org/tags" prefix="s" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Connected to Facebook

7 | 8 | 9 |
10 |

11 | Spring Social Showcase is connected to your Facebook account. 12 | Click the button if you wish to disconnect. 13 |

14 |
15 | 16 | 17 |
18 | 19 | ">View your Facebook profile 20 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/webapp/resources/messages/messages.css: -------------------------------------------------------------------------------- 1 | div.info,div.success,div.warning,div.error { 2 | border: 1px solid; 3 | margin: 10px 0px; 4 | padding: 15px 10px 15px 50px; 5 | background-repeat: no-repeat; 6 | background-position: 10px center; 7 | } 8 | 9 | div.info { 10 | color: #00529B; 11 | background-color: #BDE5F8; 12 | background-image: url('info.png'); 13 | } 14 | 15 | div.success { 16 | color: #4F8A10; 17 | background-color: #DFF2BF; 18 | background-image: url('success.png'); 19 | } 20 | 21 | div.warning { 22 | color: #9F6000; 23 | background-color: #FEEFB3; 24 | background-image: url('warning.png'); 25 | } 26 | 27 | div.error { 28 | color: #D8000C; 29 | background-color: #FFBABA; 30 | background-image: url('error.png'); 31 | } 32 | 33 | span.success { 34 | color: #4F8A10; 35 | } 36 | 37 | span.error { 38 | color: #D8000C; 39 | } -------------------------------------------------------------------------------- /attic/spring-social-twitter4j/src/main/webapp/WEB-INF/spring/root-context.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/webapp/resources/messages/messages.css: -------------------------------------------------------------------------------- 1 | div.info,div.success,div.warning,div.error { 2 | border: 1px solid; 3 | margin: 10px 0px; 4 | padding: 15px 10px 15px 50px; 5 | background-repeat: no-repeat; 6 | background-position: 10px center; 7 | } 8 | 9 | div.info { 10 | color: #00529B; 11 | background-color: #BDE5F8; 12 | background-image: url('info.png'); 13 | } 14 | 15 | div.success { 16 | color: #4F8A10; 17 | background-color: #DFF2BF; 18 | background-image: url('success.png'); 19 | } 20 | 21 | div.warning { 22 | color: #9F6000; 23 | background-color: #FEEFB3; 24 | background-image: url('warning.png'); 25 | } 26 | 27 | div.error { 28 | color: #D8000C; 29 | background-color: #FFBABA; 30 | background-image: url('error.png'); 31 | } 32 | 33 | span.success { 34 | color: #4F8A10; 35 | } 36 | 37 | span.error { 38 | color: #D8000C; 39 | } -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/resources/messages/messages.css: -------------------------------------------------------------------------------- 1 | div.info,div.success,div.warning,div.error { 2 | border: 1px solid; 3 | margin: 10px 0px; 4 | padding: 15px 10px 15px 50px; 5 | background-repeat: no-repeat; 6 | background-position: 10px center; 7 | } 8 | 9 | div.info { 10 | color: #00529B; 11 | background-color: #BDE5F8; 12 | background-image: url('info.png'); 13 | } 14 | 15 | div.success { 16 | color: #4F8A10; 17 | background-color: #DFF2BF; 18 | background-image: url('success.png'); 19 | } 20 | 21 | div.warning { 22 | color: #9F6000; 23 | background-color: #FEEFB3; 24 | background-image: url('warning.png'); 25 | } 26 | 27 | div.error { 28 | color: #D8000C; 29 | background-color: #FFBABA; 30 | background-image: url('error.png'); 31 | } 32 | 33 | span.success { 34 | color: #4F8A10; 35 | } 36 | 37 | span.error { 38 | color: #D8000C; 39 | } -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/static/messages/messages.css: -------------------------------------------------------------------------------- 1 | div.info,div.success,div.warning,div.error { 2 | border: 1px solid; 3 | margin: 10px 0px; 4 | padding: 15px 10px 15px 50px; 5 | background-repeat: no-repeat; 6 | background-position: 10px center; 7 | } 8 | 9 | div.info { 10 | color: #00529B; 11 | background-color: #BDE5F8; 12 | background-image: url('info.png'); 13 | } 14 | 15 | div.success { 16 | color: #4F8A10; 17 | background-color: #DFF2BF; 18 | background-image: url('success.png'); 19 | } 20 | 21 | div.warning { 22 | color: #9F6000; 23 | background-color: #FEEFB3; 24 | background-image: url('warning.png'); 25 | } 26 | 27 | div.error { 28 | color: #D8000C; 29 | background-color: #FFBABA; 30 | background-image: url('error.png'); 31 | } 32 | 33 | span.success { 34 | color: #4F8A10; 35 | } 36 | 37 | span.error { 38 | color: #D8000C; 39 | } -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/resources/messages/messages.css: -------------------------------------------------------------------------------- 1 | div.info,div.success,div.warning,div.error { 2 | border: 1px solid; 3 | margin: 10px 0px; 4 | padding: 15px 10px 15px 50px; 5 | background-repeat: no-repeat; 6 | background-position: 10px center; 7 | } 8 | 9 | div.info { 10 | color: #00529B; 11 | background-color: #BDE5F8; 12 | background-image: url('info.png'); 13 | } 14 | 15 | div.success { 16 | color: #4F8A10; 17 | background-color: #DFF2BF; 18 | background-image: url('success.png'); 19 | } 20 | 21 | div.warning { 22 | color: #9F6000; 23 | background-color: #FEEFB3; 24 | background-image: url('warning.png'); 25 | } 26 | 27 | div.error { 28 | color: #D8000C; 29 | background-color: #FFBABA; 30 | background-image: url('error.png'); 31 | } 32 | 33 | span.success { 34 | color: #4F8A10; 35 | } 36 | 37 | span.error { 38 | color: #D8000C; 39 | } -------------------------------------------------------------------------------- /attic/spring-social-canvas/src/main/java/org/springframework/social/canvas/HomeController.java: -------------------------------------------------------------------------------- 1 | package org.springframework.social.canvas; 2 | 3 | import javax.inject.Inject; 4 | 5 | import org.springframework.social.facebook.api.Facebook; 6 | import org.springframework.stereotype.Controller; 7 | import org.springframework.ui.Model; 8 | import org.springframework.web.bind.annotation.RequestMapping; 9 | import org.springframework.web.bind.annotation.RequestMethod; 10 | 11 | @Controller 12 | public class HomeController { 13 | 14 | private Facebook facebook; 15 | 16 | @Inject 17 | public HomeController(Facebook facebook) { 18 | this.facebook = facebook; 19 | } 20 | 21 | @RequestMapping(value="/", method=RequestMethod.GET) 22 | public String homePage(Model model) { 23 | model.addAttribute("friends", facebook.friendOperations().getFriendProfiles()); 24 | return "friends"; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /attic/spring-social-quickstart-3.0.x/README.md: -------------------------------------------------------------------------------- 1 | Spring Social Quickstart 3.0.x 2 | ============================== 3 | This sample is a Spring 3.0.5-compatible implementation of the Quick Start sample. It's designed to get you up and running quickly with Spring Social in a Spring Framework 3.0.x environment. 4 | 5 | **NOTE**: Starting with Spring Social 1.1.0, Spring Social no longer supports compatibility with Spring Framework 3.0.x. This example remains for those still using Spring Social 1.0.x. 6 | 7 | To run, simply import the project into your IDE and deploy to a Servlet 2.5 or > container such as Tomcat 6 or 7. 8 | You can also deploy from the command line with: 9 | $ mvn tomcat:run 10 | 11 | Access the project at http://localhost:8080/spring-social-quickstart-30x 12 | 13 | Discuss at forum.springsource.org and collaborate with the development team at jira.springframework.org/browse/SOCIAL. 14 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/facebook/profile.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Your Facebook Profile

7 |

Hello, !

8 |
9 |
Facebook ID:
10 |
11 |
Name:
12 |
13 |
Email:
14 |
15 |
16 | 17 | 18 |
19 | 20 | 21 |
22 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/views/facebook/profile.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Your Facebook Profile

7 |

Hello, !

8 |
9 |
Facebook ID:
10 |
11 |
Name:
12 |
13 |
Email:
14 |
15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /attic/spring-social-twitter4j/README.md: -------------------------------------------------------------------------------- 1 | Spring Social Showcase Twitter4j 2 | ================================ 3 | This sample app is a trimmed down version of Spring Social Showcase and demonstrates how to create a new 4 | service provider implementation that leverages an existing Java API binding. In this case, a new 5 | Twitter service provider is created that uses Twitter4J as the API binding. 6 | 7 | This sample also shows Spring XML config as an alternative to Java config. 8 | 9 | Finally, this sample shows how a user can connect to multiple provider accounts e.g. several Twitter accounts. 10 | 11 | To run, simply import the project into your IDE and deploy to a Servlet 2.5 or > container such as Tomcat 6 or 7. 12 | Access the project at http://localhost:8080/spring-social-twitter4j 13 | 14 | Discuss at forum.springsource.org and collaborate with the development team at jira.springframework.org/browse/SOCIAL. 15 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/templates/twitter/friends.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 13 | 14 |
15 |

Your Twitter Friends

16 | 17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/webapp/WEB-INF/views/review/movieSearch.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Pick a Movie to review

7 | 8 |
9 | 10 | 11 |
12 | 13 | 14 |
15 |

Select a movie:

16 | 17 |

${title.title} (${title.releaseYear})

18 |
19 | 20 |
21 |
22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/views/facebook/feed.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Your Facebook Feed

7 | 8 |
"> 9 |

Post to your Facebook wall:

10 |
11 | 12 |

13 | 14 |
15 |
    16 | 17 |
  • 18 |

    " align="top"/> 19 | -

    20 |
  • 21 |
    22 |
23 |
24 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/facebook/feed.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Your Facebook Feed

7 | 8 |
"> 9 |

Post to your Facebook wall:

10 |
11 | 12 |

13 | 14 |
15 |
    16 | 17 |
  • 18 |

    " align="top"/> 19 | -

    20 |
  • 21 |
    22 |
23 |
24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # spring-social-samples is no longer actively maintained by VMware, Inc. 2 | 3 | Spring Social Samples 4 | ===================== 5 | This repository contains sample projects illustrating usage of the Spring Social project. 6 | 7 | Samples include: 8 | * **spring-social-quickstart**, designed to get you up and running quickly in a Spring Framework 3.1 or > environment. 9 | * **spring-social-showcase**, illustrating most of the features. 10 | * **spring-social-showcase-sec**, a version of spring-social-showcase that uses SocialAuthenticationFilter instead of ProviderSignInController for a tighter integration with Spring Security. 11 | * **spring-social-canvas**, a variation of spring-social-quickstart that is intended to run as a Facebook Canvas application. 12 | 13 | Some older and less maintained examples have been moved into the "attic". 14 | 15 | See the README in each sub directory for information on the sample and instructions on how to run the samples. 16 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/webapp/WEB-INF/views/twitter/profile.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Your Twitter Profile

7 | 8 |

Hello, !

9 | "/> 10 |
11 |
Twitter ID:
12 |
13 |
Screen name:
14 |
" target="_blank">
15 |
Description:
16 |
17 |
Location:
18 |
19 |
URL:
20 |
">
21 |
22 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/connect/twitterConnect.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Connect to Twitter

7 | 8 |
" method="POST"> 9 |
10 |

11 | You haven't created any connections with Twitter yet. Click the button to connect Spring Social Showcase with your Twitter account. 12 | (You'll be redirected to Twitter where you'll be asked to authorize the connection.) 13 |

14 |
15 |

16 | 17 |
18 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/java/org/springframework/social/movies/account/AccountRepository.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.movies.account; 17 | 18 | public interface AccountRepository { 19 | 20 | void createAccount(Account account) throws UsernameAlreadyInUseException; 21 | 22 | Account findAccountByUsername(String username); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/java/org/springframework/social/popup/account/AccountRepository.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.popup.account; 17 | 18 | public interface AccountRepository { 19 | 20 | void createAccount(Account account) throws UsernameAlreadyInUseException; 21 | 22 | Account findAccountByUsername(String username); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/java/org/springframework/social/showcase/account/AccountRepository.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.account; 17 | 18 | public interface AccountRepository { 19 | 20 | void createAccount(Account account) throws UsernameAlreadyInUseException; 21 | 22 | Account findAccountByUsername(String username); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/java/org/springframework/social/showcase/account/AccountRepository.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.account; 17 | 18 | public interface AccountRepository { 19 | 20 | void createAccount(Account account) throws UsernameAlreadyInUseException; 21 | 22 | Account findAccountByUsername(String username); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/java/org/springframework/social/showcase/account/AccountRepository.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.account; 17 | 18 | public interface AccountRepository { 19 | 20 | void createAccount(Account account) throws UsernameAlreadyInUseException; 21 | 22 | Account findAccountByUsername(String username); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/layouts/page.jsp: -------------------------------------------------------------------------------- 1 | 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 3 | <%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %> 4 | <%@ page session="false" %> 5 | 6 | 7 | Spring Social Showcase 8 | " type="text/css" media="screen" /> 9 | " type="text/css" media="screen" /> 10 | " type="text/css" media="screen" /> 11 | 12 | 13 | 16 | 17 |
18 | 19 |
20 | 21 |
22 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/java/org/springframework/social/showcase/account/AccountRepository.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.account; 17 | 18 | public interface AccountRepository { 19 | 20 | void createAccount(Account account) throws UsernameAlreadyInUseException; 21 | 22 | Account findAccountByUsername(String username); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/java/org/springframework/social/showcase/config/SecurityWebInitializer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.config; 17 | 18 | import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer; 19 | 20 | public class SecurityWebInitializer extends AbstractSecurityWebApplicationInitializer { 21 | } 22 | -------------------------------------------------------------------------------- /attic/spring-social-twitter4j/src/main/java/org/springframework/social/showcase/account/AccountRepository.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.account; 17 | 18 | public interface AccountRepository { 19 | 20 | void createAccount(Account account) throws UsernameAlreadyInUseException; 21 | 22 | Account findAccountByUsername(String username); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/java/org/springframework/social/showcase/account/AccountRepository.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.account; 17 | 18 | public interface AccountRepository { 19 | 20 | void createAccount(Account account) throws UsernameAlreadyInUseException; 21 | 22 | Account findAccountByUsername(String username); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/layouts/page.jsp: -------------------------------------------------------------------------------- 1 | 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 3 | <%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %> 4 | <%@ page session="false" %> 5 | 6 | 7 | Spring Social Showcase 8 | " type="text/css" media="screen" /> 9 | " type="text/css" media="screen" /> 10 | " type="text/css" media="screen" /> 11 | 12 | 13 | 16 | 17 |
18 | 19 |
20 | 21 |
22 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/java/org/springframework/social/popup/account/UsernameAlreadyInUseException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.popup.account; 17 | 18 | public class UsernameAlreadyInUseException extends Exception { 19 | public UsernameAlreadyInUseException(String username) { 20 | super("The username '" + username + "' is already in use."); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/java/org/springframework/social/movies/account/UsernameAlreadyInUseException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.movies.account; 17 | 18 | public class UsernameAlreadyInUseException extends Exception { 19 | public UsernameAlreadyInUseException(String username) { 20 | super("The username '" + username + "' is already in use."); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /attic/spring-social-quickstart-3.0.x/src/main/webapp/WEB-INF/spring/properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | 669df6cc9b11c3226b2f3e31b083acb2 13 | 516af1d8f60e8f6364fddca8f0bc46bf 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/java/org/springframework/social/showcase/account/UsernameAlreadyInUseException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.account; 17 | 18 | public class UsernameAlreadyInUseException extends Exception { 19 | public UsernameAlreadyInUseException(String username) { 20 | super("The username '" + username + "' is already in use."); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /attic/spring-social-twitter4j/src/main/java/org/springframework/social/showcase/account/UsernameAlreadyInUseException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.account; 17 | 18 | public class UsernameAlreadyInUseException extends Exception { 19 | public UsernameAlreadyInUseException(String username) { 20 | super("The username '" + username + "' is already in use."); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/java/org/springframework/social/showcase/account/UsernameAlreadyInUseException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.account; 17 | 18 | public class UsernameAlreadyInUseException extends Exception { 19 | public UsernameAlreadyInUseException(String username) { 20 | super("The username '" + username + "' is already in use."); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/java/org/springframework/social/showcase/account/UsernameAlreadyInUseException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.account; 17 | 18 | public class UsernameAlreadyInUseException extends Exception { 19 | public UsernameAlreadyInUseException(String username) { 20 | super("The username '" + username + "' is already in use."); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/java/org/springframework/social/showcase/account/UsernameAlreadyInUseException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.account; 17 | 18 | public class UsernameAlreadyInUseException extends Exception { 19 | public UsernameAlreadyInUseException(String username) { 20 | super("The username '" + username + "' is already in use."); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/java/org/springframework/social/movies/netflix/api/NetFlixApi.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.movies.netflix.api; 17 | 18 | import java.util.List; 19 | 20 | public interface NetFlixApi { 21 | 22 | NetFlixUserProfile getUserProfile(); 23 | 24 | List searchForTitles(String searchTerms); 25 | 26 | List getDiscQueue(); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/java/org/springframework/social/movies/review/ReviewRepository.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.movies.review; 17 | 18 | import java.util.List; 19 | 20 | public interface ReviewRepository { 21 | 22 | void saveReview(Review review); 23 | 24 | List getRecentReviews(); 25 | 26 | List findReviewsForQueueItems(List queueItemIds); 27 | } 28 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/templates/ratelimit.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 |
18 | Left nav menu 19 |
20 | 21 |
22 |

Rate limit exceeded

23 |

Sorry, but the rate limit for accessing has been exceeded. Please try again later.

24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /attic/spring-social-quickstart-3.0.x/src/main/webapp/WEB-INF/spring/root-context.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/java/org/springframework/social/showcase/account/UsernameAlreadyInUseException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.account; 17 | 18 | public class UsernameAlreadyInUseException extends Exception { 19 | private static final long serialVersionUID = 1L; 20 | 21 | public UsernameAlreadyInUseException(String username) { 22 | super("The username '" + username + "' is already in use."); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/resources/views/ratelimit.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 |
18 | Left nav menu 19 |
20 | 21 |
22 |

Rate limit exceeded

23 |

Sorry, but the rate limit for accessing has been exceeded. Please try again later.

24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/spring/root-context.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/java/org/springframework/social/showcase/config/Application.java: -------------------------------------------------------------------------------- 1 | package org.springframework.social.showcase.config; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.EnableAutoConfiguration; 5 | import org.springframework.boot.context.properties.EnableConfigurationProperties; 6 | import org.springframework.context.annotation.Bean; 7 | import org.springframework.context.annotation.ComponentScan; 8 | import org.springframework.security.web.savedrequest.HttpSessionRequestCache; 9 | import org.springframework.social.connect.web.SignInAdapter; 10 | import org.springframework.social.showcase.signin.SimpleSignInAdapter; 11 | 12 | @ComponentScan(basePackages="org.springframework.social.showcase") 13 | @EnableConfigurationProperties 14 | @EnableAutoConfiguration 15 | public class Application { 16 | public static void main(String[] args) { 17 | SpringApplication.run(Application.class, args); 18 | } 19 | 20 | @Bean 21 | public SignInAdapter signInAdapter() { 22 | return new SimpleSignInAdapter(new HttpSessionRequestCache()); 23 | } 24 | 25 | } -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/views/facebook/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/templates/facebook/friends.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 13 | 14 |
15 |

Your Facebook Friends

16 |

NOTE: Applications are limited to only seeing friends of the authorizing user 17 | that are also users of the application. If your friend list is empty or seems 18 | smaller than you expect, it may be that most/all of your Facebook friends are 19 | not users of this application.

20 | 21 |
    22 |
  • name
  • 23 |
24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/facebook/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/twitter/friends.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 | 7 | 12 | 13 |

Your Twitter Friends

14 | 15 |
    16 | 17 |
  • 18 |
    19 | " width="48" height="48" align="left"/> 20 |
    21 |
    22 |

    ">

    23 |
    24 |
  • 25 |
    26 |
-------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/twitter/tiles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/templates/connect/facebookConnected.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 13 | 14 |
15 |

Connected to Facebook

16 | 17 |
18 | 19 |
20 |

21 | Spring Social Showcase is connected to your Facebook account. 22 | Click the button if you wish to disconnect. 23 |

24 |
25 | 26 | 27 |
28 | 29 | View your Facebook profile 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /attic/spring-social-canvas/src/main/java/org/springframework/social/canvas/user/User.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.canvas.user; 17 | 18 | /** 19 | * Simple little User model. 20 | * Just stores the user's id for simplicity. 21 | * @author Keith Donald 22 | */ 23 | public final class User { 24 | 25 | private final String id; 26 | 27 | public User(String id) { 28 | this.id = id; 29 | } 30 | 31 | public String getId() { 32 | return id; 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/templates/facebook/albums.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 |
18 | Left nav menu 19 |
20 | 21 |
22 |

Your Facebook Photo Albums

23 | 24 |
    25 |
  • 26 |
27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/linkedin/profile.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 |

Your LinkedIn Profile

7 | 8 |

Hello, !

9 | "/> 10 |
11 |
LinkedIn ID:
12 |
" target="_blank">
13 |
Headline:
14 |
15 |
Industry:
16 |
17 |
Summary:
18 |
19 |
20 | 21 | 22 |
23 | 24 | 25 |
26 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/templates/facebook/album.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 |
18 | Left nav menu 19 |
20 | 21 |
22 |

Your Facebook Photo Album: album name

23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /spring-social-quickstart/src/main/java/org/springframework/social/quickstart/user/User.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.quickstart.user; 17 | 18 | /** 19 | * Simple little User model. 20 | * Just stores the user's id for simplicity. 21 | * @author Keith Donald 22 | */ 23 | public final class User { 24 | 25 | private final String id; 26 | 27 | public User(String id) { 28 | this.id = id; 29 | } 30 | 31 | public String getId() { 32 | return id; 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/templates/connect/twitterConnected.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 13 | 14 |
15 |

Connected to Twitter

16 | 17 |
18 | 19 |
20 |

The Spring Social Showcase sample application is already connected to your Twitter account. 21 | Click the button if you wish to disconnect.

22 |
23 | 24 | 25 | 26 |
27 | 28 |

View your Twitter profile

29 |
30 | 31 | 32 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/resources/views/facebook/albums.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 |
18 | Left nav menu 19 |
20 | 21 |
22 |

Your Facebook Photo Albums

23 | 24 |
    25 |
  • 26 |
27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /attic/spring-social-twitter4j/src/main/webapp/WEB-INF/views/connect/twitterConnect.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 4 | <%@ page session="false" %> 5 | 6 | 7 | Spring Social Showcase: Connect to Twitter 8 | 9 | 10 |

Spring Social Showcase: Connect to Twitter

11 | 12 |
" method="POST"> 13 |
14 |

You haven't created any connections with Twitter yet. Click the button to connect Spring Social Showcase with your Twitter account. 15 | (You'll be redirected to Twitter where you'll be asked to authorize the connection.)

16 |
17 |

18 | 19 |
20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /attic/spring-social-quickstart-3.0.x/src/main/java/org/springframework/social/quickstart/user/User.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.quickstart.user; 17 | 18 | /** 19 | * Simple little User model. 20 | * Just stores the user's id for simplicity. 21 | * @author Keith Donald 22 | */ 23 | public final class User { 24 | 25 | private final String id; 26 | 27 | public User(String id) { 28 | this.id = id; 29 | } 30 | 31 | public String getId() { 32 | return id; 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/resources/views/facebook/albums.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 |
18 | Left nav menu 19 |
20 | 21 |
22 |

Your Facebook Photo Albums

23 | 24 |
    25 |
  • 26 |
27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/resources/views/twitter/trends.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 |
18 | Left nav menu 19 |
20 | 21 |
22 |

Daily Twitter Trends

23 | 24 | 25 | trend name
26 |
27 |
28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/resources/views/facebook/album.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 |
18 | Left nav menu 19 |
20 | 21 |
22 |

Your Facebook Photo Album: album name

23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/resources/views/twitter/trends.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 |
18 | Left nav menu 19 |
20 | 21 |
22 |

Daily Twitter Trends

23 | 24 | 25 | trend name
26 |
27 |
28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/resources/views/facebook/album.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 |
18 | Left nav menu 19 |
20 | 21 |
22 |

Your Facebook Photo Album: album name

23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /attic/spring-social-movies/src/main/java/org/springframework/social/movies/signin/SigninController.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.movies.signin; 17 | 18 | import org.springframework.stereotype.Controller; 19 | import org.springframework.web.bind.annotation.RequestMapping; 20 | import org.springframework.web.bind.annotation.RequestMethod; 21 | 22 | @Controller 23 | public class SigninController { 24 | 25 | @RequestMapping(value="/signin", method=RequestMethod.GET) 26 | public void signin() { 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/java/org/springframework/social/popup/signin/SigninController.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.popup.signin; 17 | 18 | import org.springframework.stereotype.Controller; 19 | import org.springframework.web.bind.annotation.RequestMapping; 20 | import org.springframework.web.bind.annotation.RequestMethod; 21 | 22 | @Controller 23 | public class SigninController { 24 | 25 | @RequestMapping(value="/signin", method=RequestMethod.GET) 26 | public void signin() { 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/spring/root-context.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/webapp/WEB-INF/views/connect/facebookConnect.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags" prefix="s" %> 4 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 5 | <%@ taglib uri="http://www.springframework.org/spring-social/facebook/tags" prefix="facebook" %> 6 | <%@ page session="false" %> 7 | 8 |

Connect to Facebook

9 | 10 |
" method="POST"> 11 | 12 |
13 |

You aren't connected to Facebook yet. Click the button to connect Spring Social Showcase with your Facebook account.

14 |
15 |

16 | 17 |
18 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/templates/home.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 |
18 | Left nav menu 19 |
20 | 21 |
22 |

Welcome, first-name!

23 | 24 |
25 | 26 | 27 |
28 |
29 | 30 | 31 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/java/org/springframework/social/showcase/signin/SigninController.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.signin; 17 | 18 | import org.springframework.stereotype.Controller; 19 | import org.springframework.web.bind.annotation.RequestMapping; 20 | import org.springframework.web.bind.annotation.RequestMethod; 21 | 22 | @Controller 23 | public class SigninController { 24 | 25 | @RequestMapping(value="/signin", method=RequestMethod.GET) 26 | public void signin() { 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/java/org/springframework/social/showcase/signin/SigninController.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.signin; 17 | 18 | import org.springframework.stereotype.Controller; 19 | import org.springframework.web.bind.annotation.RequestMapping; 20 | import org.springframework.web.bind.annotation.RequestMethod; 21 | 22 | @Controller 23 | public class SigninController { 24 | 25 | @RequestMapping(value="/signin", method=RequestMethod.GET) 26 | public void signin() { 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/java/org/springframework/social/showcase/signin/SigninController.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.signin; 17 | 18 | import org.springframework.stereotype.Controller; 19 | import org.springframework.web.bind.annotation.RequestMapping; 20 | import org.springframework.web.bind.annotation.RequestMethod; 21 | 22 | @Controller 23 | public class SigninController { 24 | 25 | @RequestMapping(value="/signin", method=RequestMethod.GET) 26 | public void signin() { 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/java/org/springframework/social/showcase/signin/SigninController.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.signin; 17 | 18 | import org.springframework.stereotype.Controller; 19 | import org.springframework.web.bind.annotation.RequestMapping; 20 | import org.springframework.web.bind.annotation.RequestMethod; 21 | 22 | @Controller 23 | public class SigninController { 24 | 25 | @RequestMapping(value="/signin", method=RequestMethod.GET) 26 | public void signin() { 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /attic/spring-social-twitter4j/src/main/java/org/springframework/social/showcase/signin/SigninController.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.signin; 17 | 18 | import org.springframework.stereotype.Controller; 19 | import org.springframework.web.bind.annotation.RequestMapping; 20 | import org.springframework.web.bind.annotation.RequestMethod; 21 | 22 | @Controller 23 | public class SigninController { 24 | 25 | @RequestMapping(value="/signin", method=RequestMethod.GET) 26 | public void signin() { 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/java/org/springframework/social/showcase/signin/SigninController.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.signin; 17 | 18 | import org.springframework.stereotype.Controller; 19 | import org.springframework.web.bind.annotation.RequestMapping; 20 | import org.springframework.web.bind.annotation.RequestMethod; 21 | 22 | @Controller 23 | public class SigninController { 24 | 25 | @RequestMapping(value="/signin", method=RequestMethod.GET) 26 | public void signin() { 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/java/org/springframework/social/showcase/signin/SigninController.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.signin; 17 | 18 | import org.springframework.stereotype.Controller; 19 | import org.springframework.web.bind.annotation.RequestMapping; 20 | import org.springframework.web.bind.annotation.RequestMethod; 21 | 22 | @Controller 23 | public class SigninController { 24 | 25 | @RequestMapping(value="/signin", method=RequestMethod.GET) 26 | public void signin() { 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/resources/views/home.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 |
18 | Left nav menu 19 |
20 | 21 |
22 |

Welcome, first-name!

23 | 24 |
25 | 26 | 27 |
28 |
29 | 30 | 31 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/resources/views/home.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 |
18 | Left nav menu 19 |
20 | 21 |
22 |

Welcome, first-name!

23 | 24 |
25 | 26 | 27 |
28 |
29 | 30 | 31 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/resources/templates/facebook/profile.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 13 | 14 |
15 |

Your Facebook Profile

16 |

Hello, first name!

17 |
18 |
Facebook ID:
19 |
20 |
Name:
21 |
22 |
Email:
23 |
24 |
25 | 26 |
27 | 28 | 29 | 30 |
31 |
32 | 33 | 34 | -------------------------------------------------------------------------------- /attic/spring-social-popup/src/main/java/org/springframework/social/popup/twitter/MessageForm.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.popup.twitter; 17 | 18 | public class MessageForm { 19 | 20 | private String to; 21 | 22 | private String text; 23 | 24 | public String getTo() { 25 | return to; 26 | } 27 | 28 | public void setTo(String to) { 29 | this.to = to; 30 | } 31 | 32 | public String getText() { 33 | return text; 34 | } 35 | 36 | public void setText(String text) { 37 | this.text = text; 38 | } 39 | 40 | 41 | } 42 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-xml/src/main/webapp/WEB-INF/views/connect/facebookConnect.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 3 | <%@ taglib uri="http://www.springframework.org/tags" prefix="s" %> 4 | <%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %> 5 | <%@ taglib uri="http://www.springframework.org/spring-social/facebook/tags" prefix="facebook" %> 6 | <%@ page session="false" %> 7 | 8 |

Connect to Facebook

9 | 10 | 11 | 12 | 13 |
14 |

You aren't connected to Facebook yet. Click the button to connect Spring Social Showcase with your Facebook account.

15 |
16 |

17 | 18 |
19 | -------------------------------------------------------------------------------- /spring-social-showcase/src/main/java/org/springframework/social/showcase/twitter/MessageForm.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.twitter; 17 | 18 | public class MessageForm { 19 | 20 | private String to; 21 | 22 | private String text; 23 | 24 | public String getTo() { 25 | return to; 26 | } 27 | 28 | public void setTo(String to) { 29 | this.to = to; 30 | } 31 | 32 | public String getText() { 33 | return text; 34 | } 35 | 36 | public void setText(String text) { 37 | this.text = text; 38 | } 39 | 40 | 41 | } 42 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/resources/views/connect/facebookConnect.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 |
11 |

Connect to Facebook

12 | 13 |
14 | 15 | 16 |
17 |

You aren't connected to Facebook yet. Click the button to connect Spring Social Showcase with your Facebook account.

18 |
19 |

20 | 21 |
22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/resources/views/facebook/friends.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 |
18 | Left nav menu 19 |
20 | 21 |
22 |

Your Facebook Friends

23 | 24 |
    25 |
  • name
  • 26 |
27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/java/org/springframework/social/showcase/twitter/MessageForm.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.twitter; 17 | 18 | public class MessageForm { 19 | 20 | private String to; 21 | 22 | private String text; 23 | 24 | public String getTo() { 25 | return to; 26 | } 27 | 28 | public void setTo(String to) { 29 | this.to = to; 30 | } 31 | 32 | public String getText() { 33 | return text; 34 | } 35 | 36 | public void setText(String text) { 37 | this.text = text; 38 | } 39 | 40 | 41 | } 42 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/resources/views/connect/facebookConnect.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 |
11 |

Connect to Facebook

12 | 13 |
14 | 15 | 16 |
17 |

You aren't connected to Facebook yet. Click the button to connect Spring Social Showcase with your Facebook account.

18 |
19 |

20 | 21 |
22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec/src/main/resources/views/facebook/friends.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 |
18 | Left nav menu 19 |
20 | 21 |
22 |

Your Facebook Friends

23 | 24 |
    25 |
  • name
  • 26 |
27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /attic/spring-social-showcase/src/main/java/org/springframework/social/showcase/twitter/MessageForm.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.twitter; 17 | 18 | public class MessageForm { 19 | 20 | private String to; 21 | 22 | private String text; 23 | 24 | public String getTo() { 25 | return to; 26 | } 27 | 28 | public void setTo(String to) { 29 | this.to = to; 30 | } 31 | 32 | public String getText() { 33 | return text; 34 | } 35 | 36 | public void setText(String text) { 37 | this.text = text; 38 | } 39 | 40 | 41 | } 42 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-implicit/src/main/resources/templates/connect/facebookConnect.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Spring Social Showcase 8 | 9 | 10 |
11 |

Connect to Facebook

12 | 13 |
14 | 15 | 16 |
17 |

You aren't connected to Facebook yet. Click the button to connect Spring Social Showcase with your Facebook account.

18 |
19 |

20 | 21 |
22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /attic/spring-social-showcase-sec-xml/src/main/java/org/springframework/social/showcase/twitter/MessageForm.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 the original author or authors. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.springframework.social.showcase.twitter; 17 | 18 | public class MessageForm { 19 | 20 | private String to; 21 | 22 | private String text; 23 | 24 | public String getTo() { 25 | return to; 26 | } 27 | 28 | public void setTo(String to) { 29 | this.to = to; 30 | } 31 | 32 | public String getText() { 33 | return text; 34 | } 35 | 36 | public void setText(String text) { 37 | this.text = text; 38 | } 39 | 40 | 41 | } 42 | --------------------------------------------------------------------------------