public class DefaultPunchOutUserAuthenticationStrategy extends java.lang.Object implements PunchOutUserAuthenticationStrategy
| Constructor and Description |
|---|
DefaultPunchOutUserAuthenticationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(UserModel user,
HttpServletRequest request,
HttpServletResponse response)
Authenticates a user into the system.
|
protected AuthenticationProvider |
getAuthenticationProvider() |
protected java.util.List<AuthenticationSuccessHandler> |
getAuthenticationSuccessHandlers() |
protected ConfigurationService |
getConfigurationService() |
void |
logout()
Logs out a user from the system.
|
void |
setAuthenticationProvider(AuthenticationProvider authenticationProvider) |
void |
setAuthenticationSuccessHandlers(java.util.List<AuthenticationSuccessHandler> authenticationSuccessHandlers) |
void |
setConfigurationService(ConfigurationService configurationService) |
public DefaultPunchOutUserAuthenticationStrategy()
public void authenticate(UserModel user, HttpServletRequest request, HttpServletResponse response)
PunchOutUserAuthenticationStrategyauthenticate in interface PunchOutUserAuthenticationStrategyuser - the userrequest - the HTTP requestresponse - the HTTP responsepublic void logout()
PunchOutUserAuthenticationStrategylogout in interface PunchOutUserAuthenticationStrategyprotected AuthenticationProvider getAuthenticationProvider()
public void setAuthenticationProvider(AuthenticationProvider authenticationProvider)
protected java.util.List<AuthenticationSuccessHandler> getAuthenticationSuccessHandlers()
public void setAuthenticationSuccessHandlers(java.util.List<AuthenticationSuccessHandler> authenticationSuccessHandlers)
protected ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
Copyright © 2018 SAP SE. All Rights Reserved.