com.force.sdk.oauth.userdata
Class CustomUserDataRetriever<T extends CustomSecurityContext>

java.lang.Object
  extended by com.force.sdk.oauth.userdata.ForceUserDataRetriever
      extended by com.force.sdk.oauth.userdata.CustomUserDataRetriever<T>
Type Parameters:
T - The class that this custom user data retriever will return
All Implemented Interfaces:
UserDataRetriever

public abstract class CustomUserDataRetriever<T extends CustomSecurityContext>
extends ForceUserDataRetriever

When a custom user data retrieval flow is used this class must be extended and must be parameterized with the application specific extension of CustomSecurityContext.

Author:
John Simone

Constructor Summary
CustomUserDataRetriever()
           
 
Method Summary
abstract  T retrieveUserData()
          Retrieve data about the authenticated user and return a CustomSecurityContext that stores the data.
 
Methods inherited from class com.force.sdk.oauth.userdata.ForceUserDataRetriever
getEndpoint, getRefreshToken, getSessionId, isStoreUsername, setEndpoint, setRefreshToken, setSessionId, setStoreUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomUserDataRetriever

public CustomUserDataRetriever()
Method Detail

retrieveUserData

public abstract T retrieveUserData()
Retrieve data about the authenticated user and return a CustomSecurityContext that stores the data.

Specified by:
retrieveUserData in interface UserDataRetriever
Overrides:
retrieveUserData in class ForceUserDataRetriever
Returns:
T an extension of CustomSecurityContext


Copyright © 2011. All Rights Reserved.