com.ibm.websphere.security.social

Class UserProfileManager

  • java.lang.Object
    • com.ibm.websphere.security.social.UserProfileManager


  • public class UserProfileManager
    extends java.lang.Object
    This is a helper class for client web application to interact with social media with access_token.
    Since:
    1.0
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static UserProfile getUserProfile()
      Get UserProfile for the subject on the thread.
      static UserProfile getUserProfile(java.lang.String access_token, TokenValueType type)
      Get new UserProfile from the social media.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UserProfileManager

        public UserProfileManager()
    • Method Detail

      • getUserProfile

        public static UserProfile getUserProfile()
        Get UserProfile for the subject on the thread.
        Returns:
        the user profile for the social media authenticated user.
      • getUserProfile

        public static UserProfile getUserProfile(java.lang.String access_token,
                                 TokenValueType type)
        Get new UserProfile from the social media.
        Returns:
        the user profile for the social media authenticated user.