@Configuration
@ConditionalOnClass(value=org.springframework.security.authentication.ReactiveAuthenticationManager.class)
@ConditionalOnMissingBean(value={org.springframework.security.authentication.ReactiveAuthenticationManager.class,org.springframework.security.core.userdetails.UserDetailsRepository.class})
@ConditionalOnWebApplication(type=REACTIVE)
public class ReactiveAuthenticationManagerConfiguration
extends Object
Default user Configuration
for a reactive web application. Configures a
UserDetailsRepository
with a default user and generated password. This
backs-off completely if there is a bean of type UserDetailsRepository
or
ReactiveAuthenticationManager
.
- Since:
- 2.0.0
- Author:
- Madhura Bhave