Package org.springframework.social.quickstart.user

Examples of org.springframework.social.quickstart.user.User


   * Request-scoped data access object providing access to the current user's connections.
   */
  @Bean
  @Scope(value="request", proxyMode=ScopedProxyMode.INTERFACES)
  public ConnectionRepository connectionRepository() {
      User user = SecurityContext.getCurrentUser();
      return usersConnectionRepository().createConnectionRepository(user.getId());
  }
View Full Code Here

TOP

Related Classes of org.springframework.social.quickstart.user.User

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.