Class MapReactiveUserDetailsService

java.lang.Object
org.springframework.security.core.userdetails.MapReactiveUserDetailsService
All Implemented Interfaces:
ReactiveUserDetailsPasswordService, ReactiveUserDetailsService

public class MapReactiveUserDetailsService extends Object implements ReactiveUserDetailsService, ReactiveUserDetailsPasswordService
A Map based implementation of ReactiveUserDetailsService
Since:
5.0
  • Constructor Details

    • MapReactiveUserDetailsService

      public MapReactiveUserDetailsService(Map<String,UserDetails> users)
      Creates a new instance using a Map that must be non blocking.
      Parameters:
      users - a Map of users to use.
    • MapReactiveUserDetailsService

      public MapReactiveUserDetailsService(UserDetails... users)
      Creates a new instance
      Parameters:
      users - the UserDetails to use
    • MapReactiveUserDetailsService

      public MapReactiveUserDetailsService(Collection<UserDetails> users)
      Creates a new instance
      Parameters:
      users - the UserDetails to use
  • Method Details