Skip to content

Commit

Permalink
chore: update jwt policy default version to 1.3.1
Browse files Browse the repository at this point in the history
Co-authored-by: Clayton Flesher <cflesher@avioconsulting.com>
  • Loading branch information
claytonflesher and cflesher-c-reyes authored Jul 11, 2023
1 parent ad74440 commit f8ee2cc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class JwtPolicy extends MulesoftPolicy {
Integer jwksCachingTtlInMinutes = null,
String version = null) {
super('jwt-validation',
version ?: '1.1.4',
version ?: '1.3.1',
getConfig(jwksUrl,
expectedAudience,
expectedIssuer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AzureAdJwtPolicyTest {
assertThat model.assetId,
is(equalTo('jwt-validation'))
assertThat model.version,
is(equalTo('1.1.4'))
is(equalTo('1.3.1'))
assertThat model.policyConfiguration,
is(equalTo([
jwtOrigin : 'httpBearerAuthenticationHeader',
Expand Down Expand Up @@ -62,7 +62,7 @@ class AzureAdJwtPolicyTest {
assertThat model.assetId,
is(equalTo('jwt-validation'))
assertThat model.version,
is(equalTo('1.1.4'))
is(equalTo('1.3.1'))
assertThat model.policyConfiguration,
is(equalTo([
jwtOrigin : 'httpBearerAuthenticationHeader',
Expand Down Expand Up @@ -108,7 +108,7 @@ class AzureAdJwtPolicyTest {
assertThat model.assetId,
is(equalTo('jwt-validation'))
assertThat model.version,
is(equalTo('1.1.4'))
is(equalTo('1.3.1'))
assertThat model.policyConfiguration,
is(equalTo([
jwtOrigin : 'httpBearerAuthenticationHeader',
Expand Down Expand Up @@ -157,7 +157,7 @@ class AzureAdJwtPolicyTest {
assertThat model.assetId,
is(equalTo('jwt-validation'))
assertThat model.version,
is(equalTo('1.1.4'))
is(equalTo('1.3.1'))
assertThat model.policyConfiguration,
is(equalTo([
jwtOrigin : 'httpBearerAuthenticationHeader',
Expand Down Expand Up @@ -206,7 +206,7 @@ class AzureAdJwtPolicyTest {
assertThat model.assetId,
is(equalTo('jwt-validation'))
assertThat model.version,
is(equalTo('1.1.4'))
is(equalTo('1.3.1'))
assertThat model.policyConfiguration,
is(equalTo([
jwtOrigin : 'httpBearerAuthenticationHeader',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class JwtPolicyTest {
assertThat model.assetId,
is(equalTo('jwt-validation'))
assertThat model.version,
is(equalTo('1.1.4'))
is(equalTo('1.3.1'))
assertThat model.policyConfiguration,
is(equalTo([
jwtOrigin : 'httpBearerAuthenticationHeader',
Expand Down Expand Up @@ -90,7 +90,7 @@ class JwtPolicyTest {
assertThat model.assetId,
is(equalTo('jwt-validation'))
assertThat model.version,
is(equalTo('1.1.4'))
is(equalTo('1.3.1'))
assertThat model.policyConfiguration,
is(equalTo([
jwtOrigin : 'httpBearerAuthenticationHeader',
Expand Down Expand Up @@ -143,7 +143,7 @@ class JwtPolicyTest {
assertThat model.assetId,
is(equalTo('jwt-validation'))
assertThat model.version,
is(equalTo('1.1.4'))
is(equalTo('1.3.1'))
assertThat model.policyConfiguration,
is(equalTo([
jwtOrigin : 'httpBearerAuthenticationHeader',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class PolicyContextTest {
assertThat request,
is(instanceOf(JwtPolicy))
assertThat request.version,
is(equalTo('1.1.4'))
is(equalTo('1.3.1'))
}

@Test
Expand Down

0 comments on commit f8ee2cc

Please sign in to comment.