public abstract class AbstractAuthenticationProcessor<EndpointReq,EndpointResp> extends AbstractRequestProcessor<EndpointReq,EndpointResp>
| Constructor and Description |
|---|
AbstractAuthenticationProcessor(Enum<?> endpoint,
Class<EndpointReq> requestClass,
Class<EndpointResp> responseClass) |
| Modifier and Type | Method and Description |
|---|---|
LoginResponse |
processGuestLogin(String userId,
ClientDetails clientDetails,
SystemInfo systemInfo) |
LoginResponse |
processRegularLogin(String userId,
boolean validatedByToken,
boolean loggedInAsGuest,
long lastLoggedInTimestamp,
ClientDetails clientDetails,
SystemInfo systemInfo) |
boolean |
shouldValidateSession() |
getCommunicationPattern, getEndpoint, getEndpointRequestClass, getEndpointResponseClass, getEventProcessingManager, getGatewayDAO, processRequest, processRequest, setGatewayDAO, setSessionForCurrentThreadpublic AbstractAuthenticationProcessor(Enum<?> endpoint, Class<EndpointReq> requestClass, Class<EndpointResp> responseClass)
public LoginResponse processGuestLogin(String userId, ClientDetails clientDetails, SystemInfo systemInfo) throws Exception
Exceptionpublic LoginResponse processRegularLogin(String userId, boolean validatedByToken, boolean loggedInAsGuest, long lastLoggedInTimestamp, ClientDetails clientDetails, SystemInfo systemInfo) throws Exception
Exceptionpublic final boolean shouldValidateSession()
shouldValidateSession in interface RequestProcessorshouldValidateSession in class AbstractRequestProcessor<EndpointReq,EndpointResp>Copyright © 2022. All rights reserved.