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","bremersee.auth.resource-server=auto","bremersee.auth.password-flow.token-endpoint=http://localhost/jwt/token","bremersee.auth.password-flow.client-id=changeit","bremersee.auth.password-flow.client-secret=changeit","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()