mirror of https://gitee.com/maxjhandsome/pig
🎨 Improving structure / format of the code. 避免IDEA 红线警告
This commit is contained in:
parent
9c00409a8e
commit
9af834498e
|
@ -47,9 +47,9 @@ import java.util.Map;
|
|||
* @author lengleng
|
||||
* @date 2019/2/1 认证服务器配置
|
||||
*/
|
||||
@Configuration
|
||||
@RequiredArgsConstructor
|
||||
@EnableAuthorizationServer
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class AuthorizationServerConfig extends AuthorizationServerConfigurerAdapter {
|
||||
|
||||
private final DataSource dataSource;
|
||||
|
|
|
@ -38,7 +38,7 @@ import org.springframework.security.web.authentication.logout.LogoutSuccessHandl
|
|||
*/
|
||||
@Primary
|
||||
@Order(90)
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@Configuration
|
||||
public class WebSecurityConfigurer extends WebSecurityConfigurerAdapter {
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue