类 NacosAuthPluginWebConfig
java.lang.Object
com.alibaba.nacos.plugin.auth.impl.configuration.web.NacosAuthPluginWebConfig
@EnableWebSecurity
@Import({NacosAuthPluginControllerConfig.class,NacosAuthPluginOldControllerConfig.class})
public class NacosAuthPluginWebConfig
extends Object
Nacos Auth http config.
- 作者:
- xiweng.yy
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.security.authentication.AuthenticationManager已过时。will be removed after v1 auth API removed.org.springframework.security.web.SecurityFilterChainsecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
-
字段详细资料
-
SECURITY_IGNORE_URLS_SPILT_CHAR
- 另请参阅:
-
DEFAULT_ALL_PATH_PATTERN
- 另请参阅:
-
PROPERTY_IGNORE_URLS
- 另请参阅:
-
-
构造器详细资料
-
NacosAuthPluginWebConfig
public NacosAuthPluginWebConfig()
-
-
方法详细资料
-
securityFilterChain
@Bean public org.springframework.security.web.SecurityFilterChain securityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception - 抛出:
Exception
-
authenticationManagerBean
@Bean(name="org.springframework.security.authenticationManager") @Deprecated public org.springframework.security.authentication.AuthenticationManager authenticationManagerBean() throws Exception已过时。will be removed after v1 auth API removed.Build requiredAuthenticationManagerfor v1 auth API.- 返回:
- spring security default authentication manager
- 抛出:
Exception- any exception during build authentication manager.
-