All Classes and Interfaces
Classes
Class
Description
A JAX-RS application marked as requiring MP-JWT authentication with /alt root path
Tests of injection of JsonWebToken claims using ClaimValue interface
wrappers.
Validate the handling of the JWT aud claim.
The common endpoint used by the various config tests
Validate the handling of the JWT aud claim.
Validate the handling of the JWT aud claim.
Validate the handling of the JWT aud claim.
Tests of injection of JsonWebToken claims using ClaimValue interface
wrappers.
If "mp.jwt.decryption.algorithm" is not set then both RSA-OAEP and RSA-OAEP-256 must be accepted.
Validate that config property values of type resource path to JWK works to validate the JWT which is signed with
privateKey4k.pem
Validate that mp.jwt.verify.publickey.location property values of type resource path to a PEM work to validate the
JWT which is signed with ecPrivateKey.pem
Validate that the bundled mp.jwt.verify.publickey config property as a literal PEM is used to validate the JWT which
is signed with ecPrivateKey.pem
These set of tests validate the validation expectations for JWTs
Validate the handling of the JWT iss claim.
Validate the handling of the JWT iss claim.
Tests of injection of JsonWebToken claims using JsonValue subtypes.
A JAX-RS application marked as requiring MP-JWT authentication with /jwks root path
A JAX-RS application marked as requiring MP-JWT authentication with /pem root path
Tests that claims can be injected as primitive types into @RequestScoped beans
Validate that the injection of a Principal works when using the MP-JWT feature.
Tests that the Principal can be used as an injection type for the authenticated user
Validate that config property values of type resource path to JWK works to decrypt the JWT which is encrypted with
publicKey4k.jwk
Validate that config property values of type resource path to JWKS works to decrypt the JWT which is encrypted with
publicKey4k.jwk
Validate that mp.jwt.decrypt.key.location property values of type resource path to a PEM work to decrypt the JWT
which is encrypted with publicKey4k.pem
The common endpoint used by the various private key config tests
Tests of injection JsonWebToken claims using the Instance interface.
Validate that the bundled mp.jwt.verify.publickey config property as a base64 encoded literal JWK is used to validate
the JWT which is signed with privateKey4k.pem
Validate that config property values of type file URL to PEM works to validate the JWT which is signed with
privateKey4k.pem
Validate that config property values of type resource path to JWK works to validate the JWT which is signed with
privateKey4k.pem
Validate that config property values of type resource path to JWKS work to validate the JWT which is signed with
privateKey4k.pem
Validate that config property values of type resource path to JWKS works to validate the JWT which is signed with
privateKey4k.pem
Validate that the bundled mp.jwt.verify.publickey config property as a literal JWKS is used to validate the JWT which
is signed with privateKey4k.pem
Validate that the bundled mp.jwt.verify.publickey config property as a literal JWK is used to validate the JWT which
is signed with privateKey4k.pem
Validate that mp.jwt.verify.publickey.location property values of type resource path to a PEM work to validate the
JWT which is signed with privateKey4k.pem
Validate that mp.jwt.verify.publickey.location property values of type remote URL to a PEM work to validate the JWT
which is signed with privateKey4k.pem
Validate that the bundled mp.jwt.verify.publickey config property as a literal PEM is used to validate the JWT which
is signed with privateKey4k.pem
The common endpoint used by the various config tests
Test to ensure that a MP-JWT containing only the minimum set of claims required by the specification can deploy and
be used safely without a validation error
Test that a decryption of an inner signed JWT token encrypted using RSA-OAEP-256 algorithm succeeds with
`RSA-OAEP-256` but fails with `RSA-OAEP` if `mp.jwt.decrypt.key.algorithm=RSA-OAEP-256` is configured.
Test that decryption of an inner signed JWT token encrypted using RSA-OAEP algorithm succeeds with `RSA-OAEP` but
fails with `RSA-OAEP-256` if `mp.jwt.decrypt.key.algorithm=RSA-OAEP` is configured.
Test that decryption of an inner signed JWT token encrypted using RSA-OAEP algorithm succeeds without having to
configure `mp.jwt.decrypt.key.algorithm=RSA-OAEP`.
Tests of the MP-JWT auth method authorization behavior as expected by the MP-JWT RBAC 1.0 spec
The common endpoint used by the various config tests
Validate that if mp.jwt.verify.publickey.algorithm is not configured, then both RS256 and ES256 signatures must be
accepted.
Scaled down version of tck TokenUtils that has no JWT library dependencies so that it can be embedded in the tck wars
without needing a JWT library on the server side.
A JAX-RS application marked as requiring MP-JWT authentication
These set of tests validate the validation expectations for JWTs when mp.jwt.verify.token.age is set.
Tests for TokenUtils encryptClaims methods
Tests which verify TokenUtils methods excluding those which generate a token.
Tests for TokenUtils encryptSignedClaims methods
Tests which verify TokenUtils generateTokenString methods
A basic test of an unsecured JAX-RS endpoint to validate the test harness without including JWT authentication.
This has no @LoginConfig and should not be deployment with MP-JWT authentication.