Class ExtensionContextStoreResourceServerConfigurationEnricher
- java.lang.Object
-
- org.entur.jwt.junit5.configuration.enrich.ExtensionContextStoreResourceServerConfigurationEnricher
-
- All Implemented Interfaces:
ResourceServerConfigurationEnricher
public class ExtensionContextStoreResourceServerConfigurationEnricher extends java.lang.Object implements ResourceServerConfigurationEnricher
Put authorization servers in JUnit's store.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringKEY_AUTHORIZATION_SERVERS
-
Constructor Summary
Constructors Constructor Description ExtensionContextStoreResourceServerConfigurationEnricher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterAll(org.junit.jupiter.api.extension.ExtensionContext context)voidbeforeAll(java.util.List<AuthorizationServerImplementation> authorizationServers, org.junit.jupiter.api.extension.ExtensionContext context)voidbeforeEach(ResourceServerConfiguration configuration, org.junit.jupiter.api.extension.ExtensionContext context)
-
-
-
Field Detail
-
KEY_AUTHORIZATION_SERVERS
protected static final java.lang.String KEY_AUTHORIZATION_SERVERS
- See Also:
- Constant Field Values
-
-
Method Detail
-
beforeAll
public void beforeAll(java.util.List<AuthorizationServerImplementation> authorizationServers, org.junit.jupiter.api.extension.ExtensionContext context) throws java.io.IOException
- Specified by:
beforeAllin interfaceResourceServerConfigurationEnricher- Throws:
java.io.IOException
-
beforeEach
public void beforeEach(ResourceServerConfiguration configuration, org.junit.jupiter.api.extension.ExtensionContext context)
- Specified by:
beforeEachin interfaceResourceServerConfigurationEnricher
-
afterAll
public void afterAll(org.junit.jupiter.api.extension.ExtensionContext context) throws java.io.IOException- Specified by:
afterAllin interfaceResourceServerConfigurationEnricher- Throws:
java.io.IOException
-
-