A B C D E F G I L R S T U V

A

AESUtil - Class in com.force.sdk.oauth.context.store
Utility class to handle encryption logic with AES.
AuthFilter - Class in com.force.sdk.oauth
Filter to enable you to add Force.com OAuth Authentication to any web application.
AuthFilter() - Constructor for class com.force.sdk.oauth.AuthFilter
 

B

b64decode(String) - Static method in class com.force.sdk.oauth.context.store.SecurityContextCookieStore
Decodes a base-64 encoded string and returns a byte array.
b64encode(byte[]) - Static method in class com.force.sdk.oauth.context.store.SecurityContextCookieStore
Returns a base-64 encoded byte array.

C

clearCookieValues(HttpServletResponse) - Static method in class com.force.sdk.oauth.context.SecurityContextUtil
Clears the endpoint and session cookies.
clearSecurityContext(HttpServletRequest, HttpServletResponse) - Method in interface com.force.sdk.oauth.context.SecurityContextService
Clears the security context from the context store.
clearSecurityContext(HttpServletRequest, HttpServletResponse) - Method in class com.force.sdk.oauth.context.SecurityContextServiceImpl
Clears the security context from the security context store and uses the SecurityContextUtil to clear the other security related cookies.
clearSecurityContext(HttpServletRequest, HttpServletResponse) - Method in class com.force.sdk.oauth.context.store.SecurityContextCookieStore
Clears the security context cookies from the browser.
clearSecurityContext(HttpServletRequest, HttpServletResponse) - Method in class com.force.sdk.oauth.context.store.SecurityContextSessionStore
This invalidates the session when server side sessions are being used for SecurityContext storage.
clearSecurityContext(HttpServletRequest, HttpServletResponse) - Method in interface com.force.sdk.oauth.context.store.SecurityContextStorageService
Clears the security context from storage.
close() - Method in class com.force.sdk.oauth.connector.ForceOAuthConnector
Closes the connection.
com.force.sdk.oauth - package com.force.sdk.oauth
 
com.force.sdk.oauth.connector - package com.force.sdk.oauth.connector
 
com.force.sdk.oauth.context - package com.force.sdk.oauth.context
 
com.force.sdk.oauth.context.store - package com.force.sdk.oauth.context.store
 
com.force.sdk.oauth.exception - package com.force.sdk.oauth.exception
 
com.force.sdk.oauth.userdata - package com.force.sdk.oauth.userdata
 
ContextStoreException - Exception in com.force.sdk.oauth.context.store
Exception thrown by a SecurityContextStore when an issue occurs.
ContextStoreException(Exception) - Constructor for exception com.force.sdk.oauth.context.store.ContextStoreException
Used for wrapping other exceptions with a ContextStoreException.
CustomSecurityContext - Class in com.force.sdk.oauth.context
Abstract class that should be extended when using a custom data retriever.
CustomSecurityContext() - Constructor for class com.force.sdk.oauth.context.CustomSecurityContext
 
CustomUserDataRetrievalService - Class in com.force.sdk.oauth.userdata
Defines the logic for calling a CustomUserDataRetriever.
CustomUserDataRetrievalService() - Constructor for class com.force.sdk.oauth.userdata.CustomUserDataRetrievalService
 
CustomUserDataRetrievalService(CustomUserDataRetriever<?>, boolean) - Constructor for class com.force.sdk.oauth.userdata.CustomUserDataRetrievalService
Creates a custom user data retrieval service with this CustomUserDataRetriever.
CustomUserDataRetrievalService(CustomUserDataRetriever<?>) - Constructor for class com.force.sdk.oauth.userdata.CustomUserDataRetrievalService
Creates a custom user data retrieval service with this CustomUserDataRetriever.
CustomUserDataRetriever<T extends CustomSecurityContext> - Class in com.force.sdk.oauth.userdata
Base class that must be extended when a custom user data retrieval flow is used.
CustomUserDataRetriever() - Constructor for class com.force.sdk.oauth.userdata.CustomUserDataRetriever
 

D

decrypt(byte[], SecretKeySpec) - Static method in class com.force.sdk.oauth.context.store.AESUtil
Decrypts the value using the passed in key.
DEFAULT_ROLE - Static variable in class com.force.sdk.oauth.context.SecurityContextUtil
Constant that defines the default role which will be used if no role is available.
destroy() - Method in class com.force.sdk.oauth.AuthFilter
No resources to release.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.force.sdk.oauth.AuthFilter
Handle the secured requests.

E

encrypt(byte[], SecretKeySpec) - Static method in class com.force.sdk.oauth.context.store.AESUtil
Encrypts the value using the passed in key.

F

FORCE_FORCE_ENDPOINT - Static variable in class com.force.sdk.oauth.context.SecurityContextUtil
Constant that defines the name of the endpoint cookie.
FORCE_FORCE_SESSION - Static variable in class com.force.sdk.oauth.context.SecurityContextUtil
Constant that defines the name of the session id cookie.
ForceEncryptionException - Exception in com.force.sdk.oauth.context.store
Exception thrown when an error occurs during encryption.
ForceEncryptionException(Exception) - Constructor for exception com.force.sdk.oauth.context.store.ForceEncryptionException
Used for wrapping other exceptions with a ForceEncryptionException.
ForceOAuthConnectionInfo - Class in com.force.sdk.oauth.connector
Bean that stores Force.com oauth connection information.
ForceOAuthConnectionInfo() - Constructor for class com.force.sdk.oauth.connector.ForceOAuthConnectionInfo
 
ForceOAuthConnector - Class in com.force.sdk.oauth.connector
Main actor in the OAuth handshake.
ForceOAuthConnector() - Constructor for class com.force.sdk.oauth.connector.ForceOAuthConnector
Default constructor.
ForceOAuthConnector(UserDataRetrievalService) - Constructor for class com.force.sdk.oauth.connector.ForceOAuthConnector
Sets OAuth version to 2.0.
ForceOAuthConnector.OAuthVersion - Enum in com.force.sdk.oauth.connector
OAuth spec version.
ForceOAuthSessionExpirationException - Exception in com.force.sdk.oauth.exception
Exception thrown when an API session id that was obtained via OAuth expires.
ForceOAuthSessionExpirationException() - Constructor for exception com.force.sdk.oauth.exception.ForceOAuthSessionExpirationException
 
ForceRolePrincipal - Class in com.force.sdk.oauth
A security principal that represents a Force.com role.
ForceRolePrincipal(String) - Constructor for class com.force.sdk.oauth.ForceRolePrincipal
Creates a ForceRolePrincipal with this name.
ForceSecurityContext - Class in com.force.sdk.oauth.context
Default implementation of a SecurityContext.
ForceSecurityContext() - Constructor for class com.force.sdk.oauth.context.ForceSecurityContext
 
ForceSecurityContextHolder - Class in com.force.sdk.oauth.context
Provides a mechanism to access the SecurityContext for the authenticated user.
ForceUserDataRetriever - Class in com.force.sdk.oauth.userdata
Provides the default implementation of UserDataRetriever.
ForceUserDataRetriever() - Constructor for class com.force.sdk.oauth.userdata.ForceUserDataRetriever
 
ForceUserPrincipal - Class in com.force.sdk.oauth
A security principal that represents a Force.com user.
ForceUserPrincipal(String, String) - Constructor for class com.force.sdk.oauth.ForceUserPrincipal
Creates a ForceUserPrincipal with this name and session id.

G

generateRandomKey() - Static method in class com.force.sdk.oauth.context.store.AESUtil
Generates a random secret key.
get() - Static method in class com.force.sdk.oauth.context.ForceSecurityContextHolder
Gets the security context stored in the thread local store.
get(boolean) - Static method in class com.force.sdk.oauth.context.ForceSecurityContextHolder
Gets the security context stored in the thread local store.
getAccessCode(HttpServletRequest) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnector
Parses the access code in the servlet request.
getAccessToken(String, String) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnector
Gets the access token for user.
getCookieValues(HttpServletRequest) - Static method in class com.force.sdk.oauth.context.SecurityContextUtil
Gets the session id and endpoint from cookies.
getEndpoint() - Method in class com.force.sdk.oauth.connector.ForceOAuthConnectionInfo
 
getEndPoint() - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
getEndPoint() - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
getEndPoint() - Method in interface com.force.sdk.oauth.context.SecurityContext
Gets the endPoint.
getEndpoint() - Method in class com.force.sdk.oauth.userdata.ForceUserDataRetriever
 
getEndPointHost() - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
getEndPointHost() - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
getEndPointHost() - Method in interface com.force.sdk.oauth.context.SecurityContext
Gets the host of endPoint.
getForceLogoutUrl(HttpServletRequest, String, String) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnector
Builds the logout url.
getForceSecurityContext() - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
getForceSecurityContext() - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
getForceSecurityContext() - Method in interface com.force.sdk.oauth.context.SecurityContext
Gets the forceSecurityContext.
getHostPort(HttpServletRequest) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnector
Returns the host and port of the endpoint.
getHostPort(String, String) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnector
Returns the host and port of the endpoint.
getLanguage() - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
getLanguage() - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
getLanguage() - Method in interface com.force.sdk.oauth.context.SecurityContext
Gets the language.
getLocale() - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
getLocale() - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
getLocale() - Method in interface com.force.sdk.oauth.context.SecurityContext
Gets the locale.
getLoginRedirectUrl(HttpServletRequest) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnector
Gets the url that the user will be redirected to for authentication.
getName() - Method in class com.force.sdk.oauth.ForceRolePrincipal
 
getName() - Method in class com.force.sdk.oauth.ForceUserPrincipal
 
getOauthKey() - Method in class com.force.sdk.oauth.connector.ForceOAuthConnectionInfo
 
getOauthSecret() - Method in class com.force.sdk.oauth.connector.ForceOAuthConnectionInfo
 
getOAuthVersion() - Method in class com.force.sdk.oauth.connector.ForceOAuthConnector
 
getOrgId() - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
getOrgId() - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
getOrgId() - Method in interface com.force.sdk.oauth.context.SecurityContext
Gets the orgId.
getRedirectUri(HttpServletRequest) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnector
Gets the URI to redirect to for user authentication.
getRefreshToken() - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
getRefreshToken() - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
getRefreshToken() - Method in interface com.force.sdk.oauth.context.SecurityContext
Gets the refreshToken.
getRefreshToken() - Method in class com.force.sdk.oauth.userdata.ForceUserDataRetriever
 
getRole() - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
getRole() - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
getRole() - Method in interface com.force.sdk.oauth.context.SecurityContext
Gets the role.
getSecretKey() - Method in interface com.force.sdk.oauth.context.SecurityContextService
Returns the secret key if one is being used.
getSecretKey() - Method in class com.force.sdk.oauth.context.SecurityContextServiceImpl
 
getSecretKey() - Static method in class com.force.sdk.oauth.context.store.AESUtil
Calls getSecretKey(String fileName) with the default filename.
getSecretKey(String) - Static method in class com.force.sdk.oauth.context.store.AESUtil
Reads in a stored secret key from a properties file and creates a SecretKeySpec object from it.
getSecretKeySpec(String) - Static method in class com.force.sdk.oauth.context.store.AESUtil
 
getSecureKey() - Method in class com.force.sdk.oauth.context.store.SecurityContextCookieStore
 
getSecureKey() - Method in class com.force.sdk.oauth.context.store.SecurityContextSessionStore
 
getSecureKey() - Method in interface com.force.sdk.oauth.context.store.SecurityContextStorageService
Retrieves the secret key if one is used in this security context store.
getSecurityContextFromSession(HttpServletRequest) - Method in interface com.force.sdk.oauth.context.SecurityContextService
Retrieves the security context.
getSecurityContextFromSession(HttpServletRequest) - Method in class com.force.sdk.oauth.context.SecurityContextServiceImpl
Retrieves the security context.
getSecurityContextService() - Method in class com.force.sdk.oauth.AuthFilter
 
getSessionId() - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
getSessionId() - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
getSessionId() - Method in interface com.force.sdk.oauth.context.SecurityContext
Gets the sessionId.
getSessionId() - Method in class com.force.sdk.oauth.ForceUserPrincipal
 
getSessionId() - Method in class com.force.sdk.oauth.userdata.ForceUserDataRetriever
 
getTimeZone() - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
getTimeZone() - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
getTimeZone() - Method in interface com.force.sdk.oauth.context.SecurityContext
Gets the timeZone.
getUserId() - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
getUserId() - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
getUserId() - Method in interface com.force.sdk.oauth.context.SecurityContext
Gets the userId.
getUserName() - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
getUserName() - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
getUserName() - Method in interface com.force.sdk.oauth.context.SecurityContext
Gets the userName.

I

init(FilterConfig) - Method in class com.force.sdk.oauth.AuthFilter
Initializes the filter from the init params.
init(GetUserInfoResult) - Method in class com.force.sdk.oauth.context.CustomSecurityContext
Initializes the SecurityContext from a GetUserInfoResult object.
init(GetUserInfoResult) - Method in class com.force.sdk.oauth.context.ForceSecurityContext
Initializes the security context from a GetUserInfoResult object.
init(GetUserInfoResult) - Method in interface com.force.sdk.oauth.context.SecurityContext
Initializes the security context from a GetUserInfoResult object.
initializeSecurityContextFromApi(SecurityContext) - Static method in class com.force.sdk.oauth.context.SecurityContextUtil
Initializes the user information into the security context via a call to the partner API.
isContextStored(HttpServletRequest) - Method in class com.force.sdk.oauth.context.store.SecurityContextCookieStore
Detects whether or not there is a security context stored via this storage method.
isContextStored(HttpServletRequest) - Method in class com.force.sdk.oauth.context.store.SecurityContextSessionStore
Detects whether or not there is a security context stored via this storage method.
isContextStored(HttpServletRequest) - Method in interface com.force.sdk.oauth.context.store.SecurityContextStorageService
Detects whether or not there is a security context stored via this storage method.
isStoreUsername() - Method in class com.force.sdk.oauth.userdata.ForceUserDataRetriever
Returns whether or not the username should be stored.
isStoreUsername() - Method in class com.force.sdk.oauth.userdata.UserDataRetrievalService
Returns whether or not the username should be stored.

L

LOGIN_REDIRECT_URL_ATTRIBUTE - Static variable in class com.force.sdk.oauth.connector.ForceOAuthConnector
The request attribute that the login redirect url will be read from.

R

recreateSecretKeySpec(String) - Static method in class com.force.sdk.oauth.context.store.AESUtil
Creates a SecretKeySpec object from an AES key.
REDIRECT_AUTH_URI - Static variable in class com.force.sdk.oauth.connector.ForceOAuthConnector
The url that is used for the authentication code callback.
refreshAccessToken(String) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnector
Uses the refresh token to obtain a new auth token for the user.
release() - Static method in class com.force.sdk.oauth.context.ForceSecurityContextHolder
Releases the current security context from the thread local store.
renewSession(ConnectorConfig) - Method in class com.force.sdk.oauth.AuthFilter
 
retreiveSecurityContext(HttpServletRequest) - Method in class com.force.sdk.oauth.context.store.SecurityContextCookieStore
Retrieves the security context from a browser cookie.
retreiveSecurityContext(HttpServletRequest) - Method in class com.force.sdk.oauth.context.store.SecurityContextSessionStore
Retrieves the security context from the session.
retreiveSecurityContext(HttpServletRequest) - Method in interface com.force.sdk.oauth.context.store.SecurityContextStorageService
Retrieves the security context.
retrieveToken(String, String, String, ForceOAuthConnectionInfo) - Method in interface com.force.sdk.oauth.connector.TokenRetrievalService
Obtains an access token by calling the OAuth authentication endpoint and either trading an access code or refresh token for it.
retrieveToken(String, String, String, ForceOAuthConnectionInfo) - Method in class com.force.sdk.oauth.connector.TokenRetrievalServiceImpl
Obtains an access token by calling the OAuth authentication endpoint and either trading an access code or refresh token for it.
retrieveUserData(String, String, String) - Method in class com.force.sdk.oauth.userdata.CustomUserDataRetrievalService
Calls the super method to retrieve the default user data.
retrieveUserData() - Method in class com.force.sdk.oauth.userdata.CustomUserDataRetriever
Retrieves data about the authenticated user and returns a CustomSecurityContext.
retrieveUserData() - Method in class com.force.sdk.oauth.userdata.ForceUserDataRetriever
Retrieves the default user data from the partner API.
retrieveUserData(String, String, String) - Method in class com.force.sdk.oauth.userdata.UserDataRetrievalService
Sets up the user data retriever and retrieves data about the user.
retrieveUserData() - Method in interface com.force.sdk.oauth.userdata.UserDataRetriever
Retrieves the user data and stores it in a SecurityContext object.

S

SECURITY_CONTEXT_COOKIE_NAME - Static variable in class com.force.sdk.oauth.context.store.SecurityContextCookieStore
Constant that stores the name of the security context cookie.
SECURITY_CONTEXT_SESSION_KEY - Static variable in class com.force.sdk.oauth.context.store.SecurityContextSessionStore
The key used to store the SecurityContext in the session.
SecurityContext - Interface in com.force.sdk.oauth.context
Interface representing the standard fields stored when a user is authenticated.
SecurityContextCookieStore - Class in com.force.sdk.oauth.context.store
Handles the storage of a SecurityContext via browser cookies.
SecurityContextCookieStore() - Constructor for class com.force.sdk.oauth.context.store.SecurityContextCookieStore
 
SecurityContextService - Interface in com.force.sdk.oauth.context
Provides the basic functionality for managing a security context in the session of the authenticated user.
SecurityContextServiceImpl - Class in com.force.sdk.oauth.context
Provides the basic functionality for managing a security context in the session of the authenticated user.
SecurityContextServiceImpl() - Constructor for class com.force.sdk.oauth.context.SecurityContextServiceImpl
 
SecurityContextSessionStore - Class in com.force.sdk.oauth.context.store
Handles the storage of a SecurityContext via server side session.
SecurityContextSessionStore() - Constructor for class com.force.sdk.oauth.context.store.SecurityContextSessionStore
 
SecurityContextStorageService - Interface in com.force.sdk.oauth.context.store
Defines the interface for storing, retrieving, and clearing a SecurityContext to/from a storage service.
SecurityContextUtil - Class in com.force.sdk.oauth.context
Utility class to handle all interactions with the browser cookies sed to track a user's authentication status.
set(SecurityContext) - Static method in class com.force.sdk.oauth.context.ForceSecurityContextHolder
Sets the security context to the thread local store.
setConnectionInfo(ForceOAuthConnectionInfo) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnector
 
setConnectionName(String) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnector
 
setConnectionUrl(String) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnectionInfo
Parses the connection url and sets the values pulled from it.
setCookiePath(String) - Method in class com.force.sdk.oauth.context.SecurityContextServiceImpl
 
setCookiePath(String) - Method in class com.force.sdk.oauth.context.store.SecurityContextCookieStore
Sets the path for the cookie to use
setCookieValues(SecurityContext, HttpServletResponse, boolean, String) - Static method in class com.force.sdk.oauth.context.SecurityContextUtil
Sets the session id and endpoint from the security context into cookies.
setCookieValues(Map<String, String>, HttpServletResponse, boolean, String) - Static method in class com.force.sdk.oauth.context.SecurityContextUtil
Sets the map of cookie names and values into cookies on the response.
setCustomDataRetriever(CustomUserDataRetriever<?>) - Method in class com.force.sdk.oauth.userdata.CustomUserDataRetrievalService
 
setEndpoint(String) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnectionInfo
 
setEndPoint(String) - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
setEndPoint(String) - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
setEndPoint(String) - Method in interface com.force.sdk.oauth.context.SecurityContext
Sets the endPoint.
setEndpoint(String) - Method in class com.force.sdk.oauth.userdata.ForceUserDataRetriever
 
setEndpoint(String) - Method in interface com.force.sdk.oauth.userdata.UserDataRetriever
Sets the endpoint.
setEndPointHost(String) - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
setEndPointHost(String) - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
setEndPointHost(String) - Method in interface com.force.sdk.oauth.context.SecurityContext
Sets the host of endPoint.
setForceSecurityContext(SecurityContext) - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
setKey(String) - Method in class com.force.sdk.oauth.context.store.SecurityContextCookieStore
Sets the key directly
setKeyFileName(String) - Method in class com.force.sdk.oauth.context.store.SecurityContextCookieStore
Sets the key file name and reads the key from the file.
setLanguage(String) - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
setLanguage(String) - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
setLanguage(String) - Method in interface com.force.sdk.oauth.context.SecurityContext
Sets the language.
setLocale(String) - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
setLocale(String) - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
setLocale(String) - Method in interface com.force.sdk.oauth.context.SecurityContext
Sets the locale.
setOauthKey(String) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnectionInfo
 
setOauthSecret(String) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnectionInfo
 
setOAuthVersion(String) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnector
 
setOrgId(String) - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
setOrgId(String) - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
setOrgId(String) - Method in interface com.force.sdk.oauth.context.SecurityContext
Sets the orgid.
setRefreshToken(String) - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
setRefreshToken(String) - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
setRefreshToken(String) - Method in interface com.force.sdk.oauth.context.SecurityContext
Sets the refreshToken.
setRefreshToken(String) - Method in class com.force.sdk.oauth.userdata.ForceUserDataRetriever
 
setRefreshToken(String) - Method in interface com.force.sdk.oauth.userdata.UserDataRetriever
Sets the refreshToken.
setRole(String) - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
setRole(String) - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
setRole(String) - Method in interface com.force.sdk.oauth.context.SecurityContext
Sets the role.
setSecurityContextStorageService(SecurityContextStorageService) - Method in class com.force.sdk.oauth.context.SecurityContextServiceImpl
 
setSecurityContextToSession(HttpServletRequest, HttpServletResponse, SecurityContext) - Method in interface com.force.sdk.oauth.context.SecurityContextService
Sets the security context to the session.
setSecurityContextToSession(HttpServletRequest, HttpServletResponse, SecurityContext) - Method in class com.force.sdk.oauth.context.SecurityContextServiceImpl
Uses the SecurityContextStorageService to store the security context.
setSessionId(String) - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
setSessionId(String) - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
setSessionId(String) - Method in interface com.force.sdk.oauth.context.SecurityContext
Sets the sessionId.
setSessionId(String) - Method in class com.force.sdk.oauth.userdata.ForceUserDataRetriever
 
setSessionId(String) - Method in interface com.force.sdk.oauth.userdata.UserDataRetriever
Sets the sessionId.
setStoreUsername(boolean) - Method in class com.force.sdk.oauth.userdata.ForceUserDataRetriever
 
setStoreUsername(boolean) - Method in class com.force.sdk.oauth.userdata.UserDataRetrievalService
 
setStoreUsername(boolean) - Method in interface com.force.sdk.oauth.userdata.UserDataRetriever
Sets the storeUsername flag.
setTimeZone(String) - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
setTimeZone(String) - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
setTimeZone(String) - Method in interface com.force.sdk.oauth.context.SecurityContext
Sets the timeZone.
setTokenRetrievalService(TokenRetrievalService) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnector
 
setUserDataRetrievalService(UserDataRetrievalService) - Method in class com.force.sdk.oauth.connector.ForceOAuthConnector
 
setUserDataRetrievalService(UserDataRetrievalService) - Method in class com.force.sdk.oauth.context.SecurityContextServiceImpl
 
setUserId(String) - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
setUserId(String) - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
setUserId(String) - Method in interface com.force.sdk.oauth.context.SecurityContext
Sets the userId.
setUserName(String) - Method in class com.force.sdk.oauth.context.CustomSecurityContext
 
setUserName(String) - Method in class com.force.sdk.oauth.context.ForceSecurityContext
 
setUserName(String) - Method in interface com.force.sdk.oauth.context.SecurityContext
Sets the userName.
storeSecurityContext(HttpServletRequest, HttpServletResponse, SecurityContext) - Method in class com.force.sdk.oauth.context.store.SecurityContextCookieStore
Saves the security context to a browser cookie.
storeSecurityContext(HttpServletRequest, HttpServletResponse, SecurityContext) - Method in class com.force.sdk.oauth.context.store.SecurityContextSessionStore
Stores the security context in the session.
storeSecurityContext(HttpServletRequest, HttpServletResponse, SecurityContext) - Method in interface com.force.sdk.oauth.context.store.SecurityContextStorageService
Stores the security context.

T

TokenRetrievalService - Interface in com.force.sdk.oauth.connector
Interface for retrieving an auth token from an access code.
TokenRetrievalServiceImpl - Class in com.force.sdk.oauth.connector
Retrieves the auth token by calling the token request URL.
TokenRetrievalServiceImpl() - Constructor for class com.force.sdk.oauth.connector.TokenRetrievalServiceImpl
 

U

UserDataRetrievalService - Class in com.force.sdk.oauth.userdata
Retrieves data about the authenticated user for storage in the SecurityContext.
UserDataRetrievalService(boolean) - Constructor for class com.force.sdk.oauth.userdata.UserDataRetrievalService
Creates the service with the given value for the storeUsername flag.
UserDataRetrievalService() - Constructor for class com.force.sdk.oauth.userdata.UserDataRetrievalService
Creates a ForceUserDataRetriever.
UserDataRetriever - Interface in com.force.sdk.oauth.userdata
Retrieves data about a userby calling out to external sources.
useSecureCookies(HttpServletRequest) - Static method in class com.force.sdk.oauth.context.SecurityContextUtil
We should not use secure cookies if the request came from the local machine because this will usually mean that we are in a development environment where secure communitcation is not being used and isn't required to be.

V

validate() - Method in class com.force.sdk.oauth.connector.ForceOAuthConnectionInfo
Ensures that the data represents a valid OAuth connection.
valueOf(String) - Static method in enum com.force.sdk.oauth.connector.ForceOAuthConnector.OAuthVersion
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.force.sdk.oauth.connector.ForceOAuthConnector.OAuthVersion
Returns an array containing the constants of this enum type, in the order they are declared.
verifyAndRefreshSecurityContext(SecurityContext, HttpServletRequest) - Method in interface com.force.sdk.oauth.context.SecurityContextService
Verifies the security context against the browser cookies.
verifyAndRefreshSecurityContext(SecurityContext, HttpServletRequest) - Method in class com.force.sdk.oauth.context.SecurityContextServiceImpl
Verifies the security context against the browser cookies.

A B C D E F G I L R S T U V

Copyright © 2012. All Rights Reserved.