Class DefaultPunchOutUserAuthenticationStrategy
- java.lang.Object
-
- de.hybris.platform.b2bpunchoutaddon.security.impl.DefaultPunchOutUserAuthenticationStrategy
-
- All Implemented Interfaces:
PunchOutUserAuthenticationStrategy
public class DefaultPunchOutUserAuthenticationStrategy extends java.lang.Object implements PunchOutUserAuthenticationStrategy
-
-
Constructor Summary
Constructors Constructor Description DefaultPunchOutUserAuthenticationStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidauthenticate(UserModel user, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Authenticates a user into the system.protected org.springframework.security.authentication.AuthenticationProvidergetAuthenticationProvider()protected java.util.List<org.springframework.security.web.authentication.AuthenticationSuccessHandler>getAuthenticationSuccessHandlers()protected ConfigurationServicegetConfigurationService()voidlogout()Logs out a user from the system.voidsetAuthenticationProvider(org.springframework.security.authentication.AuthenticationProvider authenticationProvider)voidsetAuthenticationSuccessHandlers(java.util.List<org.springframework.security.web.authentication.AuthenticationSuccessHandler> authenticationSuccessHandlers)voidsetConfigurationService(ConfigurationService configurationService)
-
-
-
Method Detail
-
authenticate
public void authenticate(UserModel user, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Description copied from interface:PunchOutUserAuthenticationStrategyAuthenticates a user into the system.- Specified by:
authenticatein interfacePunchOutUserAuthenticationStrategy- Parameters:
user- the userrequest- the HTTP requestresponse- the HTTP response
-
logout
public void logout()
Description copied from interface:PunchOutUserAuthenticationStrategyLogs out a user from the system.- Specified by:
logoutin interfacePunchOutUserAuthenticationStrategy
-
getAuthenticationProvider
protected org.springframework.security.authentication.AuthenticationProvider getAuthenticationProvider()
-
setAuthenticationProvider
public void setAuthenticationProvider(org.springframework.security.authentication.AuthenticationProvider authenticationProvider)
-
getAuthenticationSuccessHandlers
protected java.util.List<org.springframework.security.web.authentication.AuthenticationSuccessHandler> getAuthenticationSuccessHandlers()
-
setAuthenticationSuccessHandlers
public void setAuthenticationSuccessHandlers(java.util.List<org.springframework.security.web.authentication.AuthenticationSuccessHandler> authenticationSuccessHandlers)
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
-