|
||||||||||
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 | |
com.force.sdk.springsecurity |
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)
Get the access token for user. |
SecurityContext |
ForceOAuthConnector.refreshAccessToken(String refreshToken)
Use 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
CustomSecurityContext should be extended when using a custom data retriever. |
class |
ForceSecurityContext
This is the default implementation of a SecurityContext. |
Methods in com.force.sdk.oauth.context that return SecurityContext | |
---|---|
static SecurityContext |
ForceSecurityContextHolder.get()
Get the security context that is stored in the thread local store. |
static SecurityContext |
ForceSecurityContextHolder.get(boolean createIfNeeded)
Get the security context that is stored in the thread local store. |
SecurityContext |
CustomSecurityContext.getForceSecurityContext()
|
SecurityContext |
SecurityContext.getForceSecurityContext()
Gets the forceSecurityContext. |
SecurityContext |
ForceSecurityContext.getForceSecurityContext()
|
SecurityContext |
SecurityContextService.getSecurityContextFromSession(javax.servlet.http.HttpServletRequest request)
This method retrieves the security context. |
SecurityContext |
SecurityContextServiceImpl.getSecurityContextFromSession(javax.servlet.http.HttpServletRequest request)
This method retrieves the security context. |
SecurityContext |
SecurityContextService.verifyAndRefreshSecurityContext(SecurityContext sc,
javax.servlet.http.HttpServletRequest request)
Verify the passed in security context against the browser cookies. |
SecurityContext |
SecurityContextServiceImpl.verifyAndRefreshSecurityContext(SecurityContext sc,
javax.servlet.http.HttpServletRequest request)
Verify the passed in 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)
Set the security context to the thread local store. |
static void |
SecurityContextUtil.setCookieValues(SecurityContext sc,
javax.servlet.http.HttpServletResponse response,
boolean secure)
Set 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)
Use the SecurityContextStorageService to store the security context. |
SecurityContext |
SecurityContextService.verifyAndRefreshSecurityContext(SecurityContext sc,
javax.servlet.http.HttpServletRequest request)
Verify the passed in security context against the browser cookies. |
SecurityContext |
SecurityContextServiceImpl.verifyAndRefreshSecurityContext(SecurityContext sc,
javax.servlet.http.HttpServletRequest request)
Verify the passed in 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)
Retrieve the security context from the session. |
SecurityContext |
SecurityContextStorageService.retreiveSecurityContext(javax.servlet.http.HttpServletRequest request)
Retrieve 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)
Store the security context to the session. |
void |
SecurityContextStorageService.storeSecurityContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SecurityContext securityContext)
Store 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 |
ForceUserDataRetriever.retrieveUserData()
Retrieve the default user data from the partner API. |
SecurityContext |
UserDataRetriever.retrieveUserData()
Retrieve the user data and store it in a SecurityContext object. |
SecurityContext |
UserDataRetrievalService.retrieveUserData(String sessionId,
String endpoint,
String refreshToken)
Set up the user data retriever and use it to retrieve data about the user. |
SecurityContext |
CustomUserDataRetrievalService.retrieveUserData(String sessionId,
String endpoint,
String refreshToken)
Call the super method to retrieve the default user data. |
Uses of SecurityContext in com.force.sdk.springsecurity |
---|
Methods in com.force.sdk.springsecurity with parameters of type SecurityContext | |
---|---|
static org.springframework.security.core.Authentication |
OAuthAuthenticationProvider.createAuthentication(SecurityContext sc)
Create an authentication object from the SecurityContext . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |