Class ResourceServerConfiguration

java.lang.Object
org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
de.otto.edison.oauth.configuration.ResourceServerConfiguration
All Implemented Interfaces:
org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer

@Configuration
@EnableResourceServer
public class ResourceServerConfiguration
extends org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
  • Constructor Summary

    Constructors 
    Constructor Description
    ResourceServerConfiguration()  
  • Method Summary

    Modifier and Type Method Description
    void configure​(org.springframework.security.config.annotation.web.builders.HttpSecurity http)  
    void configure​(org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer config)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • configure

      public void configure​(org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer config)
      Specified by:
      configure in interface org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
      Overrides:
      configure in class org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
    • configure

      public void configure​(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws java.lang.Exception
      Specified by:
      configure in interface org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
      Overrides:
      configure in class org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
      Throws:
      java.lang.Exception