|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SecurityContext | |
|---|---|
| com.force.sdk.oauth.connector | |
| com.force.sdk.oauth.context | |
| com.force.sdk.oauth.context.store | |
| com.force.sdk.oauth.userdata | |
| Uses of SecurityContext in com.force.sdk.oauth.connector |
|---|
| Methods in com.force.sdk.oauth.connector that return SecurityContext | |
|---|---|
SecurityContext |
ForceOAuthConnector.getAccessToken(String accessCode,
String redirectUri)
Gets the access token for user. |
SecurityContext |
ForceOAuthConnector.refreshAccessToken(String refreshToken)
Uses the refresh token to obtain a new auth token for the user. |
| Uses of SecurityContext in com.force.sdk.oauth.context |
|---|
| Classes in com.force.sdk.oauth.context that implement SecurityContext | |
|---|---|
class |
CustomSecurityContext
Abstract class that should be extended when using a custom data retriever. |
class |
ForceSecurityContext
Default implementation of a SecurityContext. |
| Methods in com.force.sdk.oauth.context that return SecurityContext | |
|---|---|
static SecurityContext |
ForceSecurityContextHolder.get()
Gets the security context stored in the thread local store. |
static SecurityContext |
ForceSecurityContextHolder.get(boolean createIfNeeded)
Gets the security context stored in the thread local store. |
SecurityContext |
CustomSecurityContext.getForceSecurityContext()
|
SecurityContext |
ForceSecurityContext.getForceSecurityContext()
|
SecurityContext |
SecurityContext.getForceSecurityContext()
Gets the forceSecurityContext. |
SecurityContext |
SecurityContextService.getSecurityContextFromSession(javax.servlet.http.HttpServletRequest request)
Retrieves the security context. |
SecurityContext |
SecurityContextServiceImpl.getSecurityContextFromSession(javax.servlet.http.HttpServletRequest request)
Retrieves the security context. |
SecurityContext |
SecurityContextService.verifyAndRefreshSecurityContext(SecurityContext sc,
javax.servlet.http.HttpServletRequest request)
Verifies the security context against the browser cookies. |
SecurityContext |
SecurityContextServiceImpl.verifyAndRefreshSecurityContext(SecurityContext sc,
javax.servlet.http.HttpServletRequest request)
Verifies the security context against the browser cookies. |
| Methods in com.force.sdk.oauth.context with parameters of type SecurityContext | |
|---|---|
static void |
SecurityContextUtil.initializeSecurityContextFromApi(SecurityContext securityContext)
Initializes the user information into the security context via a call to the partner API. |
static void |
ForceSecurityContextHolder.set(SecurityContext sc)
Sets the security context to the thread local store. |
static void |
SecurityContextUtil.setCookieValues(SecurityContext sc,
javax.servlet.http.HttpServletResponse response,
boolean secure,
String path)
Sets the session id and endpoint from the security context into cookies. |
void |
CustomSecurityContext.setForceSecurityContext(SecurityContext sc)
|
void |
SecurityContextService.setSecurityContextToSession(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SecurityContext sc)
Sets the security context to the session. |
void |
SecurityContextServiceImpl.setSecurityContextToSession(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SecurityContext sc)
Uses the SecurityContextStorageService to store the security context. |
SecurityContext |
SecurityContextService.verifyAndRefreshSecurityContext(SecurityContext sc,
javax.servlet.http.HttpServletRequest request)
Verifies the security context against the browser cookies. |
SecurityContext |
SecurityContextServiceImpl.verifyAndRefreshSecurityContext(SecurityContext sc,
javax.servlet.http.HttpServletRequest request)
Verifies the security context against the browser cookies. |
| Uses of SecurityContext in com.force.sdk.oauth.context.store |
|---|
| Methods in com.force.sdk.oauth.context.store that return SecurityContext | |
|---|---|
SecurityContext |
SecurityContextSessionStore.retreiveSecurityContext(javax.servlet.http.HttpServletRequest request)
Retrieves the security context from the session. |
SecurityContext |
SecurityContextStorageService.retreiveSecurityContext(javax.servlet.http.HttpServletRequest request)
Retrieves the security context. |
SecurityContext |
SecurityContextCookieStore.retreiveSecurityContext(javax.servlet.http.HttpServletRequest request)
Retrieves the security context from a browser cookie. |
| Methods in com.force.sdk.oauth.context.store with parameters of type SecurityContext | |
|---|---|
void |
SecurityContextSessionStore.storeSecurityContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SecurityContext securityContext)
Stores the security context in the session. |
void |
SecurityContextStorageService.storeSecurityContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SecurityContext securityContext)
Stores the security context. |
void |
SecurityContextCookieStore.storeSecurityContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SecurityContext securityContext)
Saves the security context to a browser cookie. |
| Uses of SecurityContext in com.force.sdk.oauth.userdata |
|---|
| Methods in com.force.sdk.oauth.userdata that return SecurityContext | |
|---|---|
SecurityContext |
UserDataRetriever.retrieveUserData()
Retrieves the user data and stores it in a SecurityContext object. |
SecurityContext |
ForceUserDataRetriever.retrieveUserData()
Retrieves the default user data from the partner API. |
SecurityContext |
CustomUserDataRetrievalService.retrieveUserData(String sessionId,
String endpoint,
String refreshToken)
Calls the super method to retrieve the default user data. |
SecurityContext |
UserDataRetrievalService.retrieveUserData(String sessionId,
String endpoint,
String refreshToken)
Sets up the user data retriever and retrieves data about the user. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||