Skip to content

Commit

Permalink
Tests - migrate 2 deprecated Smallrye JWT properties
Browse files Browse the repository at this point in the history
There is no test using non-deprecated properties. If we need to choose, `io.quarkus.jwt.test.JwtCookieDevModeTestCase`, `JwtCookieUnitTest` should prefer non-deprecated `header` and `cookie` properties.

`smallrye.jwt.token.header` property is deprecated and will be removed in a future version. Tests now use `mp.jwt.token.header` property.
`smallrye.jwt.token.cookie` property is deprecated and will be removed in a future version. Tests now use `mp.jwt.token.cookie` property.
  • Loading branch information
michalvavrik committed Oct 17, 2022
1 parent 5df6480 commit 2582c03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mp.jwt.verify.publickey.location=/publicKey.pem
mp.jwt.verify.issuer=https://server.example.com
smallrye.jwt.claims.groups=User
smallrye.jwt.token.header=Cookie
smallrye.jwt.token.cookie=cookie_a
mp.jwt.token.header=Cookie
mp.jwt.token.cookie=cookie_a
smallrye.jwt.sign.key.location=/privateKey.pem
quarkus.smallrye-jwt.enabled=true
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#mp.jwt.verify.publickey.location=/publicKey.pem
#mp.jwt.verify.issuer=https://server.example.com
#smallrye.jwt.claims.groups=User
#smallrye.jwt.token.header=Cookie
#smallrye.jwt.token.cookie=cookie_a
#mp.jwt.token.header=Cookie
#mp.jwt.token.cookie=cookie_a
#smallrye.jwt.sign.key.location=/privateKey.pem
quarkus.smallrye-jwt.enabled=true

0 comments on commit 2582c03

Please sign in to comment.