@Configuration
@EnableOAuth2Client
@EnableGlobalMethodSecurity(prePostEnabled=true,
securedEnabled=true)
public class WebSecurityConfig
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
| 构造器和说明 |
|---|
WebSecurityConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.security.oauth2.client.token.grant.code.AuthorizationCodeResourceDetails |
authCodeResourceDetails() |
protected void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerProperties |
resServerProperties() |
authenticationManager, authenticationManagerBean, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBeanprotected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws Exception
configure 在类中 org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterException@Bean @ConfigurationProperties(value="shodown.upms.oauth2.resource") public org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerProperties resServerProperties()
@Bean @ConfigurationProperties(value="shodown.upms.oauth2.client") public org.springframework.security.oauth2.client.token.grant.code.AuthorizationCodeResourceDetails authCodeResourceDetails()
Copyright © 2022. All rights reserved.