A B C D E F G H I J K L M N O P Q R S T U V W 

A

AbstractConnection<A> - Class in org.springframework.social.connect.support
Base support class for Connection implementations.
AbstractConnection(ApiAdapter<A>) - Constructor for class org.springframework.social.connect.support.AbstractConnection
Creates a new connection.
AbstractConnection(ConnectionData, ApiAdapter<A>) - Constructor for class org.springframework.social.connect.support.AbstractConnection
Creates a connection from the data provider.
AbstractConnectionRepositoryConfigSupport - Class in org.springframework.social.config.support
 
AbstractConnectionRepositoryConfigSupport() - Constructor for class org.springframework.social.config.support.AbstractConnectionRepositoryConfigSupport
 
AbstractOAuth1ApiBinding - Class in org.springframework.social.oauth1
Base class for OAuth 1-based provider API bindings.
AbstractOAuth1ApiBinding() - Constructor for class org.springframework.social.oauth1.AbstractOAuth1ApiBinding
Constructs the API template without user authorization.
AbstractOAuth1ApiBinding(String, String, String, String) - Constructor for class org.springframework.social.oauth1.AbstractOAuth1ApiBinding
Constructs the API template with OAuth credentials necessary to perform operations on behalf of a user.
AbstractOAuth1ServiceProvider<S> - Class in org.springframework.social.oauth1
Base class for ServiceProviders that use the OAuth1 protocol.
AbstractOAuth1ServiceProvider(String, String, OAuth1Operations) - Constructor for class org.springframework.social.oauth1.AbstractOAuth1ServiceProvider
Creates a OAuth1ServiceProvider.
AbstractOAuth2ApiBinding - Class in org.springframework.social.oauth2
Base class for OAuth 2-based provider API bindings.
AbstractOAuth2ApiBinding() - Constructor for class org.springframework.social.oauth2.AbstractOAuth2ApiBinding
Constructs the API template without user authorization.
AbstractOAuth2ApiBinding(String) - Constructor for class org.springframework.social.oauth2.AbstractOAuth2ApiBinding
Constructs the API template with OAuth credentials necessary to perform operations on behalf of a user.
AbstractOAuth2ApiBinding(String, TokenStrategy) - Constructor for class org.springframework.social.oauth2.AbstractOAuth2ApiBinding
Constructs the API template with OAuth credentials necessary to perform operations on behalf of a user.
AbstractOAuth2ServiceProvider<S> - Class in org.springframework.social.oauth2
Base class for ServiceProviders that use the OAuth2 protocol.
AbstractOAuth2ServiceProvider(OAuth2Operations) - Constructor for class org.springframework.social.oauth2.AbstractOAuth2ServiceProvider
Create a new OAuth2ServiceProvider.
AbstractProviderConfigBeanDefinitionParser - Class in org.springframework.social.config.xml
Abstract bean definition parser for configuring provider-specific beans in a Spring application context.
AbstractProviderConfigBeanDefinitionParser(Class<? extends ConnectionFactory<?>>, Class<? extends ApiHelper<?>>) - Constructor for class org.springframework.social.config.xml.AbstractProviderConfigBeanDefinitionParser
Constructs a connection factory-creating BeanDefinitionParser.
AbstractProviderConfigNamespaceHandler - Class in org.springframework.social.config.xml
Base NamespaceHandler for Spring Social provider modules to create configuration namespaces.
AbstractProviderConfigNamespaceHandler() - Constructor for class org.springframework.social.config.xml.AbstractProviderConfigNamespaceHandler
 
AbstractSocialAuthenticationService<S> - Class in org.springframework.social.security.provider
 
AbstractSocialAuthenticationService() - Constructor for class org.springframework.social.security.provider.AbstractSocialAuthenticationService
 
AccessGrant - Class in org.springframework.social.oauth2
OAuth2 access token.
AccessGrant(String) - Constructor for class org.springframework.social.oauth2.AccessGrant
 
AccessGrant(String, String, String, Long) - Constructor for class org.springframework.social.oauth2.AccessGrant
 
add(String, String) - Method in class org.springframework.social.support.ParameterMap
 
addAuthenticationService(SocialAuthenticationService<?>) - Method in class org.springframework.social.security.SocialAuthenticationServiceRegistry
Add a SocialAuthenticationService to this registry.
addConnection(Connection<?>) - Method in interface org.springframework.social.connect.ConnectionRepository
Add a new connection to this repository for the current user.
addConnection(SocialAuthenticationService<?>, String, ConnectionData) - Method in class org.springframework.social.security.SocialAuthenticationFilter
 
addConnectionFactories(ConnectionFactoryConfigurer, Environment) - Method in interface org.springframework.social.config.annotation.SocialConfigurer
Callback method to allow configuration of ConnectionFactorys.
addConnectionFactories(ConnectionFactoryConfigurer, Environment) - Method in class org.springframework.social.config.annotation.SocialConfigurerAdapter
addConnectionFactory(ConnectionFactory<?>) - Method in interface org.springframework.social.config.annotation.ConnectionFactoryConfigurer
Add a connection factory registry.
addConnectionFactory(ConnectionFactory<?>) - Method in class org.springframework.social.connect.support.ConnectionFactoryRegistry
Add a ConnectionFactory to this registry.
addCustomAuthorizationParameters(MultiValueMap<String, String>) - Method in class org.springframework.social.oauth1.OAuth1Template
Subclassing hook to add custom authorization parameters to the authorization URL.
addDisconnectInterceptor(DisconnectInterceptor<?>) - Method in class org.springframework.social.connect.web.ConnectController
Adds a DisconnectInterceptor to receive callbacks during the disconnection process.
addInterceptor(ConnectInterceptor<?>) - Method in class org.springframework.social.connect.web.ConnectController
Adds a ConnectInterceptor to receive callbacks during the connection process.
addParameter(String, String) - Method in class org.springframework.social.support.HttpRequestDecorator
 
addSignInInterceptor(ProviderSignInInterceptor<?>) - Method in class org.springframework.social.connect.web.ProviderSignInController
Adds a ConnectInterceptor to receive callbacks during the connection process.
afterPropertiesSet() - Method in class org.springframework.social.connect.web.ConnectController
 
afterPropertiesSet() - Method in class org.springframework.social.connect.web.ProviderSignInController
 
afterPropertiesSet() - Method in class org.springframework.social.security.provider.AbstractSocialAuthenticationService
 
afterPropertiesSet() - Method in class org.springframework.social.security.provider.OAuth1AuthenticationService
 
afterPropertiesSet() - Method in class org.springframework.social.security.provider.OAuth2AuthenticationService
 
alwaysUsePostLoginUrl(boolean) - Method in class org.springframework.social.security.SpringSocialConfigurer
If true, always redirect to postLoginUrl, even if a pre-signin target is in the request cache.
ApiAdapter<A> - Interface in org.springframework.social.connect
An adapter that bridges between the uniform Connection model and a specific provider API model.
ApiBinding - Interface in org.springframework.social
Base interface that may be implemented by API bindings.
apiBindingType - Variable in class org.springframework.social.config.support.ProviderConfigurationSupport
 
ApiException - Exception in org.springframework.social
Indicates that an error occurred while consuming a provider API.
ApiException(String, String) - Constructor for exception org.springframework.social.ApiException
 
ApiException(String, String, Throwable) - Constructor for exception org.springframework.social.ApiException
 
ApiHelper<T> - Interface in org.springframework.social.config.xml
Interface defining the operations required for an API helper.
apiHelperClass - Variable in class org.springframework.social.config.support.ProviderConfigurationSupport
 
attemptAuthentication(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.social.security.SocialAuthenticationFilter
 
authenticate(Authentication) - Method in class org.springframework.social.security.SocialAuthenticationProvider
Authenticate user based on SocialAuthenticationToken
authenticateClient() - Method in interface org.springframework.social.oauth2.OAuth2Operations
Retrieves the client access grant using OAuth 2 client password flow.
authenticateClient(String) - Method in interface org.springframework.social.oauth2.OAuth2Operations
Retrieves the client access grant using OAuth 2 client password flow.
authenticateClient() - Method in class org.springframework.social.oauth2.OAuth2Template
 
authenticateClient(String) - Method in class org.springframework.social.oauth2.OAuth2Template
 
AuthenticationNameUserIdSource - Class in org.springframework.social.security
Implementation of UserIdSource that returns the Spring Security Authentication's name as the user ID.
AuthenticationNameUserIdSource() - Constructor for class org.springframework.social.security.AuthenticationNameUserIdSource
 
authenticationServiceClass - Variable in class org.springframework.social.config.support.ProviderConfigurationSupport
 
AUTHORIZATION_ERROR_ATTRIBUTE - Static variable in class org.springframework.social.connect.web.ConnectController
 
AuthorizedRequestToken - Class in org.springframework.social.oauth1
A OAuth 1.0 request token that has been authorized by the user.
AuthorizedRequestToken(OAuthToken, String) - Constructor for class org.springframework.social.oauth1.AuthorizedRequestToken
Creates an authorized request token.

B

BaseSocialConnectedTag - Class in org.springframework.social.connect.web.taglib
SocialConnectedTag and SocialNotConnectedTag extend to provide functionality within a JSP to determine if you are connected to a provider or not.
BaseSocialConnectedTag() - Constructor for class org.springframework.social.connect.web.taglib.BaseSocialConnectedTag
 
BufferingClientHttpResponse - Class in org.springframework.social.support
 
bufferRequests(ClientHttpRequestFactory) - Static method in class org.springframework.social.support.ClientHttpRequestFactorySelector
Decorates a request factory to buffer responses so that the responses may be repeatedly read.
build() - Method in class org.springframework.social.connect.UserProfileBuilder
Builds the user profile.
build() - Method in class org.springframework.social.support.URIBuilder
Builds the URI
buildAuthenticateUrl(String, OAuth1Parameters) - Method in interface org.springframework.social.oauth1.OAuth1Operations
Construct the URL to redirect the user to for authentication.
buildAuthenticateUrl(String, OAuth1Parameters) - Method in class org.springframework.social.oauth1.OAuth1Template
 
buildAuthenticateUrl(OAuth2Parameters) - Method in interface org.springframework.social.oauth2.OAuth2Operations
Construct the URL to redirect the user to for authentication via OAuth2's "Authorization Code Grant".
buildAuthenticateUrl(GrantType, OAuth2Parameters) - Method in interface org.springframework.social.oauth2.OAuth2Operations
Construct the URL to redirect the user to for authentication.
buildAuthenticateUrl(OAuth2Parameters) - Method in class org.springframework.social.oauth2.OAuth2Template
 
buildAuthenticateUrl(GrantType, OAuth2Parameters) - Method in class org.springframework.social.oauth2.OAuth2Template
 
buildAuthorizeUrl(String, OAuth1Parameters) - Method in interface org.springframework.social.oauth1.OAuth1Operations
Construct the URL to redirect the user to for authorization.
buildAuthorizeUrl(String, OAuth1Parameters) - Method in class org.springframework.social.oauth1.OAuth1Template
 
buildAuthorizeUrl(OAuth2Parameters) - Method in interface org.springframework.social.oauth2.OAuth2Operations
Construct the URL to redirect the user to for authorization via OAuth2's "Authorization Code Grant".
buildAuthorizeUrl(GrantType, OAuth2Parameters) - Method in interface org.springframework.social.oauth2.OAuth2Operations
Construct the URL to redirect the user to for authorization.
buildAuthorizeUrl(OAuth2Parameters) - Method in class org.springframework.social.oauth2.OAuth2Template
 
buildAuthorizeUrl(GrantType, OAuth2Parameters) - Method in class org.springframework.social.oauth2.OAuth2Template
 
buildOAuthUrl(ConnectionFactory<?>, NativeWebRequest) - Method in class org.springframework.social.connect.web.ConnectSupport
Builds the provider URL to redirect the user to for connection authorization.
buildOAuthUrl(ConnectionFactory<?>, NativeWebRequest, MultiValueMap<String, String>) - Method in class org.springframework.social.connect.web.ConnectSupport
Builds the provider URL to redirect the user to for connection authorization.
buildReturnToUrl(HttpServletRequest) - Method in class org.springframework.social.security.provider.OAuth1AuthenticationService
 
buildReturnToUrl(HttpServletRequest) - Method in class org.springframework.social.security.provider.OAuth2AuthenticationService
 

C

callbackUrl(NativeWebRequest) - Method in class org.springframework.social.connect.web.ConnectSupport
 
canceledAuthorizationCallback() - Method in class org.springframework.social.connect.web.ProviderSignInController
Process the authentication callback when neither the oauth_token or code parameter is given, likely indicating that the user denied authorization with the provider.
canRead(Class<?>, MediaType) - Method in class org.springframework.social.support.FormMapHttpMessageConverter
 
canWrite(Class<?>, MediaType) - Method in class org.springframework.social.support.FormMapHttpMessageConverter
 
clear() - Method in class org.springframework.social.support.ParameterMap
 
ClientHttpRequestFactorySelector - Class in org.springframework.social.support
Chooses a request factory.
ClientHttpRequestFactorySelector() - Constructor for class org.springframework.social.support.ClientHttpRequestFactorySelector
 
ClientHttpRequestFactorySelector.HttpComponentsClientRequestFactoryCreator - Class in org.springframework.social.support
 
ClientHttpRequestFactorySelector.HttpComponentsClientRequestFactoryCreator() - Constructor for class org.springframework.social.support.ClientHttpRequestFactorySelector.HttpComponentsClientRequestFactoryCreator
 
close() - Method in class org.springframework.social.support.BufferingClientHttpResponse
 
completeConnection(OAuth1ConnectionFactory<?>, NativeWebRequest) - Method in class org.springframework.social.connect.web.ConnectSupport
Complete the connection to the OAuth1 provider.
completeConnection(OAuth2ConnectionFactory<?>, NativeWebRequest) - Method in class org.springframework.social.connect.web.ConnectSupport
Complete the connection to the OAuth2 provider.
configure(HttpSecurity) - Method in class org.springframework.social.security.SpringSocialConfigurer
 
configureRestTemplate(RestTemplate) - Method in class org.springframework.social.oauth1.AbstractOAuth1ApiBinding
Subclassing hook to enable customization of the RestTemplate used to consume provider API resources.
configureRestTemplate(RestTemplate) - Method in class org.springframework.social.oauth2.AbstractOAuth2ApiBinding
Subclassing hook to enable customization of the RestTemplate used to consume provider API resources.
connect(String, NativeWebRequest) - Method in class org.springframework.social.connect.web.ConnectController
Process a connect form submission by commencing the process of establishing a connection to the provider on behalf of the member.
ConnectController - Class in org.springframework.social.connect.web
Generic UI controller for managing the account-to-service-provider connection flow.
ConnectController(ConnectionFactoryLocator, ConnectionRepository) - Constructor for class org.springframework.social.connect.web.ConnectController
Constructs a ConnectController.
connectedView(String) - Method in class org.springframework.social.connect.web.ConnectController
Returns the view name of a page to display for a provider when the user is connected to the provider.
ConnectInterceptor<S> - Interface in org.springframework.social.connect.web
Listens for service provider connection events.
Connection<A> - Interface in org.springframework.social.connect
A link to a service provider user.
connectionAddedRedirectUrl(String) - Method in class org.springframework.social.security.SpringSocialConfigurer
Sets the URL to land on after an a connection was added.
ConnectionData - Class in org.springframework.social.connect
A data transfer object that allows the internal state of a Connection to be persisted and transferred between layers of an application.
ConnectionData(String, String, String, String, String, String, String, String, Long) - Constructor for class org.springframework.social.connect.ConnectionData
 
ConnectionFactory<A> - Class in org.springframework.social.connect
Base abstraction for factories that construct service provider Connection instances.
ConnectionFactory(String, ServiceProvider<A>, ApiAdapter<A>) - Constructor for class org.springframework.social.connect.ConnectionFactory
Creates a new ConnectionFactory.
connectionFactoryClass - Variable in class org.springframework.social.config.support.ProviderConfigurationSupport
 
ConnectionFactoryConfigurer - Interface in org.springframework.social.config.annotation
Strategy interface for registering connection factories.
connectionFactoryLocator() - Method in class org.springframework.social.config.annotation.SocialConfiguration
 
ConnectionFactoryLocator - Interface in org.springframework.social.connect
A ServiceLocator for ConnectionFactory instances.
ConnectionFactoryRegistry - Class in org.springframework.social.connect.support
ConnectionFactoryRegistry() - Constructor for class org.springframework.social.connect.support.ConnectionFactoryRegistry
 
ConnectionKey - Class in org.springframework.social.connect
The unique business key for a Connection instance.
ConnectionKey(String, String) - Constructor for class org.springframework.social.connect.ConnectionKey
Creates a new ConnectionKey.
connectionRepository(UsersConnectionRepository) - Method in class org.springframework.social.config.annotation.SocialConfiguration
 
ConnectionRepository - Interface in org.springframework.social.connect
Data access interface for saving and restoring Connection objects from a persistent store.
ConnectionRepositoryException - Exception in org.springframework.social.connect
Base exception class for ConnectionRepository failures.
ConnectionRepositoryException(String) - Constructor for exception org.springframework.social.connect.ConnectionRepositoryException
 
ConnectionRepositoryException(String, Throwable) - Constructor for exception org.springframework.social.connect.ConnectionRepositoryException
 
ConnectionSignUp - Interface in org.springframework.social.connect
A command that signs up a new user in the event no user id could be mapped from a Connection.
connectionStatus(NativeWebRequest, Model) - Method in class org.springframework.social.connect.web.ConnectController
Render the status of connections across all providers to the user as HTML in their web browser.
connectionStatus(String, NativeWebRequest, Model) - Method in class org.springframework.social.connect.web.ConnectController
Render the status of the connections to the service provider to the user as HTML in their web browser.
connectionStatusRedirect(String, NativeWebRequest) - Method in class org.springframework.social.connect.web.ConnectController
Returns a RedirectView with the URL to redirect to after a connection is created or deleted.
ConnectionValues - Interface in org.springframework.social.connect
A configuration interface used to set values on a Connection from a specific service provider API instance.
ConnectSupport - Class in org.springframework.social.connect.web
Provides common connect support and utilities for Java web/servlet environments.
ConnectSupport() - Constructor for class org.springframework.social.connect.web.ConnectSupport
 
ConnectSupport(SessionStrategy) - Constructor for class org.springframework.social.connect.web.ConnectSupport
 
connectView() - Method in class org.springframework.social.connect.web.ConnectController
Returns the view name of a general connection status page, typically displaying the user's connection status for all providers.
connectView(String) - Method in class org.springframework.social.connect.web.ConnectController
Returns the view name of a page to display for a provider when the user is not connected to the provider.
containsKey(Object) - Method in class org.springframework.social.support.ParameterMap
 
containsValue(Object) - Method in class org.springframework.social.support.ParameterMap
 
createAccessGrant(String, String, String, Long, Map<String, Object>) - Method in class org.springframework.social.oauth2.OAuth2Template
Creates an AccessGrant given the response from the access token exchange with the provider.
createConnection(ConnectionData) - Method in class org.springframework.social.connect.ConnectionFactory
 
createConnection(OAuthToken) - Method in class org.springframework.social.connect.support.OAuth1ConnectionFactory
Create a OAuth1-based Connection from the access token response returned after completing the OAuth1 flow.
createConnection(ConnectionData) - Method in class org.springframework.social.connect.support.OAuth1ConnectionFactory
Create a OAuth1-based Connection from the connection data.
createConnection(AccessGrant) - Method in class org.springframework.social.connect.support.OAuth2ConnectionFactory
Create a OAuth2-based Connection from the AccessGrant returned after completing the OAuth2 flow.
createConnection(ConnectionData) - Method in class org.springframework.social.connect.support.OAuth2ConnectionFactory
Create a OAuth2-based Connection from the connection data.
createConnectionRepository(String) - Method in class org.springframework.social.connect.jdbc.JdbcUsersConnectionRepository
 
createConnectionRepository(String) - Method in class org.springframework.social.connect.mem.InMemoryUsersConnectionRepository
 
createConnectionRepository(String) - Method in interface org.springframework.social.connect.UsersConnectionRepository
Create a single-user ConnectionRepository instance for the user assigned the given id.
createData() - Method in interface org.springframework.social.connect.Connection
Creates a data transfer object that can be used to persist the state of this connection.
createData() - Method in class org.springframework.social.connect.support.AbstractConnection
 
createData() - Method in class org.springframework.social.connect.support.OAuth1Connection
 
createData() - Method in class org.springframework.social.connect.support.OAuth2Connection
 
createOAuthToken(String, String, MultiValueMap<String, String>) - Method in class org.springframework.social.oauth1.OAuth1Template
Creates an OAuthToken given the response from the request token or access token exchange with the provider.
createRequestFactory(String, int) - Static method in class org.springframework.social.support.ClientHttpRequestFactorySelector.HttpComponentsClientRequestFactoryCreator
 
createRestTemplate() - Method in class org.springframework.social.oauth2.OAuth2Template
Creates the RestTemplate used to communicate with the provider's OAuth 2 API.

D

decorate(Node, BeanDefinitionHolder, ParserContext) - Method in class org.springframework.social.config.xml.AbstractProviderConfigNamespaceHandler
 
decorate(Node, BeanDefinitionHolder, ParserContext) - Method in class org.springframework.social.config.xml.SocialNamespaceHandler
 
decorateWithScopedProxy(String, BeanDefinition, BeanDefinitionRegistry) - Method in class org.springframework.social.config.support.AbstractConnectionRepositoryConfigSupport
 
defaultFailureUrl(String) - Method in class org.springframework.social.security.SpringSocialConfigurer
Sets the URL to redirect to if authentication fails or if authorization is denied by the user.
detectRejection(HttpServletRequest) - Method in class org.springframework.social.security.SocialAuthenticationFilter
Detects a callback request after a user rejects authorization to prevent a never-ending redirect loop.
DisconnectInterceptor<S> - Interface in org.springframework.social.connect.web
Listens for service provider disconnection events.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.springframework.social.connect.web.ReconnectFilter
 
doPostSignUp(String, RequestAttributes) - Method in class org.springframework.social.connect.web.ProviderSignInUtils
Add the connection to the provider user the client attempted to sign-in with to the new local user's set of connections.
doStartTagInternal() - Method in class org.springframework.social.connect.web.taglib.SocialConnectedTag
 
doStartTagInternal() - Method in class org.springframework.social.connect.web.taglib.SocialNotConnectedTag
 
DUPLICATE_CONNECTION_ATTRIBUTE - Static variable in class org.springframework.social.connect.web.ConnectController
 
DuplicateConnectionException - Exception in org.springframework.social.connect
Thrown by a ConnectionRepository when attempting to add a Connection and a connection already exists with the given key.
DuplicateConnectionException(ConnectionKey) - Constructor for exception org.springframework.social.connect.DuplicateConnectionException
 
DuplicateStatusException - Exception in org.springframework.social
Exception thrown when a duplicate status is posted.
DuplicateStatusException(String, String) - Constructor for exception org.springframework.social.DuplicateStatusException
 

E

EMPTY - Static variable in class org.springframework.social.connect.UserProfile
Shared, empty profile that when used indicates no profile data is available (all property values are null).
EnableSocial - Annotation Type in org.springframework.social.config.annotation
Add this annotation to an @Configuration class to have the Spring MVC configuration defined in SocialConfiguration imported.
entrySet() - Method in class org.springframework.social.support.ParameterMap
 
equals(Object) - Method in class org.springframework.social.connect.ConnectionKey
 
equals(Object) - Method in class org.springframework.social.connect.support.AbstractConnection
 
equals(Object) - Method in class org.springframework.social.connect.support.OAuth1Connection
 
equals(Object) - Method in class org.springframework.social.connect.support.OAuth2Connection
 
evaluateBodyIfConnected(boolean) - Method in class org.springframework.social.connect.web.taglib.BaseSocialConnectedTag
 
exchangeCredentialsForAccess(String, String, MultiValueMap<String, String>) - Method in interface org.springframework.social.oauth2.OAuth2Operations
Exchanges user credentials for an access grant using OAuth2's Resource Owner Credentials Grant (aka, "password" grant).
exchangeCredentialsForAccess(String, String, MultiValueMap<String, String>) - Method in class org.springframework.social.oauth2.OAuth2Template
 
exchangeForAccess(String, String, MultiValueMap<String, String>) - Method in interface org.springframework.social.oauth2.OAuth2Operations
Exchange the authorization code for an access grant.
exchangeForAccess(String, String, MultiValueMap<String, String>) - Method in class org.springframework.social.oauth2.OAuth2Template
 
exchangeForAccessToken(AuthorizedRequestToken, MultiValueMap<String, String>) - Method in interface org.springframework.social.oauth1.OAuth1Operations
Exchange the authorized request token for an access token.
exchangeForAccessToken(AuthorizedRequestToken, MultiValueMap<String, String>) - Method in class org.springframework.social.oauth1.OAuth1Template
 
execute(Connection<?>) - Method in interface org.springframework.social.connect.ConnectionSignUp
Sign up a new user of the application from the connection.
ExpiredAuthorizationException - Exception in org.springframework.social
Exception indicating that the authorization presented to the server has expired.
ExpiredAuthorizationException(String) - Constructor for exception org.springframework.social.ExpiredAuthorizationException
 
extractProviderUserId(OAuthToken) - Method in class org.springframework.social.connect.support.OAuth1ConnectionFactory
Hook for extracting the providerUserId from the returned access token response, if it is available.
extractProviderUserId(AccessGrant) - Method in class org.springframework.social.connect.support.OAuth2ConnectionFactory
Hook for extracting the providerUserId from the returned AccessGrant, if it is available.

F

fetchRequestToken(String, MultiValueMap<String, String>) - Method in interface org.springframework.social.oauth1.OAuth1Operations
Begin a new authorization flow by fetching a new request token from this service provider.
fetchRequestToken(String, MultiValueMap<String, String>) - Method in class org.springframework.social.oauth1.OAuth1Template
 
fetchUserProfile(A) - Method in interface org.springframework.social.connect.ApiAdapter
Implements Connection.fetchUserProfile() for connections to the given API.
fetchUserProfile() - Method in interface org.springframework.social.connect.Connection
Fetch a normalized model of the user's profile on the provider system.
fetchUserProfile() - Method in class org.springframework.social.connect.support.AbstractConnection
 
findAllConnections() - Method in interface org.springframework.social.connect.ConnectionRepository
Find all connections the current user has across all providers.
findConnections(String) - Method in interface org.springframework.social.connect.ConnectionRepository
Find the connections the current user has to the provider registered by the given id e.g.
findConnections(Class<A>) - Method in interface org.springframework.social.connect.ConnectionRepository
Find the connections the current user has to the provider of the given API e.g.
findConnectionsToUsers(MultiValueMap<String, String>) - Method in interface org.springframework.social.connect.ConnectionRepository
Find the connections the current user has to the given provider users.
findPrimaryConnection(Class<A>) - Method in interface org.springframework.social.connect.ConnectionRepository
Find the "primary" connection the current user has to the provider of the given API e.g.
findUserIdsConnectedTo(String, Set<String>) - Method in class org.springframework.social.connect.jdbc.JdbcUsersConnectionRepository
 
findUserIdsConnectedTo(String, Set<String>) - Method in class org.springframework.social.connect.mem.InMemoryUsersConnectionRepository
 
findUserIdsConnectedTo(String, Set<String>) - Method in interface org.springframework.social.connect.UsersConnectionRepository
Find the ids of the users who are connected to the specific provider user accounts.
findUserIdsWithConnection(Connection<?>) - Method in class org.springframework.social.connect.jdbc.JdbcUsersConnectionRepository
 
findUserIdsWithConnection(Connection<?>) - Method in class org.springframework.social.connect.mem.InMemoryUsersConnectionRepository
 
findUserIdsWithConnection(Connection<?>) - Method in interface org.springframework.social.connect.UsersConnectionRepository
Find the ids for local application users that have the given Connection.
foo() - Static method in class org.springframework.social.support.ClientHttpRequestFactorySelector
 
FormMapHttpMessageConverter - Class in org.springframework.social.support
Message converter that reads form-encoded data into a flat Map<String, String>.
FormMapHttpMessageConverter() - Constructor for class org.springframework.social.support.FormMapHttpMessageConverter
 
fromUri(String) - Static method in class org.springframework.social.support.URIBuilder
Creates a URIBuilder with a base URI string as the starting point
fromUri(URI) - Static method in class org.springframework.social.support.URIBuilder
Creates a URIBuilder with a base URI string as the starting point

G

generateState() - Method in class org.springframework.social.connect.support.OAuth2ConnectionFactory
Generates a value for the state parameter.
GenericConnectionStatusView - Class in org.springframework.social.connect.web
Generic View implementation that displays the connection statis for a provider.
GenericConnectionStatusView(String, String) - Constructor for class org.springframework.social.connect.web.GenericConnectionStatusView
Constructs the generic status view.
GenericOAuth1ConnectionFactory - Class in org.springframework.social.oauth1
Generic implementation of an OAuth1ConnectionFactory that carries no intrinsic knowledge of the API it will be creating connections against.
GenericOAuth1ConnectionFactory(String, String, String, String, String, String, OAuth1Version, ApiAdapter<RestOperations>) - Constructor for class org.springframework.social.oauth1.GenericOAuth1ConnectionFactory
Creates an instance of GenericOAuth1ConnectionFactory.
GenericOAuth1ConnectionFactory(String, String, String, String, String, String, String, OAuth1Version, ApiAdapter<RestOperations>) - Constructor for class org.springframework.social.oauth1.GenericOAuth1ConnectionFactory
Creates an instance of GenericOAuth1ConnectionFactory for a provider that offers a separate authentication URL.
GenericOAuth1ServiceProvider - Class in org.springframework.social.oauth1
Generic implementation of OAuth1ServiceProvider that carries no intrinsic knowledge of the API it will be creating connections against.
GenericOAuth1ServiceProvider(String, String, String, String, String, String, OAuth1Version) - Constructor for class org.springframework.social.oauth1.GenericOAuth1ServiceProvider
Creates an instance of GenericOAuth1ServiceProvider for a provider that offers a separate authentication URL.
GenericOAuth2ConnectionFactory - Class in org.springframework.social.oauth2
Generic implementation of an OAuth2ConnectionFactory that carries no intrinsic knowledge of the API it will be creating connections against.
GenericOAuth2ConnectionFactory(String, String, String, String, String, ApiAdapter<RestOperations>) - Constructor for class org.springframework.social.oauth2.GenericOAuth2ConnectionFactory
Creates an instance of GenericOAuth2ConnectionFactory.
GenericOAuth2ConnectionFactory(String, String, String, String, String, String, boolean, TokenStrategy, ApiAdapter<RestOperations>) - Constructor for class org.springframework.social.oauth2.GenericOAuth2ConnectionFactory
Creates an instance of GenericOAuth2ConnectionFactory for a provider that offers a separate authentication URL.
GenericOAuth2ServiceProvider - Class in org.springframework.social.oauth2
Generic implementation of OAuth2ServiceProvider that carries no intrinsic knowledge of the API it will be creating connections against.
GenericOAuth2ServiceProvider(String, String, String, String, String, boolean, TokenStrategy) - Constructor for class org.springframework.social.oauth2.GenericOAuth2ServiceProvider
Creates an instance of GenericOAuth1ServiceProvider for a provider that offers a separate authentication URL.
get(Object) - Method in class org.springframework.social.support.ParameterMap
 
getAccessToken() - Method in class org.springframework.social.connect.ConnectionData
The access token required to make authorized API calls.
getAccessToken() - Method in class org.springframework.social.oauth2.AccessGrant
The access token value.
getApi() - Method in interface org.springframework.social.config.xml.ApiHelper
 
getApi() - Method in interface org.springframework.social.connect.Connection
A Java binding to the service provider's native API.
getApi() - Method in class org.springframework.social.connect.support.AbstractConnection
 
getApi() - Method in class org.springframework.social.connect.support.OAuth1Connection
 
getApi() - Method in class org.springframework.social.connect.support.OAuth2Connection
 
getApi(String, String) - Method in class org.springframework.social.oauth1.AbstractOAuth1ServiceProvider
 
getApi(String, String) - Method in class org.springframework.social.oauth1.GenericOAuth1ServiceProvider
 
getApi(String, String) - Method in interface org.springframework.social.oauth1.OAuth1ServiceProvider
Returns an API interface allowing the client application to access protected resources on behalf of a user.
getApi(String) - Method in class org.springframework.social.oauth2.AbstractOAuth2ServiceProvider
 
getApi(String) - Method in class org.springframework.social.oauth2.GenericOAuth2ServiceProvider
 
getApi(String) - Method in interface org.springframework.social.oauth2.OAuth2ServiceProvider
Returns an API interface allowing the client application to access protected resources on behalf of a user.
getApiAdapter() - Method in class org.springframework.social.connect.ConnectionFactory
Exposes the ApiAdapter to subclasses.
getAppId(Map<String, Object>) - Method in class org.springframework.social.config.support.ProviderConfigurationSupport
 
getAppId(Map<String, Object>) - Method in class org.springframework.social.config.xml.AbstractProviderConfigBeanDefinitionParser
 
getAppSecret(Map<String, Object>) - Method in class org.springframework.social.config.support.ProviderConfigurationSupport
 
getAppSecret(Map<String, Object>) - Method in class org.springframework.social.config.xml.AbstractProviderConfigBeanDefinitionParser
 
getAttribute(RequestAttributes, String) - Method in class org.springframework.social.connect.web.HttpSessionSessionStrategy
 
getAttribute(RequestAttributes, String) - Method in interface org.springframework.social.connect.web.SessionStrategy
 
getAuthenticationService(String) - Method in interface org.springframework.social.security.SocialAuthenticationServiceLocator
Lookup a SocialAuthenticationService by providerId; for example, "facebook".
getAuthenticationService(String) - Method in class org.springframework.social.security.SocialAuthenticationServiceRegistry
 
getAuthenticationServiceBeanDefinition(String, String, Map<String, Object>) - Method in class org.springframework.social.config.support.ProviderConfigurationSupport
 
getAuthenticationServiceClass() - Method in class org.springframework.social.config.support.ProviderConfigurationSupport
 
getAuthorities(String, UserDetails) - Method in class org.springframework.social.security.SocialAuthenticationProvider
Override to grant authorities based on ServiceProvider id and/or a user's account id
getAuthorizationHeaderValue(String) - Method in enum org.springframework.social.oauth2.OAuth2Version
 
getAuthServiceLocator() - Method in class org.springframework.social.security.SocialAuthenticationFilter
 
getAuthToken(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.social.security.provider.OAuth1AuthenticationService
 
getAuthToken(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.social.security.provider.OAuth2AuthenticationService
 
getAuthToken(HttpServletRequest, HttpServletResponse) - Method in interface org.springframework.social.security.provider.SocialAuthenticationService
extract SocialAuthenticationToken from request
getBody() - Method in class org.springframework.social.support.BufferingClientHttpResponse
 
getByteArrayMessageConverter() - Method in class org.springframework.social.oauth1.AbstractOAuth1ApiBinding
Returns a ByteArrayHttpMessageConverter to be used by the internal RestTemplate when consuming image or other binary resources.
getByteArrayMessageConverter() - Method in class org.springframework.social.oauth2.AbstractOAuth2ApiBinding
Returns a ByteArrayHttpMessageConverter to be used by the internal RestTemplate when consuming image or other binary resources.
getCallbackUrl() - Method in class org.springframework.social.oauth1.OAuth1Parameters
The authorization callback url.
getConnection(ConnectionKey) - Method in interface org.springframework.social.connect.ConnectionRepository
Get a connection for the current user by its key, which consists of the providerId + providerUserId.
getConnection(Class<A>, String) - Method in interface org.springframework.social.connect.ConnectionRepository
Get a connection between the current user and the given provider user.
getConnection(ConnectionFactoryLocator) - Method in class org.springframework.social.connect.web.ProviderSignInAttempt
Get the connection to the provider user account the client attempted to sign-in as.
getConnection() - Method in class org.springframework.social.security.SocialAuthenticationToken
 
getConnectionAddedRedirectUrl(HttpServletRequest, Connection<?>) - Method in class org.springframework.social.security.provider.AbstractSocialAuthenticationService
 
getConnectionAddedRedirectUrl(HttpServletRequest, Connection<?>) - Method in interface org.springframework.social.security.provider.SocialAuthenticationService
 
getConnectionCardinality() - Method in class org.springframework.social.security.provider.AbstractSocialAuthenticationService
 
getConnectionCardinality() - Method in interface org.springframework.social.security.provider.SocialAuthenticationService
 
getConnectionFactory(String) - Method in interface org.springframework.social.connect.ConnectionFactoryLocator
Lookup a ConnectionFactory by providerId; for example, "facebook".
getConnectionFactory(Class<A>) - Method in interface org.springframework.social.connect.ConnectionFactoryLocator
Lookup a ConnectionFactory by apiType; for example, FacebookApi.class.
getConnectionFactory(String) - Method in class org.springframework.social.connect.support.ConnectionFactoryRegistry
 
getConnectionFactory(Class<A>) - Method in class org.springframework.social.connect.support.ConnectionFactoryRegistry
 
getConnectionFactory() - Method in class org.springframework.social.security.provider.OAuth1AuthenticationService
 
getConnectionFactory() - Method in class org.springframework.social.security.provider.OAuth2AuthenticationService
 
getConnectionFactory() - Method in interface org.springframework.social.security.provider.SocialAuthenticationService
 
getConnectionFactoryBeanDefinition(String, String, Map<String, Object>) - Method in class org.springframework.social.config.support.ProviderConfigurationSupport
Creates a BeanDefinition for a provider connection factory.
getConnectionFromSession(RequestAttributes) - Method in class org.springframework.social.connect.web.ProviderSignInUtils
Get the connection to the provider user the client attempted to sign-in as.
getConnectionKey() - Method in exception org.springframework.social.connect.DuplicateConnectionException
The connection key that already exists.
getConnectionKey() - Method in exception org.springframework.social.connect.NoSuchConnectionException
The invalid key value.
getConsumerKey() - Method in class org.springframework.social.oauth1.AbstractOAuth1ServiceProvider
The consumer (or client) key assigned to the application by the provider.
getConsumerKey() - Method in class org.springframework.social.oauth1.OAuth1Template
Exposes the consumer key to be read by subclasses.
getConsumerSecret() - Method in class org.springframework.social.oauth1.AbstractOAuth1ServiceProvider
The consumer (or client) secret assigned to the application by the provider.
getCredentials() - Method in class org.springframework.social.security.SocialAuthenticationToken
 
getDisplayName() - Method in interface org.springframework.social.connect.Connection
A display name or label for this connection.
getDisplayName() - Method in class org.springframework.social.connect.ConnectionData
A display name for the connection.
getDisplayName() - Method in class org.springframework.social.connect.support.AbstractConnection
 
getEmail() - Method in class org.springframework.social.connect.UserProfile
The user's registered email address.
getExpireTime() - Method in class org.springframework.social.connect.ConnectionData
The time the connection expires.
getExpireTime() - Method in class org.springframework.social.oauth2.AccessGrant
The time (in milliseconds since Jan 1, 1970 UTC) when this access grant will expire.
getFirst(String) - Method in class org.springframework.social.support.ParameterMap
 
getFirstName() - Method in class org.springframework.social.connect.UserProfile
The user's registered first name e.g.
getFormMessageConverter() - Method in class org.springframework.social.oauth1.AbstractOAuth1ApiBinding
Returns an FormHttpMessageConverter to be used by the internal RestTemplate.
getFormMessageConverter() - Method in class org.springframework.social.oauth2.AbstractOAuth2ApiBinding
Returns an FormHttpMessageConverter to be used by the internal RestTemplate.
getHeaders() - Method in class org.springframework.social.support.BufferingClientHttpResponse
 
getHeaders() - Method in class org.springframework.social.support.HttpRequestDecorator
 
getImageUrl() - Method in interface org.springframework.social.connect.Connection
A link to a image that visualizes this connection.
getImageUrl() - Method in class org.springframework.social.connect.ConnectionData
An image visualizing the connection.
getImageUrl() - Method in class org.springframework.social.connect.support.AbstractConnection
 
getJsonMessageConverter() - Method in class org.springframework.social.oauth1.AbstractOAuth1ApiBinding
Returns a MappingJackson2HttpMessageConverter to be used by the internal RestTemplate.
getJsonMessageConverter() - Method in class org.springframework.social.oauth2.AbstractOAuth2ApiBinding
Returns a MappingJackson2HttpMessageConverter to be used by the internal RestTemplate.
getKey() - Method in interface org.springframework.social.connect.Connection
The key identifying this connection.
getKey() - Method in class org.springframework.social.connect.support.AbstractConnection
 
getLastName() - Method in class org.springframework.social.connect.UserProfile
The user's registered last name e.g.
getMessageConverters() - Method in class org.springframework.social.oauth1.AbstractOAuth1ApiBinding
Returns a list of HttpMessageConverters to be used by the internal RestTemplate.
getMessageConverters() - Method in class org.springframework.social.oauth2.AbstractOAuth2ApiBinding
Returns a list of HttpMessageConverters to be used by the internal RestTemplate.
getMonitor() - Method in class org.springframework.social.connect.support.AbstractConnection
Provides subclasses with access to a monitor that can be used to synchronize access to this connection.
getName() - Method in class org.springframework.social.connect.UserProfile
The user's registered full name e.g.
getOAuth2Version() - Method in class org.springframework.social.oauth2.AbstractOAuth2ApiBinding
Returns the version of OAuth2 the API implements.
getOAuthOperations() - Method in class org.springframework.social.connect.support.OAuth1ConnectionFactory
 
getOAuthOperations() - Method in class org.springframework.social.connect.support.OAuth2ConnectionFactory
Get the ServiceProvider's OAuth2Operations that allows the client application to conduct the OAuth2 flow with the provider.
getOAuthOperations() - Method in class org.springframework.social.oauth1.AbstractOAuth1ServiceProvider
 
getOAuthOperations() - Method in interface org.springframework.social.oauth1.OAuth1ServiceProvider
Get the service interface for carrying out the "OAuth dance" with this provider.
getOAuthOperations() - Method in class org.springframework.social.oauth2.AbstractOAuth2ServiceProvider
 
getOAuthOperations() - Method in interface org.springframework.social.oauth2.OAuth2ServiceProvider
Get the service interface for carrying out the "OAuth dance" with this provider.
getPrefix() - Method in class org.springframework.social.connect.web.thymeleaf.SpringSocialDialect
 
getPrimaryConnection(Class<A>) - Method in interface org.springframework.social.connect.ConnectionRepository
Get the "primary" connection the current user has to the provider of the given API e.g.
getPrincipal() - Method in class org.springframework.social.security.SocialAuthenticationToken
 
getProcessors() - Method in class org.springframework.social.connect.web.thymeleaf.SpringSocialDialect
 
getProfileUrl() - Method in interface org.springframework.social.connect.Connection
The public URL of the connected user's profile at the provider's site.
getProfileUrl() - Method in class org.springframework.social.connect.ConnectionData
A link to the provider's user profile page.
getProfileUrl() - Method in class org.springframework.social.connect.support.AbstractConnection
 
getProviderAccountData() - Method in class org.springframework.social.security.SocialAuthenticationToken
 
getProviderConfigBeanDefinitionParser() - Method in class org.springframework.social.config.xml.AbstractProviderConfigNamespaceHandler
Implemented by provider namespaces to provide an instance of the bean definition parser that will parse the "config" element.
getProviderId() - Method in exception org.springframework.social.ApiException
The ID of the provider for which the API exception occurred.
getProviderId() - Method in class org.springframework.social.connect.ConnectionData
The id of the provider the connection is associated with.
getProviderId() - Method in class org.springframework.social.connect.ConnectionFactory
The unique id of the provider this factory creates connections to.
getProviderId() - Method in class org.springframework.social.connect.ConnectionKey
The id of the provider as it is registered in the system.
getProviderId() - Method in exception org.springframework.social.connect.NotConnectedException
The id of the provider the current user is not connected to.
getProviderId() - Method in class org.springframework.social.security.SocialAuthenticationToken
 
getProviderUserId() - Method in class org.springframework.social.connect.ConnectionData
The id of the provider user this connection is connected to.
getProviderUserId() - Method in class org.springframework.social.connect.ConnectionKey
The id of the external provider user representing the remote end of the connection.
getRawStatusCode() - Method in class org.springframework.social.support.BufferingClientHttpResponse
 
getRedirectUri() - Method in class org.springframework.social.oauth2.OAuth2Parameters
The authorization callback url.
getRedirectUrl() - Method in exception org.springframework.social.security.SocialAuthenticationRedirectException
 
getRefreshToken() - Method in class org.springframework.social.connect.ConnectionData
A token use to renew this connection.
getRefreshToken() - Method in class org.springframework.social.oauth2.AccessGrant
The refresh token that can be used to renew the access token.
getRefreshUrl(HttpServletRequest, ApiException) - Method in class org.springframework.social.connect.web.ReconnectFilter
Returns the URL to redirect to if it is determined that a connection needs to be renewed.
getRequestFactory() - Static method in class org.springframework.social.support.ClientHttpRequestFactorySelector
 
getRequiredPermission() - Method in exception org.springframework.social.InsufficientPermissionException
The permission required to access the resource.
getRestTemplate() - Method in class org.springframework.social.oauth1.AbstractOAuth1ApiBinding
Obtains a reference to the REST client backing this API binding and used to perform API calls.
getRestTemplate() - Method in class org.springframework.social.oauth2.AbstractOAuth2ApiBinding
Obtains a reference to the REST client backing this API binding and used to perform API calls.
getRestTemplate() - Method in class org.springframework.social.oauth2.OAuth2Template
 
getReturnToUrlParameters() - Method in class org.springframework.social.security.provider.OAuth1AuthenticationService
 
getReturnToUrlParameters() - Method in class org.springframework.social.security.provider.OAuth2AuthenticationService
 
getScope() - Method in class org.springframework.social.connect.support.OAuth2ConnectionFactory
 
getScope() - Method in class org.springframework.social.oauth2.AccessGrant
The scope of the access grant.
getScope() - Method in class org.springframework.social.oauth2.OAuth2Parameters
The permissions the application is seeking with the authorization (optional).
getSecret() - Method in class org.springframework.social.connect.ConnectionData
The secret token needed to make authorized API calls.
getSecret() - Method in class org.springframework.social.oauth1.AuthorizedRequestToken
The request token secret.
getSecret() - Method in class org.springframework.social.oauth1.OAuthToken
The token secret.
getServiceProvider() - Method in class org.springframework.social.connect.ConnectionFactory
Exposes the ServiceProvider instance to subclasses.
getState() - Method in class org.springframework.social.oauth2.OAuth2Parameters
An opaque key that must be included in the provider's authorization callback (optional).
getStatusCode() - Method in class org.springframework.social.support.BufferingClientHttpResponse
 
getStatusText() - Method in class org.springframework.social.support.BufferingClientHttpResponse
 
getSupportedMediaTypes() - Method in class org.springframework.social.support.FormMapHttpMessageConverter
 
getURI() - Method in class org.springframework.social.support.HttpRequestDecorator
 
getUserId() - Method in class org.springframework.social.security.AuthenticationNameUserIdSource
 
getUserId() - Method in class org.springframework.social.security.SocialUser
 
getUserId() - Method in interface org.springframework.social.security.SocialUserDetails
The user's identity at the provider.
getUserId() - Method in interface org.springframework.social.UserIdSource
 
getUserIdSource() - Method in interface org.springframework.social.config.annotation.SocialConfigurer
Callback method to enable creation of a UserIdSource that uniquely identifies the current user.
getUserIdSource() - Method in class org.springframework.social.config.annotation.SocialConfigurerAdapter
getUsername() - Method in class org.springframework.social.connect.UserProfile
The user's registered username e.g.
getUsersConnectionRepository(ConnectionFactoryLocator) - Method in interface org.springframework.social.config.annotation.SocialConfigurer
Callback method to create an instance of UsersConnectionRepository.
getUsersConnectionRepository(ConnectionFactoryLocator) - Method in class org.springframework.social.config.annotation.SocialConfigurerAdapter
Default implementation of SocialConfigurerAdapter.getUsersConnectionRepository(ConnectionFactoryLocator) that creates an in-memory repository.
getUsersConnectionRepository() - Method in class org.springframework.social.security.SocialAuthenticationFilter
 
getValue() - Method in class org.springframework.social.oauth1.AuthorizedRequestToken
The request token value.
getValue() - Method in class org.springframework.social.oauth1.OAuthToken
The token value.
getVerifier() - Method in class org.springframework.social.oauth1.AuthorizedRequestToken
The verifier string generated by the provider.
getVersion() - Method in interface org.springframework.social.oauth1.OAuth1Operations
The version of OAuth1 implemented by this operations instance.
getVersion() - Method in class org.springframework.social.oauth1.OAuth1Template
 
GrantType - Enum in org.springframework.social.oauth2
OAuth2 supports two types of authorization flow, typically referred to as "Client-side" and "Server-side".

H

handleError(ClientHttpResponse) - Method in class org.springframework.social.support.LoggingErrorHandler
 
hasExpired() - Method in interface org.springframework.social.connect.Connection
Returns true if this connection has expired.
hasExpired() - Method in class org.springframework.social.connect.support.AbstractConnection
 
hasExpired() - Method in class org.springframework.social.connect.support.OAuth2Connection
 
hashCode() - Method in class org.springframework.social.connect.ConnectionKey
 
hashCode() - Method in class org.springframework.social.connect.support.AbstractConnection
 
hashCode() - Method in class org.springframework.social.connect.support.OAuth1Connection
 
hashCode() - Method in class org.springframework.social.connect.support.OAuth2Connection
 
HttpRequestDecorator - Class in org.springframework.social.support
Extension of HttpRequestWrapper that supports adding new HttpHeaders to the wrapped HttpRequest.
HttpRequestDecorator(HttpRequest) - Constructor for class org.springframework.social.support.HttpRequestDecorator
 
HttpSessionSessionStrategy - Class in org.springframework.social.connect.web
 
HttpSessionSessionStrategy() - Constructor for class org.springframework.social.connect.web.HttpSessionSessionStrategy
 

I

init() - Method in class org.springframework.social.config.xml.AbstractProviderConfigNamespaceHandler
 
init() - Method in class org.springframework.social.config.xml.SocialNamespaceHandler
 
initKey(String, String) - Method in class org.springframework.social.connect.support.AbstractConnection
Hook that should be called by subclasses to initialize the key property when establishing a new connection.
InMemoryConnectionRepositoryConfigSupport - Class in org.springframework.social.config.support
Support class providing methods for configuring a singleton InMemoryUsersConnectionRepository bean and a request-scoped InMemoryConnectionRepository bean.
InMemoryConnectionRepositoryConfigSupport() - Constructor for class org.springframework.social.config.support.InMemoryConnectionRepositoryConfigSupport
 
InMemoryUsersConnectionRepository - Class in org.springframework.social.connect.mem
UsersConnectionRepository that stores connections in memory.
InMemoryUsersConnectionRepository(ConnectionFactoryLocator) - Constructor for class org.springframework.social.connect.mem.InMemoryUsersConnectionRepository
 
InsufficientPermissionException - Exception in org.springframework.social
Exception thrown when attempting an operation that requires a permission not granted to the caller.
InsufficientPermissionException(String) - Constructor for exception org.springframework.social.InsufficientPermissionException
 
InsufficientPermissionException(String, String) - Constructor for exception org.springframework.social.InsufficientPermissionException
 
InternalServerErrorException - Exception in org.springframework.social
Exception indicating an internal error occurred on the server.
InternalServerErrorException(String, String) - Constructor for exception org.springframework.social.InternalServerErrorException
 
InvalidAuthorizationException - Exception in org.springframework.social
Exception indicating that the authorization used during an operation invocation is invalid.
InvalidAuthorizationException(String, String) - Constructor for exception org.springframework.social.InvalidAuthorizationException
 
isAuthenticatePossible() - Method in enum org.springframework.social.security.provider.SocialAuthenticationService.ConnectionCardinality
 
isAuthorized() - Method in interface org.springframework.social.ApiBinding
Returns true if this API binding has been authorized on behalf of a specific user.
isAuthorized() - Method in class org.springframework.social.oauth1.AbstractOAuth1ApiBinding
 
isAuthorized() - Method in class org.springframework.social.oauth2.AbstractOAuth2ApiBinding
 
isEmpty() - Method in class org.springframework.social.support.ParameterMap
 
isMultiProviderUserId() - Method in enum org.springframework.social.security.provider.SocialAuthenticationService.ConnectionCardinality
allow many providerUserIds per userId
isMultiUserId() - Method in enum org.springframework.social.security.provider.SocialAuthenticationService.ConnectionCardinality
allow many userIds per providerUserId.
isSocialSecurityAvailable() - Static method in class org.springframework.social.config.support.ProviderConfigurationSupport
 

J

JdbcConnectionRepositoryConfigSupport - Class in org.springframework.social.config.support
Support class providing methods for configuring a singleton JdbcUsersConnectionRepository bean and a request-scoped JdbcConnectionRepository bean.
JdbcConnectionRepositoryConfigSupport() - Constructor for class org.springframework.social.config.support.JdbcConnectionRepositoryConfigSupport
 
JdbcUsersConnectionRepository - Class in org.springframework.social.connect.jdbc
UsersConnectionRepository that uses the JDBC API to persist connection data to a relational database.
JdbcUsersConnectionRepository(DataSource, ConnectionFactoryLocator, TextEncryptor) - Constructor for class org.springframework.social.connect.jdbc.JdbcUsersConnectionRepository
 

K

keySet() - Method in class org.springframework.social.support.ParameterMap
 

L

loadParsers(Map<String, BeanDefinitionParser>) - Method in class org.springframework.social.config.xml.AbstractProviderConfigNamespaceHandler
Hook method to allow provider-specific implementation to register bean definition parsers for their namespace.
loadUserByUserId(String) - Method in interface org.springframework.social.security.SocialUserDetailsService
 
logger - Variable in class org.springframework.social.security.provider.OAuth2AuthenticationService
 
LoggingErrorHandler - Class in org.springframework.social.support
 
LoggingErrorHandler() - Constructor for class org.springframework.social.support.LoggingErrorHandler
 

M

MissingAuthorizationException - Exception in org.springframework.social
Exception indicating that an operation requiring authorization was attempted without providing authorization.
MissingAuthorizationException(String) - Constructor for exception org.springframework.social.MissingAuthorizationException
 

N

NONE - Static variable in class org.springframework.social.oauth1.OAuth1Parameters
Shared instance for passing zero authorization parameters (common for OAuth 1.0a-based flows).
NoSuchConnectionException - Exception in org.springframework.social.connect
Thrown by a ConnectionRepository when attempting to fetch a Connection and no such connection exists with the provided key.
NoSuchConnectionException(ConnectionKey) - Constructor for exception org.springframework.social.connect.NoSuchConnectionException
 
NotAuthorizedException - Exception in org.springframework.social
Indicates the client is not authorized to invoke the API.
NotAuthorizedException(String, String) - Constructor for exception org.springframework.social.NotAuthorizedException
 
NotConnectedException - Exception in org.springframework.social.connect
Thrown by a ConnectionRepository when attempting to fetch a "primary" connection and the user is not connected to the provider in question.
NotConnectedException(String) - Constructor for exception org.springframework.social.connect.NotConnectedException
 

O

OAuth1AuthenticationService<S> - Class in org.springframework.social.security.provider
 
OAuth1AuthenticationService(OAuth1ConnectionFactory<S>) - Constructor for class org.springframework.social.security.provider.OAuth1AuthenticationService
 
oauth1Callback(String, NativeWebRequest) - Method in class org.springframework.social.connect.web.ConnectController
Process the authorization callback from an OAuth 1 service provider.
oauth1Callback(String, NativeWebRequest) - Method in class org.springframework.social.connect.web.ProviderSignInController
Process the authentication callback from an OAuth 1 service provider.
OAuth1Connection<A> - Class in org.springframework.social.connect.support
An OAuth1-based Connection implementation.
OAuth1Connection(String, String, String, String, OAuth1ServiceProvider<A>, ApiAdapter<A>) - Constructor for class org.springframework.social.connect.support.OAuth1Connection
Creates a new OAuth1Connection from a OAuth1 access token response.
OAuth1Connection(ConnectionData, OAuth1ServiceProvider<A>, ApiAdapter<A>) - Constructor for class org.springframework.social.connect.support.OAuth1Connection
Creates a new OAuth1Connection from the data provided.
OAuth1ConnectionFactory<A> - Class in org.springframework.social.connect.support
Factory for creating OAuth1-based Connections.
OAuth1ConnectionFactory(String, OAuth1ServiceProvider<A>, ApiAdapter<A>) - Constructor for class org.springframework.social.connect.support.OAuth1ConnectionFactory
OAuth1Operations - Interface in org.springframework.social.oauth1
A service interface for the OAuth 1 flow.
OAuth1Parameters - Class in org.springframework.social.oauth1
Parameters for building an OAuth1 authorize URL.
OAuth1Parameters() - Constructor for class org.springframework.social.oauth1.OAuth1Parameters
Creates a new OAuth1Parameters map that is initially empty.
OAuth1Parameters(Map<String, List<String>>) - Constructor for class org.springframework.social.oauth1.OAuth1Parameters
Creates a new OAuth1Parameters populated from the initial parameters provided.
OAuth1ServiceProvider<A> - Interface in org.springframework.social.oauth1
A ServiceProvider that uses the OAuth 1.0 protocol.
OAuth1Template - Class in org.springframework.social.oauth1
OAuth10Operations implementation that uses REST-template to make the OAuth calls.
OAuth1Template(String, String, String, String, String) - Constructor for class org.springframework.social.oauth1.OAuth1Template
 
OAuth1Template(String, String, String, String, String, OAuth1Version) - Constructor for class org.springframework.social.oauth1.OAuth1Template
 
OAuth1Template(String, String, String, String, String, String) - Constructor for class org.springframework.social.oauth1.OAuth1Template
 
OAuth1Template(String, String, String, String, String, String, OAuth1Version) - Constructor for class org.springframework.social.oauth1.OAuth1Template
 
OAuth1Version - Enum in org.springframework.social.oauth1
Various versions ofthe OAuth1 Core specification.
OAuth2AuthenticationService<S> - Class in org.springframework.social.security.provider
 
OAuth2AuthenticationService(OAuth2ConnectionFactory<S>) - Constructor for class org.springframework.social.security.provider.OAuth2AuthenticationService
 
oauth2Callback(String, NativeWebRequest) - Method in class org.springframework.social.connect.web.ConnectController
Process the authorization callback from an OAuth 2 service provider.
oauth2Callback(String, String, NativeWebRequest) - Method in class org.springframework.social.connect.web.ProviderSignInController
Process the authentication callback from an OAuth 2 service provider.
OAuth2Connection<A> - Class in org.springframework.social.connect.support
An OAuth2-based Connection implementation.
OAuth2Connection(String, String, String, String, Long, OAuth2ServiceProvider<A>, ApiAdapter<A>) - Constructor for class org.springframework.social.connect.support.OAuth2Connection
Creates a new OAuth2Connection from a access grant response.
OAuth2Connection(ConnectionData, OAuth2ServiceProvider<A>, ApiAdapter<A>) - Constructor for class org.springframework.social.connect.support.OAuth2Connection
Creates a new OAuth2Connection from the data provided.
OAuth2ConnectionFactory<S> - Class in org.springframework.social.connect.support
Factory for creating OAuth2-based Connections.
OAuth2ConnectionFactory(String, OAuth2ServiceProvider<S>, ApiAdapter<S>) - Constructor for class org.springframework.social.connect.support.OAuth2ConnectionFactory
oauth2ErrorCallback(String, String, String, String, NativeWebRequest) - Method in class org.springframework.social.connect.web.ConnectController
Process an error callback from an OAuth 2 authorization as described at http://tools.ietf.org/html/rfc6749#section-4.1.2.1.
oauth2ErrorCallback(String, String, String, String, NativeWebRequest) - Method in class org.springframework.social.connect.web.ProviderSignInController
Process an error callback from an OAuth 2 authorization as described at http://tools.ietf.org/html/rfc6749#section-4.1.2.1.
OAuth2Operations - Interface in org.springframework.social.oauth2
A service interface for the OAuth2 flow.
OAuth2Parameters - Class in org.springframework.social.oauth2
Parameters for building an OAuth2 authorize URL.
OAuth2Parameters() - Constructor for class org.springframework.social.oauth2.OAuth2Parameters
Creates a new OAuth2Parameters map that is initially empty.
OAuth2Parameters(Map<String, List<String>>) - Constructor for class org.springframework.social.oauth2.OAuth2Parameters
Creates a new OAuth2Parameters populated from the initial parameters provided.
OAuth2ServiceProvider<A> - Interface in org.springframework.social.oauth2
A ServiceProvider that uses the OAuth 2.0 protocol.
OAuth2Template - Class in org.springframework.social.oauth2
OAuth2Operations implementation that uses REST-template to make the OAuth calls.
OAuth2Template(String, String, String, String) - Constructor for class org.springframework.social.oauth2.OAuth2Template
Constructs an OAuth2Template for a given set of client credentials.
OAuth2Template(String, String, String, String, String) - Constructor for class org.springframework.social.oauth2.OAuth2Template
Constructs an OAuth2Template for a given set of client credentials.
OAuth2Version - Enum in org.springframework.social.oauth2
Enum encapsulating the differences between the various versions of the OAuth2 specification.
OAuthToken - Class in org.springframework.social.oauth1
Holds an OAuth token and secret.
OAuthToken(String, String) - Constructor for class org.springframework.social.oauth1.OAuthToken
Create a new OAuth token with a token value and secret.
onAuthenticationFailure(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in class org.springframework.social.security.SocialAuthenticationFailureHandler
 
OperationNotPermittedException - Exception in org.springframework.social
Indicates an operation was attempted that is not permitted.
OperationNotPermittedException(String, String) - Constructor for exception org.springframework.social.OperationNotPermittedException
 
org.springframework.social - package org.springframework.social
Core Spring Social classes
org.springframework.social.config.annotation - package org.springframework.social.config.annotation
 
org.springframework.social.config.support - package org.springframework.social.config.support
 
org.springframework.social.config.xml - package org.springframework.social.config.xml
 
org.springframework.social.connect - package org.springframework.social.connect
Framework for establishing connections between local users and users of ServiceProviders such as Twitter and Facebook.
org.springframework.social.connect.jdbc - package org.springframework.social.connect.jdbc
JDBC-based ConnectionRepository implementation.
org.springframework.social.connect.mem - package org.springframework.social.connect.mem
 
org.springframework.social.connect.support - package org.springframework.social.connect.support
ServiceProvider Connect API implementation support.
org.springframework.social.connect.web - package org.springframework.social.connect.web
Spring MVC Controller for controlling ServiceProvider connect operations.
org.springframework.social.connect.web.taglib - package org.springframework.social.connect.web.taglib
 
org.springframework.social.connect.web.thymeleaf - package org.springframework.social.connect.web.thymeleaf
 
org.springframework.social.oauth1 - package org.springframework.social.oauth1
OAuth1 client.
org.springframework.social.oauth2 - package org.springframework.social.oauth2
OAuth2 client.
org.springframework.social.security - package org.springframework.social.security
 
org.springframework.social.security.provider - package org.springframework.social.security.provider
 
org.springframework.social.support - package org.springframework.social.support
Internal utilities and helpers used by the Spring Social core module.

P

ParameterMap - Class in org.springframework.social.support
Generally useful base class for creating MultiValueMaps that store HTTP query parameters.
ParameterMap() - Constructor for class org.springframework.social.support.ParameterMap
Creates a new MultiValueMap<String, String> that is initially empty.
ParameterMap(Map<String, List<String>>) - Constructor for class org.springframework.social.support.ParameterMap
Wraps the provided Map<String, List<String>> as a MultiValueMap<String, String>.
parse(Element, ParserContext) - Method in class org.springframework.social.config.xml.AbstractProviderConfigBeanDefinitionParser
 
parse(Element, ParserContext) - Method in class org.springframework.social.config.xml.AbstractProviderConfigNamespaceHandler
 
parse(Element, ParserContext) - Method in class org.springframework.social.config.xml.SocialNamespaceHandler
 
postConnect(Connection<S>, WebRequest) - Method in interface org.springframework.social.connect.web.ConnectInterceptor
Called immediately after the connection is established.
postDisconnect(ConnectionFactory<S>, WebRequest) - Method in interface org.springframework.social.connect.web.DisconnectInterceptor
Called immediately after a connection is removed.
postFailureUrl(String) - Method in class org.springframework.social.security.SpringSocialConfigurer
Sets the URL to land on after a failed login.
postForAccessGrant(String, MultiValueMap<String, String>) - Method in class org.springframework.social.oauth2.OAuth2Template
Posts the request for an access grant to the provider.
postLoginUrl(String) - Method in class org.springframework.social.security.SpringSocialConfigurer
Sets the URL to land on after a successful login.
postSignIn(Connection<S>, WebRequest) - Method in interface org.springframework.social.connect.web.ProviderSignInInterceptor
Called immediately after the sign in is complete.
preConnect(ConnectionFactory<S>, MultiValueMap<String, String>, WebRequest) - Method in interface org.springframework.social.connect.web.ConnectInterceptor
Called during connection initiation, immediately before user authorization.
preDisconnect(ConnectionFactory<S>, WebRequest) - Method in interface org.springframework.social.connect.web.DisconnectInterceptor
Called immediately before a connection is removed.
preSignIn(ConnectionFactory<S>, MultiValueMap<String, String>, WebRequest) - Method in interface org.springframework.social.connect.web.ProviderSignInInterceptor
Called during sign in initiation, immediately before user authorization.
provider - Variable in class org.springframework.social.connect.web.taglib.BaseSocialConnectedTag
 
PROVIDER_ERROR_ATTRIBUTE - Static variable in class org.springframework.social.connect.web.ConnectController
 
ProviderConfigurationSupport - Class in org.springframework.social.config.support
 
ProviderConfigurationSupport(Class<? extends ConnectionFactory<?>>, Class<? extends ApiHelper<?>>) - Constructor for class org.springframework.social.config.support.ProviderConfigurationSupport
 
ProviderSignInAttempt - Class in org.springframework.social.connect.web
Models an attempt to sign-in to the application using a provider user identity.
ProviderSignInAttempt(Connection<?>) - Constructor for class org.springframework.social.connect.web.ProviderSignInAttempt
 
ProviderSignInController - Class in org.springframework.social.connect.web
Spring MVC Controller for handling the provider user sign-in flow.
ProviderSignInController(ConnectionFactoryLocator, UsersConnectionRepository, SignInAdapter) - Constructor for class org.springframework.social.connect.web.ProviderSignInController
Creates a new provider sign-in controller.
ProviderSignInInterceptor<S> - Interface in org.springframework.social.connect.web
Listens for service provider sign in events.
ProviderSignInUtils - Class in org.springframework.social.connect.web
Helper methods that support provider user sign-in scenarios.
ProviderSignInUtils(ConnectionFactoryLocator, UsersConnectionRepository) - Constructor for class org.springframework.social.connect.web.ProviderSignInUtils
 
ProviderSignInUtils(SessionStrategy, ConnectionFactoryLocator, UsersConnectionRepository) - Constructor for class org.springframework.social.connect.web.ProviderSignInUtils
 
put(String, List<String>) - Method in class org.springframework.social.support.ParameterMap
 
putAll(Map<? extends String, ? extends List<String>>) - Method in class org.springframework.social.support.ParameterMap
 

Q

queryParam(String, String) - Method in class org.springframework.social.support.URIBuilder
Adds a query parameter to the URI
queryParams(MultiValueMap<String, String>) - Method in class org.springframework.social.support.URIBuilder
Adds a query parameters to the URI

R

RateLimitExceededException - Exception in org.springframework.social
Exception thrown when API calls are being rate-limited.
RateLimitExceededException(String) - Constructor for exception org.springframework.social.RateLimitExceededException
 
read(Class<? extends Map<String, String>>, HttpInputMessage) - Method in class org.springframework.social.support.FormMapHttpMessageConverter
 
ReconnectFilter - Class in org.springframework.social.connect.web
Servlet filter that intercepts Spring Social ApiExceptions thrown in the course of a request and attempts to reconcile any connection-related problems by deleting the stale/revoked connection and walking the user through the connection process to obtain a new connection.
ReconnectFilter(UsersConnectionRepository, UserIdSource) - Constructor for class org.springframework.social.connect.web.ReconnectFilter
Creates an instance of ReconnectFilter.
refresh() - Method in interface org.springframework.social.connect.Connection
Refresh this connection.
refresh() - Method in class org.springframework.social.connect.support.AbstractConnection
 
refresh() - Method in class org.springframework.social.connect.support.OAuth2Connection
 
refreshAccess(String, String, MultiValueMap<String, String>) - Method in interface org.springframework.social.oauth2.OAuth2Operations
Deprecated.
Set the scope via additional parameters. This can be done conveniently user OAuth2Parameters.
refreshAccess(String, MultiValueMap<String, String>) - Method in interface org.springframework.social.oauth2.OAuth2Operations
Refreshes a previous access grant.
refreshAccess(String, String, MultiValueMap<String, String>) - Method in class org.springframework.social.oauth2.OAuth2Template
Deprecated.
refreshAccess(String, MultiValueMap<String, String>) - Method in class org.springframework.social.oauth2.OAuth2Template
 
registerBeanDefinitions(BeanDefinitionRegistry, Map<String, Object>) - Method in class org.springframework.social.config.support.ProviderConfigurationSupport
 
registerConnectionRepository(BeanDefinitionRegistry, String, String, String) - Method in class org.springframework.social.config.support.AbstractConnectionRepositoryConfigSupport
 
registeredAuthenticationProviderIds() - Method in interface org.springframework.social.security.SocialAuthenticationServiceLocator
Returns the set of providerIds for which a SocialAuthenticationService is registered; for example, {"twitter", "facebook", "foursquare" }.
registeredAuthenticationProviderIds() - Method in class org.springframework.social.security.SocialAuthenticationServiceRegistry
 
registeredProviderIds() - Method in interface org.springframework.social.connect.ConnectionFactoryLocator
Returns the set of providerIds for which a ConnectionFactory is registered; for example, { "twitter", "facebook", "foursquare" } Elements in this set can be passed to ConnectionFactoryLocator.getConnectionFactory(String) to fetch a specific factory instance.
registeredProviderIds() - Method in class org.springframework.social.connect.support.ConnectionFactoryRegistry
 
registerInMemoryConnectionRepositoryBeans(BeanDefinitionRegistry, String, String, String, String, String) - Method in class org.springframework.social.config.support.InMemoryConnectionRepositoryConfigSupport
 
registerJdbcConnectionRepositoryBeans(BeanDefinitionRegistry, String, String, String, String, String, String, String) - Method in class org.springframework.social.config.support.JdbcConnectionRepositoryConfigSupport
 
RejectedAuthorizationException - Exception in org.springframework.social
Exception indicating that the authorization used during an operation invocation is rejected by the server.
RejectedAuthorizationException(String, String) - Constructor for exception org.springframework.social.RejectedAuthorizationException
 
remove(Object) - Method in class org.springframework.social.support.ParameterMap
 
removeAttribute(RequestAttributes, String) - Method in class org.springframework.social.connect.web.HttpSessionSessionStrategy
 
removeAttribute(RequestAttributes, String) - Method in interface org.springframework.social.connect.web.SessionStrategy
 
removeConnection(ConnectionKey) - Method in interface org.springframework.social.connect.ConnectionRepository
Remove a single Connection for the current user from this repository.
removeConnection(String, String, NativeWebRequest) - Method in class org.springframework.social.connect.web.ConnectController
Remove a single provider connection associated with a user account.
removeConnections(String) - Method in interface org.springframework.social.connect.ConnectionRepository
Remove all Connections between the current user and the provider from this repository.
removeConnections(String, NativeWebRequest) - Method in class org.springframework.social.connect.web.ConnectController
Remove all provider connections for a user account.
renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in class org.springframework.social.connect.web.GenericConnectionStatusView
 
requiresAuthentication(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.social.security.SocialAuthenticationFilter
Deprecated.
ResourceNotFoundException - Exception in org.springframework.social
Indicates that the requested provider API resource could not be found.
ResourceNotFoundException(String, String) - Constructor for exception org.springframework.social.ResourceNotFoundException
 
RevokedAuthorizationException - Exception in org.springframework.social
Exception indicating that the authorization used during an operation invocation has been revoked.
RevokedAuthorizationException(String) - Constructor for exception org.springframework.social.RevokedAuthorizationException
 
RevokedAuthorizationException(String, String) - Constructor for exception org.springframework.social.RevokedAuthorizationException
 

S

ServerDownException - Exception in org.springframework.social
Exception indicating that the server is down or being upgraded.
ServerDownException(String, String) - Constructor for exception org.springframework.social.ServerDownException
 
ServerException - Exception in org.springframework.social
Exception thrown when a server error occurs.
ServerException(String, String) - Constructor for exception org.springframework.social.ServerException
 
ServerOverloadedException - Exception in org.springframework.social
Exception indicating that the server is experiencing high load.
ServerOverloadedException(String, String) - Constructor for exception org.springframework.social.ServerOverloadedException
 
ServiceProvider<A> - Interface in org.springframework.social
Top-level marker interface defining a ServiceProvider.
SESSION_ATTRIBUTE - Static variable in class org.springframework.social.connect.web.ProviderSignInAttempt
Name of the session attribute ProviderSignInAttempt instances are indexed under.
SessionStrategy - Interface in org.springframework.social.connect.web
 
set(String, String) - Method in class org.springframework.social.support.ParameterMap
 
setAll(Map<String, String>) - Method in class org.springframework.social.support.ParameterMap
 
setAllTrust(boolean) - Static method in class org.springframework.social.support.ClientHttpRequestFactorySelector
Trust all SSL certificates.
setAlwaysUsePostLoginUrl(boolean) - Method in class org.springframework.social.security.SocialAuthenticationFilter
 
setApplicationUrl(String) - Method in class org.springframework.social.connect.web.ConnectController
Configures the base secure URL for the application this controller is being used in e.g.
setApplicationUrl(String) - Method in class org.springframework.social.connect.web.ConnectSupport
Configures the base secure URL for the application this controller is being used in e.g.
setApplicationUrl(String) - Method in class org.springframework.social.connect.web.ProviderSignInController
Configures the base secure URL for the application this controller is being used in e.g.
setAttribute(RequestAttributes, String, Object) - Method in class org.springframework.social.connect.web.HttpSessionSessionStrategy
 
setAttribute(RequestAttributes, String, Object) - Method in interface org.springframework.social.connect.web.SessionStrategy
 
setAuthenticated(boolean) - Method in class org.springframework.social.security.SocialAuthenticationToken
 
setAuthenticationServices(Iterable<SocialAuthenticationService<?>>) - Method in class org.springframework.social.security.SocialAuthenticationServiceRegistry
Set the group of SocialAuthenticationServices registered in this registry.
setCallbackUrl(String) - Method in class org.springframework.social.connect.web.ConnectSupport
Configures a specific callback URL that is to be used instead of calculating one based on the application URL or current request URL.
setCallbackUrl(String) - Method in class org.springframework.social.oauth1.OAuth1Parameters
Sets the authorization callback url.
setConnectInterceptors(List<ConnectInterceptor<?>>) - Method in class org.springframework.social.connect.web.ConnectController
Configure the list of connect interceptors that should receive callbacks during the connection process.
setConnectionAddedRedirectUrl(String) - Method in class org.springframework.social.security.provider.AbstractSocialAuthenticationService
 
setConnectionAddedRedirectUrl(String) - Method in class org.springframework.social.security.SocialAuthenticationFilter
 
setConnectionCardinality(SocialAuthenticationService.ConnectionCardinality) - Method in class org.springframework.social.security.provider.AbstractSocialAuthenticationService
 
setConnectionFactories(List<ConnectionFactory<?>>) - Method in class org.springframework.social.connect.support.ConnectionFactoryRegistry
Set the group of service provider connection factories registered in this registry.
setConnectionFactory(OAuth1ConnectionFactory<S>) - Method in class org.springframework.social.security.provider.OAuth1AuthenticationService
 
setConnectionFactory(OAuth2ConnectionFactory<S>) - Method in class org.springframework.social.security.provider.OAuth2AuthenticationService
 
setConnectionSignUp(ConnectionSignUp) - Method in class org.springframework.social.connect.jdbc.JdbcUsersConnectionRepository
The command to execute to create a new local user profile in the event no user id could be mapped to a connection.
setConnectionSignUp(ConnectionSignUp) - Method in class org.springframework.social.connect.mem.InMemoryUsersConnectionRepository
The command to execute to create a new local user profile in the event no user id could be mapped to a connection.
setConnectionValues(A, ConnectionValues) - Method in interface org.springframework.social.connect.ApiAdapter
setDefaultFailureUrl(String) - Method in class org.springframework.social.security.SocialAuthenticationFilter
The URL to redirect to if authentication fails or if authorization is denied by the user.
setDefaultScope(String) - Method in class org.springframework.social.security.provider.OAuth2AuthenticationService
 
setDisconnectInterceptors(List<DisconnectInterceptor<?>>) - Method in class org.springframework.social.connect.web.ConnectController
Configure the list of discconnect interceptors that should receive callbacks when connections are removed.
setDisplayName(String) - Method in interface org.springframework.social.connect.ConnectionValues
Sets value mapped to Connection.getDisplayName().
setEmail(String) - Method in class org.springframework.social.connect.UserProfileBuilder
Sets the profile email field.
setFilterProcessesUrl(String) - Method in class org.springframework.social.security.SocialAuthenticationFilter
 
setFirstName(String) - Method in class org.springframework.social.connect.UserProfileBuilder
Sets the profile firstName field.
setImageUrl(String) - Method in interface org.springframework.social.connect.ConnectionValues
Sets value mapped to Connection.getImageUrl()
setInterceptors(List<ConnectInterceptor<?>>) - Method in class org.springframework.social.connect.web.ConnectController
setLastName(String) - Method in class org.springframework.social.connect.UserProfileBuilder
Sets the profile lastName field.
setName(String) - Method in class org.springframework.social.connect.UserProfileBuilder
Sets the profile name field.
setPostFailureUrl(String) - Method in class org.springframework.social.security.SocialAuthenticationFilter
 
setPostLoginUrl(String) - Method in class org.springframework.social.security.SocialAuthenticationFilter
 
setPostSignInUrl(String) - Method in class org.springframework.social.connect.web.ProviderSignInController
Sets the default URL to redirect the user to after signing in using a provider.
setProfileUrl(String) - Method in interface org.springframework.social.connect.ConnectionValues
Sets value mapped to Connection.getProfileUrl()
setProvider(String) - Method in class org.springframework.social.connect.web.taglib.BaseSocialConnectedTag
 
setProviderUserId(String) - Method in interface org.springframework.social.connect.ConnectionValues
Sets value mapped to ConnectionKey.getProviderUserId().
setRedirectUri(String) - Method in class org.springframework.social.oauth2.OAuth2Parameters
Sets the authorization callback url.
setRequestFactory(ClientHttpRequestFactory) - Method in class org.springframework.social.oauth1.AbstractOAuth1ApiBinding
Set the ClientHttpRequestFactory.
setRequestFactory(ClientHttpRequestFactory) - Method in class org.springframework.social.oauth1.OAuth1Template
Set the request factory on the underlying RestTemplate.
setRequestFactory(ClientHttpRequestFactory) - Method in class org.springframework.social.oauth2.AbstractOAuth2ApiBinding
Set the ClientHttpRequestFactory.
setRequestFactory(ClientHttpRequestFactory) - Method in class org.springframework.social.oauth2.OAuth2Template
Set the request factory on the underlying RestTemplate.
setReturnToUrlParameters(Set<String>) - Method in class org.springframework.social.security.provider.OAuth1AuthenticationService
 
setReturnToUrlParameters(Set<String>) - Method in class org.springframework.social.security.provider.OAuth2AuthenticationService
 
setScope(String) - Method in class org.springframework.social.connect.support.OAuth2ConnectionFactory
Sets the default value to send in the scope parameter during authorization.
setScope(String) - Method in class org.springframework.social.oauth2.OAuth2Parameters
Sets the permissions the application is seeking with the authorization (optional).
setSessionStrategy(SessionStrategy) - Method in class org.springframework.social.connect.web.ConnectController
Sets a strategy to use when persisting information that is to survive past the boundaries of a request.
setSessionStrategy(SessionStrategy) - Method in class org.springframework.social.connect.web.ProviderSignInController
Sets a strategy to use when persisting information that is to survive past the boundaries of a request.
setSignInInterceptors(List<ProviderSignInInterceptor<?>>) - Method in class org.springframework.social.connect.web.ProviderSignInController
Configure the list of sign in interceptors that should receive callbacks during the sign in process.
setSignInUrl(String) - Method in class org.springframework.social.connect.web.ProviderSignInController
Sets the URL of the application's sign in page.
setSignUpUrl(String) - Method in class org.springframework.social.connect.web.ProviderSignInController
Sets the URL to redirect the user to if no local user account can be mapped when signing in using a provider.
setSignupUrl(String) - Method in class org.springframework.social.security.SocialAuthenticationFilter
Sets the signup URL; the URL to redirect to if authentication fails so that the user can register with the application.
setSocialConfigurers(List<SocialConfigurer>) - Method in class org.springframework.social.config.annotation.SocialConfiguration
 
setState(String) - Method in class org.springframework.social.oauth2.OAuth2Parameters
Sets an opaque key that must be included in the provider's authorization callback (optional).
setTablePrefix(String) - Method in class org.springframework.social.connect.jdbc.JdbcUsersConnectionRepository
Sets a table name prefix.
setUpdateConnections(boolean) - Method in class org.springframework.social.security.SocialAuthenticationFilter
 
setUseAuthenticateUrl(boolean) - Method in class org.springframework.social.connect.web.ConnectSupport
Flag indicating if this instance will support OAuth-based authentication instead of the traditional user authorization.
setUseParametersForClientAuthentication(boolean) - Method in class org.springframework.social.oauth2.OAuth2Template
Set to true to pass client credentials to the provider as parameters instead of using HTTP Basic authentication.
setUsername(String) - Method in class org.springframework.social.connect.UserProfileBuilder
Sets the profile username field.
setViewPath(String) - Method in class org.springframework.social.connect.web.ConnectController
Sets the path to connection status views.
shouldPerformRefreshPostRequest(HttpServletRequest) - Method in class org.springframework.social.connect.web.ReconnectFilter
Determines whether or not the handled request should be converted to a POST request to ConnectController for authorization.
signIn(String, NativeWebRequest) - Method in class org.springframework.social.connect.web.ProviderSignInController
Process a sign-in form submission by commencing the process of establishing a connection to the provider on behalf of the user.
signIn(String, Connection<?>, NativeWebRequest) - Method in interface org.springframework.social.connect.web.SignInAdapter
Complete a provider sign-in attempt by signing in the local user account with the specified id.
SignInAdapter - Interface in org.springframework.social.connect.web
Adapter that bridges between a ProviderSignInController and a application-specific user sign-in service.
signupUrl(String) - Method in class org.springframework.social.security.SpringSocialConfigurer
Sets the URL to land on after an authentication failure so that the user can register with the application.
size() - Method in class org.springframework.social.support.ParameterMap
 
SocialAuthenticationException - Exception in org.springframework.social.security
Indicates an error while authenticating against a social provider.
SocialAuthenticationException(String) - Constructor for exception org.springframework.social.security.SocialAuthenticationException
 
SocialAuthenticationException(String, Throwable) - Constructor for exception org.springframework.social.security.SocialAuthenticationException
 
SocialAuthenticationFailureHandler - Class in org.springframework.social.security
 
SocialAuthenticationFailureHandler(AuthenticationFailureHandler) - Constructor for class org.springframework.social.security.SocialAuthenticationFailureHandler
 
SocialAuthenticationFilter - Class in org.springframework.social.security
Filter for handling the provider sign-in flow within the Spring Security filter chain.
SocialAuthenticationFilter(AuthenticationManager, UserIdSource, UsersConnectionRepository, SocialAuthenticationServiceLocator) - Constructor for class org.springframework.social.security.SocialAuthenticationFilter
 
SocialAuthenticationProvider - Class in org.springframework.social.security
AuthenticationProvider for spring-social based ServiceProviders
SocialAuthenticationProvider(UsersConnectionRepository, SocialUserDetailsService) - Constructor for class org.springframework.social.security.SocialAuthenticationProvider
 
SocialAuthenticationRedirectException - Exception in org.springframework.social.security
Indicates the need to perform a redirect in the course of authenticating with a social provider.
SocialAuthenticationRedirectException(URL) - Constructor for exception org.springframework.social.security.SocialAuthenticationRedirectException
 
SocialAuthenticationRedirectException(String) - Constructor for exception org.springframework.social.security.SocialAuthenticationRedirectException
 
SocialAuthenticationService<S> - Interface in org.springframework.social.security.provider
Authentication for social ConnectionFactory
SocialAuthenticationService.ConnectionCardinality - Enum in org.springframework.social.security.provider
 
SocialAuthenticationServiceLocator - Interface in org.springframework.social.security
 
SocialAuthenticationServiceRegistry - Class in org.springframework.social.security
 
SocialAuthenticationServiceRegistry() - Constructor for class org.springframework.social.security.SocialAuthenticationServiceRegistry
 
SocialAuthenticationToken - Class in org.springframework.social.security
Authentication token for social authentication, e.g.
SocialAuthenticationToken(Connection<?>, Map<String, String>) - Constructor for class org.springframework.social.security.SocialAuthenticationToken
 
SocialAuthenticationToken(Connection<?>, Serializable, Map<String, String>, Collection<? extends GrantedAuthority>) - Constructor for class org.springframework.social.security.SocialAuthenticationToken
 
SocialConfiguration - Class in org.springframework.social.config.annotation
Configuration class imported by EnableSocial.
SocialConfiguration() - Constructor for class org.springframework.social.config.annotation.SocialConfiguration
 
SocialConfigurer - Interface in org.springframework.social.config.annotation
Defines callback methods to customize Java-based configuration enabled by @EnableWebMvc.
SocialConfigurerAdapter - Class in org.springframework.social.config.annotation
Abstract implementation of SocialConfigurer with convenient default implementations of methods.
SocialConfigurerAdapter() - Constructor for class org.springframework.social.config.annotation.SocialConfigurerAdapter
 
SocialConnectedTag - Class in org.springframework.social.connect.web.taglib
JSP Tag to return true/false if you're connected to a provider.
SocialConnectedTag() - Constructor for class org.springframework.social.connect.web.taglib.SocialConnectedTag
 
SocialException - Exception in org.springframework.social
Exception class indicating a problem occurred performing an operation against a service provider.
SocialException(String) - Constructor for exception org.springframework.social.SocialException
 
SocialException(String, Throwable) - Constructor for exception org.springframework.social.SocialException
 
SocialNamespaceHandler - Class in org.springframework.social.config.xml
NamespaceHandler for Spring Social
SocialNamespaceHandler() - Constructor for class org.springframework.social.config.xml.SocialNamespaceHandler
 
SocialNotConnectedTag - Class in org.springframework.social.connect.web.taglib
JSP Tag to return true/false if you're NOT connected to a provider.
SocialNotConnectedTag() - Constructor for class org.springframework.social.connect.web.taglib.SocialNotConnectedTag
 
SocialUser - Class in org.springframework.social.security
simple utility class that uses User.getUsername() as SocialUserDetails.getUserId() for SocialUserDetails
SocialUser(String, String, boolean, boolean, boolean, boolean, Collection<? extends GrantedAuthority>) - Constructor for class org.springframework.social.security.SocialUser
 
SocialUser(String, String, Collection<? extends GrantedAuthority>) - Constructor for class org.springframework.social.security.SocialUser
 
SocialUserDetails - Interface in org.springframework.social.security
 
SocialUserDetailsService - Interface in org.springframework.social.security
similar to UserDetailsService but loads details by user id, not username
SpringSocialConfigurer - Class in org.springframework.social.security
Configurer that adds SocialAuthenticationFilter to Spring Security's filter chain.
SpringSocialConfigurer() - Constructor for class org.springframework.social.security.SpringSocialConfigurer
Constructs a SpringSocialHttpConfigurer.
SpringSocialDialect - Class in org.springframework.social.connect.web.thymeleaf
Thymeleaf dialect offering Spring Social connectivity integration.
SpringSocialDialect() - Constructor for class org.springframework.social.connect.web.thymeleaf.SpringSocialDialect
 
supports(Class<? extends Object>) - Method in class org.springframework.social.security.SocialAuthenticationProvider
 
supportsStateParameter() - Method in class org.springframework.social.connect.support.OAuth2ConnectionFactory
Indicates that this provider supports the state parameter in callbacks to prevent against CSRF.
sync() - Method in interface org.springframework.social.connect.Connection
Sync's this connection object with the current state of the external user's profile.
sync() - Method in class org.springframework.social.connect.support.AbstractConnection
 

T

test(A) - Method in interface org.springframework.social.connect.ApiAdapter
Implements Connection.test() for connections to the given API.
test() - Method in interface org.springframework.social.connect.Connection
Test this connection.
test() - Method in class org.springframework.social.connect.support.AbstractConnection
 
TokenStrategy - Enum in org.springframework.social.oauth2
Strategy enumeration where each value carries an interceptor defining how an access token is carried on API requests.
toSingleValueMap() - Method in class org.springframework.social.support.ParameterMap
 
toString() - Method in class org.springframework.social.connect.ConnectionKey
 
toUserId(Connection<?>) - Method in class org.springframework.social.security.SocialAuthenticationProvider
 

U

UncategorizedApiException - Exception in org.springframework.social
Indicates that an otherwise uncategorized error occurred while consuming a provider API.
UncategorizedApiException(String, String, Throwable) - Constructor for exception org.springframework.social.UncategorizedApiException
 
updateConnection(Connection<?>) - Method in interface org.springframework.social.connect.ConnectionRepository
Update a Connection already added to this repository.
updateStatus(A, String) - Method in interface org.springframework.social.connect.ApiAdapter
Implements Connection.updateStatus(String) for connections to the given API.
updateStatus(String) - Method in interface org.springframework.social.connect.Connection
Update the user's status on the provider's system.
updateStatus(String) - Method in class org.springframework.social.connect.support.AbstractConnection
 
URIBuilder - Class in org.springframework.social.support
Builds up a URI from individual URI components.
URIBuilderException - Exception in org.springframework.social.support
Exception thrown when URIBuilder can't build the specified URI.
URIBuilderException(String) - Constructor for exception org.springframework.social.support.URIBuilderException
 
URIBuilderException(String, Throwable) - Constructor for exception org.springframework.social.support.URIBuilderException
 
userIdSource() - Method in class org.springframework.social.config.annotation.SocialConfiguration
 
userIdSource(UserIdSource) - Method in class org.springframework.social.security.SpringSocialConfigurer
Sets the UserIdSource to use for authentication.
UserIdSource - Interface in org.springframework.social
Strategy interface used to determine the account ID of the current user.
UserProfile - Class in org.springframework.social.connect
A normalized model representing a service provider user profile.
UserProfileBuilder - Class in org.springframework.social.connect
Builder for constructing a UserProfile instance returned by ApiAdapter.fetchUserProfile(Object) Makes it easy to construct a profile instance where some of the individual fields may be null.
UserProfileBuilder() - Constructor for class org.springframework.social.connect.UserProfileBuilder
 
usersConnectionRepository(ConnectionFactoryLocator) - Method in class org.springframework.social.config.annotation.SocialConfiguration
 
UsersConnectionRepository - Interface in org.springframework.social.connect
A data access interface for managing a global store of users connections to service providers.

V

valueOf(String) - Static method in enum org.springframework.social.oauth1.OAuth1Version
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.social.oauth2.GrantType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.social.oauth2.OAuth2Version
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.social.oauth2.TokenStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.social.security.provider.SocialAuthenticationService.ConnectionCardinality
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.springframework.social.oauth1.OAuth1Version
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.social.oauth2.GrantType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.social.oauth2.OAuth2Version
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.social.oauth2.TokenStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.social.security.provider.SocialAuthenticationService.ConnectionCardinality
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.springframework.social.support.ParameterMap
 

W

write(Map<String, String>, MediaType, HttpOutputMessage) - Method in class org.springframework.social.support.FormMapHttpMessageConverter
 
A B C D E F G H I J K L M N O P Q R S T U V W