Class JwtTest


  • @SpringBootTest(classes=TestConfiguration.class,
                    webEnvironment=RANDOM_PORT,
                    properties={"spring.main.web-application-type=servlet","spring.application.name=resourceserver-jwt","spring.security.oauth2.resourceserver.jwt.jwk-set-uri=http://localhost/jwk","management.endpoints.web.exposure.include=*","bremersee.actuator.auth.enable=auto","bremersee.actuator.auth.jwk-set-uri=http://localhost/jwk","bremersee.actuator.auth.password-flow.token-endpoint=http://localhost/jwk/token","bremersee.actuator.auth.password-flow.client-id=actuator-client","bremersee.actuator.auth.password-flow.client-secret=actuator-client-secret","bremersee.auth.resource-server=auto","bremersee.auth.any-access-mode=deny_all","bremersee.auth.path-matchers[0].ant-pattern=/public/**","bremersee.auth.path-matchers[0].access-mode=permit_all","bremersee.auth.path-matchers[1].ant-pattern=/protected/**","bremersee.auth.path-matchers[1].http-method=POST","bremersee.auth.path-matchers[1].roles=ROLE_ADMIN","bremersee.auth.path-matchers[2].ant-pattern=/protected/**","bremersee.auth.path-matchers[2].roles=ROLE_USER","bremersee.exception-mapping.api-paths=/**"})
    @TestInstance(PER_CLASS)
    public class JwtTest
    extends Object
    The jwt test.
    Author:
    Christian Bremer
    • Constructor Detail

      • JwtTest

        public JwtTest()