All Classes
-
Class Summary Class Description AltApplication A JAX-RS application marked as requiring MP-JWT authentication with /alt root pathApplicationScopedEndpoint ApplicationScopedInjectionTest Tests of injection of JsonWebToken claims using ClaimValue interface wrappers.AudArrayValidationTest Validate the handling of the JWT aud claim.AudienceValidationEndpoint The common endpoint used by the various config testsAudValidationBadAudTest Validate the handling of the JWT aud claim.AudValidationMissingAudTest Validate the handling of the JWT aud claim.AudValidationTest Validate the handling of the JWT aud claim.ClaimValueInjectionEndpoint ClaimValueInjectionTest Tests of injection of JsonWebToken claims using ClaimValue interface wrappers.CookieTokenTest DecryptKeyAlgorithmDefaultTest If "mp.jwt.decryption.algorithm" is not set then both RSA-OAEP and RSA-OAEP-256 must be accepted.ECPublicKeyAsJWKLocationTest Validate that config property values of type resource path to JWK works to validate the JWT which is signed with privateKey4k.pemECPublicKeyAsPEMLocationTest 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.pemECPublicKeyAsPEMTest 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.pemEmptyTokenEndpoint EmptyTokenTest InvalidTokenTest These set of tests validate the validation expectations for JWTsIssValidationFailTest Validate the handling of the JWT iss claim.IssValidationTest Validate the handling of the JWT iss claim.JsonValueInjectionTest Tests of injection of JsonWebToken claims using JsonValue subtypes.JsonValuejectionEndpoint JwksApplication A JAX-RS application marked as requiring MP-JWT authentication with /jwks root pathPEMApplication A JAX-RS application marked as requiring MP-JWT authentication with /pem root pathPrimitiveInjectionEndpoint PrimitiveInjectionTest Tests that claims can be injected as primitive types into @RequestScoped beansPrincipalInjectionEndpoint Validate that the injection of a Principal works when using the MP-JWT feature.PrincipalInjectionTest Tests that the Principal can be used as an injection type for the authenticated userPrivateKeyAsJWKClasspathTest Validate that config property values of type resource path to JWK works to decrypt the JWT which is encrypted with publicKey4k.jwkPrivateKeyAsJWKSClasspathTest Validate that config property values of type resource path to JWKS works to decrypt the JWT which is encrypted with publicKey4k.jwkPrivateKeyAsPEMClasspathTest 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.pemPrivateKeyEndpoint The common endpoint used by the various private key config testsProviderInjectionEndpoint ProviderInjectionTest Tests of injection JsonWebToken claims using the Instance interface.PublicKeyAsBase64JWKTest 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.pemPublicKeyAsFileLocationURLTest Validate that config property values of type file URL to PEM works to validate the JWT which is signed with privateKey4k.pemPublicKeyAsJWKLocationTest Validate that config property values of type resource path to JWK works to validate the JWT which is signed with privateKey4k.pemPublicKeyAsJWKLocationURLTest Validate that config property values of type resource path to JWKS work to validate the JWT which is signed with privateKey4k.pemPublicKeyAsJWKSLocationTest Validate that config property values of type resource path to JWKS works to validate the JWT which is signed with privateKey4k.pemPublicKeyAsJWKSTest 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.pemPublicKeyAsJWKTest 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.pemPublicKeyAsPEMEndpoint PublicKeyAsPEMLocationTest 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.pemPublicKeyAsPEMLocationURLTest 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.pemPublicKeyAsPEMTest 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.pemPublicKeyEndpoint The common endpoint used by the various config testsRequiredClaimsEndpoint RequiredClaimsTest 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 errorRolesAllowedSignEncryptRsaOaep256Test 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.RolesAllowedSignEncryptRsaOaepTest 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.RolesAllowedSignEncryptTest 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`.RolesAllowedTest Tests of the MP-JWT auth method authorization behavior as expected by the MP-JWT RBAC 1.0 specRolesEndpoint RsaKeySignatureTest SimpleTokenUtils 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.TCKApplication A JAX-RS application marked as requiring MP-JWT authenticationTCKConstants TokenAgeTest These set of tests validate the validation expectations for JWTs when mp.jwt.verify.token.age is set.TokenAsCookieIgnoredTest TokenAsCookieTest TokenUtilsEncryptTest Tests for TokenUtils encryptClaims methodsTokenUtilsExtraTest Tests which verify TokenUtils methods excluding those which generate a token.TokenUtilsSignEncryptTest Tests for TokenUtils encryptSignedClaims methodsTokenUtilsTest Tests which verify TokenUtils generateTokenString methodsUnsecuredPingEndpoint UnsecuredPingTest A basic test of an unsecured JAX-RS endpoint to validate the test harness without including JWT authentication.UnsecureTCKApplication This has no @LoginConfig and should not be deployment with MP-JWT authentication.