Class JwtWithRedisTest


  • @SpringBootTest(classes=WithRedisTestConfiguration.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","bremersee.redis.embedded=true","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 JwtWithRedisTest
    extends Object
    The jwt test.
    Author:
    Christian Bremer
    • Constructor Detail

      • JwtWithRedisTest

        public JwtWithRedisTest()