Class DefaultPunchOutUserAuthenticationStrategy
java.lang.Object
de.hybris.platform.b2b.punchout.security.impl.DefaultPunchOutUserAuthenticationStrategy
- All Implemented Interfaces:
PunchOutUserAuthenticationStrategy
public class DefaultPunchOutUserAuthenticationStrategy
extends Object
implements PunchOutUserAuthenticationStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidauthenticate(String userId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Authenticates a user into the system.protected org.springframework.security.authentication.AuthenticationProviderprotected List<org.springframework.security.web.authentication.AuthenticationSuccessHandler>voidlogout()Logs out a user from the system.voidsetAuthenticationProvider(org.springframework.security.authentication.AuthenticationProvider authenticationProvider) voidsetAuthenticationSuccessHandlers(List<org.springframework.security.web.authentication.AuthenticationSuccessHandler> authenticationSuccessHandlers)
-
Constructor Details
-
DefaultPunchOutUserAuthenticationStrategy
public DefaultPunchOutUserAuthenticationStrategy()
-
-
Method Details
-
authenticate
public void authenticate(String userId, 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:
userId- the userIdrequest- 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 List<org.springframework.security.web.authentication.AuthenticationSuccessHandler> getAuthenticationSuccessHandlers() -
setAuthenticationSuccessHandlers
public void setAuthenticationSuccessHandlers(List<org.springframework.security.web.authentication.AuthenticationSuccessHandler> authenticationSuccessHandlers)
-