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 |
process(String userId,
boolean validatedByToken,
long lastLoggedInTimestamp,
ClientDetails clientDetails,
SystemInfo systemInfo) |
LoginResponse |
process(String userId,
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 process(String userId, ClientDetails clientDetails, SystemInfo systemInfo) throws Exception
Exceptionpublic LoginResponse process(String userId, boolean validatedByToken, 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.