Class TrustedLoginResource
java.lang.Object
com.abavilla.fpi.fw.controller.AbsBaseResource<LoginDto,User,TrustedLoginSvc>
com.abavilla.fpi.login.controller.TrustedLoginResource
- All Implemented Interfaces:
com.abavilla.fpi.fw.controller.IResource
@Path("/fpi/login")
public class TrustedLoginResource
extends com.abavilla.fpi.fw.controller.AbsBaseResource<LoginDto,User,TrustedLoginSvc>
Resource for Login to FPI System without going through keycloak authentication server
URI Path:
"/fpi/login"- Author:
- Vince Villamora
-
Field Summary
Fields inherited from class com.abavilla.fpi.fw.controller.AbsBaseResource
service -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<org.jboss.resteasy.reactive.RestResponse<com.abavilla.fpi.fw.dto.impl.RespDto<SessionDto>>>loginFromTrustedIdentityProvider(WebhookLoginDto loginDto, Boolean refreshToken) protected org.jboss.resteasy.reactive.RestResponse<com.abavilla.fpi.fw.dto.impl.RespDto<com.abavilla.fpi.fw.dto.IDto>>mapException(com.abavilla.fpi.fw.exceptions.FPISvcEx x)
-
Constructor Details
-
TrustedLoginResource
public TrustedLoginResource()
-
-
Method Details
-
loginFromTrustedIdentityProvider
@POST @Path("trusted") public io.smallrye.mutiny.Uni<org.jboss.resteasy.reactive.RestResponse<com.abavilla.fpi.fw.dto.impl.RespDto<SessionDto>>> loginFromTrustedIdentityProvider(WebhookLoginDto loginDto, @QueryParam("refreshToken") Boolean refreshToken) -
mapException
protected org.jboss.resteasy.reactive.RestResponse<com.abavilla.fpi.fw.dto.impl.RespDto<com.abavilla.fpi.fw.dto.IDto>> mapException(com.abavilla.fpi.fw.exceptions.FPISvcEx x) - Overrides:
mapExceptionin classcom.abavilla.fpi.fw.controller.AbsBaseResource<LoginDto,User, TrustedLoginSvc>
-