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
  • 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:
      mapException in class com.abavilla.fpi.fw.controller.AbsBaseResource<LoginDto,User,TrustedLoginSvc>