A B D G I L M O R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractSocialAuthenticationService<S> - Class in org.springframework.social.security.provider
- AbstractSocialAuthenticationService() - Constructor for class org.springframework.social.security.provider.AbstractSocialAuthenticationService
- addAuthenticationService(SocialAuthenticationService<?>) - Method in class org.springframework.social.security.SocialAuthenticationServiceRegistry
-
Add a
SocialAuthenticationServiceto this registry. - addConnection(SocialAuthenticationService<?>, String, ConnectionData) - Method in class org.springframework.social.security.SocialAuthenticationFilter
- 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
- 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 - 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
B
- buildReturnToUrl(HttpServletRequest) - Method in class org.springframework.social.security.provider.OAuth1AuthenticationService
- buildReturnToUrl(HttpServletRequest) - Method in class org.springframework.social.security.provider.OAuth2AuthenticationService
D
- 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.
G
- getAuthenticationService(String) - Method in interface org.springframework.social.security.SocialAuthenticationServiceLocator
-
Lookup a
SocialAuthenticationServiceby providerId; for example, "facebook". - getAuthenticationService(String) - Method in class org.springframework.social.security.SocialAuthenticationServiceRegistry
- getAuthorities(String, UserDetails) - Method in class org.springframework.social.security.SocialAuthenticationProvider
-
Override to grant authorities based on
ServiceProviderid and/or a user's account id - 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
SocialAuthenticationTokenfrom request - 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() - 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
- getCredentials() - Method in class org.springframework.social.security.SocialAuthenticationToken
- getPrincipal() - Method in class org.springframework.social.security.SocialAuthenticationToken
- getProviderAccountData() - Method in class org.springframework.social.security.SocialAuthenticationToken
- getProviderId() - Method in class org.springframework.social.security.SocialAuthenticationToken
- getRedirectUrl() - Method in exception org.springframework.social.security.SocialAuthenticationRedirectException
- getReturnToUrlParameters() - Method in class org.springframework.social.security.provider.OAuth1AuthenticationService
- getReturnToUrlParameters() - Method in class org.springframework.social.security.provider.OAuth2AuthenticationService
- 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.
- getUsersConnectionRepository() - Method in class org.springframework.social.security.SocialAuthenticationFilter
I
- isAuthenticatePossible() - Method in enum org.springframework.social.security.provider.SocialAuthenticationService.ConnectionCardinality
- 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.
L
- loadUserByUserId(String) - Method in interface org.springframework.social.security.SocialUserDetailsService
- logger - Variable in class org.springframework.social.security.provider.OAuth2AuthenticationService
M
- MANY_TO_MANY - org.springframework.social.security.provider.SocialAuthenticationService.ConnectionCardinality
-
no restrictions.
- MANY_TO_ONE - org.springframework.social.security.provider.SocialAuthenticationService.ConnectionCardinality
-
only one providerUserId per userId, but many userIds per providerUserId.
O
- OAuth1AuthenticationService<S> - Class in org.springframework.social.security.provider
- OAuth1AuthenticationService(OAuth1ConnectionFactory<S>) - Constructor for class org.springframework.social.security.provider.OAuth1AuthenticationService
- OAuth2AuthenticationService<S> - Class in org.springframework.social.security.provider
- OAuth2AuthenticationService(OAuth2ConnectionFactory<S>) - Constructor for class org.springframework.social.security.provider.OAuth2AuthenticationService
- onAuthenticationFailure(HttpServletRequest, HttpServletResponse, AuthenticationException) - Method in class org.springframework.social.security.SocialAuthenticationFailureHandler
- ONE_TO_MANY - org.springframework.social.security.provider.SocialAuthenticationService.ConnectionCardinality
-
many connected providerUserIds per userId, but only one userId per providerUserId
- ONE_TO_ONE - org.springframework.social.security.provider.SocialAuthenticationService.ConnectionCardinality
-
only one connected providerUserId per userId and vice versa
- org.springframework.social.security - package org.springframework.social.security
- org.springframework.social.security.provider - package org.springframework.social.security.provider
R
- registeredAuthenticationProviderIds() - Method in interface org.springframework.social.security.SocialAuthenticationServiceLocator
-
Returns the set of providerIds for which a
SocialAuthenticationServiceis registered; for example,{"twitter", "facebook", "foursquare" }. - registeredAuthenticationProviderIds() - Method in class org.springframework.social.security.SocialAuthenticationServiceRegistry
- requiresAuthentication(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.social.security.SocialAuthenticationFilter
-
Indicates whether this filter should attempt to process a social network login request for the current invocation.
S
- 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. - 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
- setConnectionFactory(OAuth1ConnectionFactory<S>) - Method in class org.springframework.social.security.provider.OAuth1AuthenticationService
- setConnectionFactory(OAuth2ConnectionFactory<S>) - Method in class org.springframework.social.security.provider.OAuth2AuthenticationService
- 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
- setPostFailureUrl(String) - Method in class org.springframework.social.security.SocialAuthenticationFilter
- setPostLoginUrl(String) - Method in class org.springframework.social.security.SocialAuthenticationFilter
- setReturnToUrlParameters(Set<String>) - Method in class org.springframework.social.security.provider.OAuth1AuthenticationService
- setReturnToUrlParameters(Set<String>) - Method in class org.springframework.social.security.provider.OAuth2AuthenticationService
- setSignupUrl(String) - Method in class org.springframework.social.security.SocialAuthenticationFilter
- setUpdateConnections(boolean) - Method in class org.springframework.social.security.SocialAuthenticationFilter
- 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
-
AuthenticationProviderfor spring-social basedServiceProviders - 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(String) - Constructor for exception org.springframework.social.security.SocialAuthenticationRedirectException
- SocialAuthenticationRedirectException(URL) - 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<?>, Serializable, Map<String, String>, Collection<? extends GrantedAuthority>) - Constructor for class org.springframework.social.security.SocialAuthenticationToken
- SocialAuthenticationToken(Connection<?>, Map<String, String>) - Constructor for class org.springframework.social.security.SocialAuthenticationToken
- SocialUser - Class in org.springframework.social.security
-
simple utility class that uses
User.getUsername()asSocialUserDetails.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
UserDetailsServicebut loads details by user id, not username - supports(Class<? extends Object>) - Method in class org.springframework.social.security.SocialAuthenticationProvider
T
- toUserId(Connection<?>) - Method in class org.springframework.social.security.SocialAuthenticationProvider
V
- 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.security.provider.SocialAuthenticationService.ConnectionCardinality
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages