类 ResourceServerConfig

  • 所有已实现的接口:
    org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer

    @Configuration
    @EnableResourceServer
    public class ResourceServerConfig
    extends org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
    • 构造器详细资料

      • ResourceServerConfig

        public ResourceServerConfig()
    • 方法详细资料

      • configure

        public void configure​(org.springframework.security.config.annotation.web.builders.HttpSecurity httpSecurity)
                       throws Exception
        指定者:
        configure 在接口中 org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
        覆盖:
        configure 在类中 org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
        抛出:
        Exception