Class ElbBasedPreAuthenticatedWebAuthenticationDetailsSource

java.lang.Object
io.dialob.security.aws.elb.ElbBasedPreAuthenticatedWebAuthenticationDetailsSource
All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationDetailsSource<jakarta.servlet.http.HttpServletRequest,org.springframework.security.web.authentication.preauth.PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails>

public class ElbBasedPreAuthenticatedWebAuthenticationDetailsSource extends Object implements org.springframework.security.authentication.AuthenticationDetailsSource<jakarta.servlet.http.HttpServletRequest,org.springframework.security.web.authentication.preauth.PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails>
  • Constructor Details

    • ElbBasedPreAuthenticatedWebAuthenticationDetailsSource

      public ElbBasedPreAuthenticatedWebAuthenticationDetailsSource(@NonNull org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper grantedAuthoritiesMapper, @NonNull com.nimbusds.jwt.proc.JWTProcessor jwtProcessor)
  • Method Details

    • buildDetails

      public org.springframework.security.web.authentication.preauth.PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails buildDetails(jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      buildDetails in interface org.springframework.security.authentication.AuthenticationDetailsSource<jakarta.servlet.http.HttpServletRequest,org.springframework.security.web.authentication.preauth.PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails>