Class AuthenticationManagerResolver

java.lang.Object
com.cloudimpl.outstack.spring.security.AuthenticationManagerResolver
All Implemented Interfaces:
org.springframework.security.authentication.ReactiveAuthenticationManagerResolver<org.springframework.web.server.ServerWebExchange>

@Component
public class AuthenticationManagerResolver
extends java.lang.Object
implements org.springframework.security.authentication.ReactiveAuthenticationManagerResolver<org.springframework.web.server.ServerWebExchange>
Author:
nuwan
  • Constructor Details

    • AuthenticationManagerResolver

      public AuthenticationManagerResolver​(org.springframework.security.oauth2.jwt.ReactiveJwtDecoder jwtDecoder, @Autowired(required=false) AuthenticationProvider authenticationProvider, @Autowired(required=false) AuthorizationProvider authorizationProvider, @Autowired(required=false) TokenProvider tokenProvider)
  • Method Details

    • getBasicTokenAuthentication

      public BasicTokenAuthenticationManager getBasicTokenAuthentication()
    • getBearerTokenAuthentication

      public BearerTokenAuthenticationManager getBearerTokenAuthentication()
    • resolve

      public reactor.core.publisher.Mono<org.springframework.security.authentication.ReactiveAuthenticationManager> resolve​(org.springframework.web.server.ServerWebExchange c)
      Specified by:
      resolve in interface org.springframework.security.authentication.ReactiveAuthenticationManagerResolver<org.springframework.web.server.ServerWebExchange>