Class SecurityContextAwareProviderLoginSupport
- java.lang.Object
-
- org.craftercms.security.social.impl.ProviderLoginSupportImpl
-
- org.craftercms.engine.util.spring.security.profile.SecurityContextAwareProviderLoginSupport
-
- All Implemented Interfaces:
org.craftercms.security.social.ProviderLoginSupport
public class SecurityContextAwareProviderLoginSupport extends org.craftercms.security.social.impl.ProviderLoginSupportImpl
Wrapper forProviderLoginSupportImpl
that integrates the authenticated profile with Spring Security- Since:
- 3.1.5
- Author:
- joseross
-
-
Constructor Summary
Constructors Constructor Description SecurityContextAwareProviderLoginSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.craftercms.security.authentication.Authentication
complete(String tenant, String providerId, javax.servlet.http.HttpServletRequest request, Set<String> newUserRoles, Map<String,Object> newUserAttributes, org.springframework.social.connect.web.ConnectSupport connectSupport)
-
Methods inherited from class org.craftercms.security.social.impl.ProviderLoginSupportImpl
complete, complete, completeConnection, createProfile, getConnectionFactory, getProfile, setAuthenticationManager, setConnectionFactoryLocator, setConnectSupport, setProfileService, setTextEncryptor, start, start, start, updateProfileConnectionData
-
-
-
-
Method Detail
-
complete
public org.craftercms.security.authentication.Authentication complete(String tenant, String providerId, javax.servlet.http.HttpServletRequest request, Set<String> newUserRoles, Map<String,Object> newUserAttributes, org.springframework.social.connect.web.ConnectSupport connectSupport) throws org.craftercms.security.exception.AuthenticationException
- Specified by:
complete
in interfaceorg.craftercms.security.social.ProviderLoginSupport
- Overrides:
complete
in classorg.craftercms.security.social.impl.ProviderLoginSupportImpl
- Throws:
org.craftercms.security.exception.AuthenticationException
-
-