Class LoginAnonymousService
java.lang.Object
es.kukenan.smartfi.microservice.clients.service.login.LoginAnonymousService
- All Implemented Interfaces:
LoginServiceStrategy
Service for login annymous.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate es.kukenan.smartfi.common.service.jwt.JwtServiceService JwtService. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
jwtService
@Autowired private es.kukenan.smartfi.common.service.jwt.JwtService jwtServiceService JwtService.
-
-
Constructor Details
-
LoginAnonymousService
public LoginAnonymousService()
-
-
Method Details
-
login
public es.kukenan.smartfi.microservice.clients.dto.LoginResponseDto login(es.kukenan.smartfi.microservice.clients.dto.LoginDto loginDto, UserLog userLog) Post login action for login anonymous.- Specified by:
loginin interfaceLoginServiceStrategy- Parameters:
loginDto- Request object which contains company_id of user anonymous.userLog- Bean for auditory log.- Returns:
- JWT Token if user is authenticated. if authentication fail then show define error message.
-