Class TestResourceServerConfiguration
java.lang.Object
com.totvs.tjf.test.support.security.TestResourceServerConfiguration
- All Implemented Interfaces:
org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
public class TestResourceServerConfiguration
extends Object
implements org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
Configurer the
ResourceServer to be stateful during the test execution.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TestResourceServerConfiguration
public TestResourceServerConfiguration()
-
-
Method Details
-
configure
public void configure(org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer resources) throws Exception Define the resources asstateful.- Specified by:
configurein interfaceorg.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer- Throws:
Exception
-
configure
public void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception - Specified by:
configurein interfaceorg.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer- Throws:
Exception
-