Package org.springframework.social.connect.jpa

Examples of org.springframework.social.connect.jpa.RemoteUser


  @Transactional(readOnly = false, propagation = Propagation.REQUIRED)
  public RemoteUser createRemoteUser(String userId, String providerId,
      String providerUserId, int rank, String displayName,
      String profileUrl, String imageUrl, String accessToken,
      String secret, String refreshToken, Long expireTime) {
    RemoteUser remoteUser = createNewUserConnection(userId, providerId,
        providerUserId, rank, displayName, profileUrl, imageUrl,
        accessToken, secret, refreshToken, expireTime);

    try {
      RemoteUser existingConnection = get(userId, providerId,
          providerUserId);
      if (existingConnection != null)
        throw new DuplicateConnectionException(new ConnectionKey(
            providerId, providerUserId));
    } catch (EmptyResultDataAccessException e) {
View Full Code Here

TOP

Related Classes of org.springframework.social.connect.jpa.RemoteUser

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.