All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rxjava.security.dynamically.example.config.AuthenticationManager Maven / Gradle / Ivy

The newest version!
package org.rxjava.security.dynamically.example.config;

import org.springframework.security.authentication.ReactiveAuthenticationManager;
import org.springframework.security.core.Authentication;
import org.springframework.stereotype.Component;
import reactor.core.publisher.Mono;

/**
 * @author happy 2019-06-13 14:02
 * 认证管理
 */
@Component
public class AuthenticationManager implements ReactiveAuthenticationManager {
    @Override
    public Mono authenticate(Authentication authentication) {
        return Mono.just(authentication);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy