Class OAuth2LoginReactiveAuthenticationManager

    • Method Detail

      • authenticate

        public reactor.core.publisher.Mono<org.springframework.security.core.Authentication> authenticate​(org.springframework.security.core.Authentication authentication)
        Specified by:
        authenticate in interface org.springframework.security.authentication.ReactiveAuthenticationManager
      • setAuthoritiesMapper

        public final void setAuthoritiesMapper​(org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper authoritiesMapper)
        Sets the GrantedAuthoritiesMapper used for mapping OAuth2AuthenticatedPrincipal.getAuthorities() to a new set of authorities which will be associated to the OAuth2LoginAuthenticationToken.
        Parameters:
        authoritiesMapper - the GrantedAuthoritiesMapper used for mapping the user's authorities
        Since:
        5.4