Class ProviderInjectionEndpoint
- java.lang.Object
-
- org.eclipse.microprofile.jwt.tck.container.jaxrs.ProviderInjectionEndpoint
-
@Path("/endp") @RolesAllowed({"Echoer","Tester"}) @RequestScoped public class ProviderInjectionEndpoint extends Object
-
-
Constructor Summary
Constructors Constructor Description ProviderInjectionEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.json.JsonObject
verifyInjectedAudience(String audience)
jakarta.json.JsonObject
verifyInjectedCustomDouble(Double value)
jakarta.json.JsonObject
verifyInjectedCustomInteger(Long value)
jakarta.json.JsonObject
verifyInjectedCustomString(String value)
jakarta.json.JsonObject
verifyInjectedIssuedAt(Long iat)
jakarta.json.JsonObject
verifyInjectedIssuer(String iss)
jakarta.json.JsonObject
verifyInjectedJTI(String jwtID)
jakarta.json.JsonObject
verifyInjectedOptionalAuthTime(Long authTime)
jakarta.json.JsonObject
verifyInjectedOptionalCustomMissing()
Verify that values exist and that types match the corresponding Claims enumjakarta.json.JsonObject
verifyInjectedOptionalSubject(String subject)
jakarta.json.JsonObject
verifyInjectedRawToken(String rt)
-
-
-
Method Detail
-
verifyInjectedIssuer
@GET @Path("/verifyInjectedIssuer") @Produces("application/json") public jakarta.json.JsonObject verifyInjectedIssuer(@QueryParam("iss") String iss)
-
verifyInjectedRawToken
@GET @Path("/verifyInjectedRawToken") @Produces("application/json") public jakarta.json.JsonObject verifyInjectedRawToken(@QueryParam("raw_token") String rt)
-
verifyInjectedJTI
@GET @Path("/verifyInjectedJTI") @Produces("application/json") public jakarta.json.JsonObject verifyInjectedJTI(@QueryParam("jti") String jwtID)
-
verifyInjectedAudience
@GET @Path("/verifyInjectedAudience") @Produces("application/json") public jakarta.json.JsonObject verifyInjectedAudience(@QueryParam("aud") String audience)
-
verifyInjectedIssuedAt
@GET @Path("/verifyInjectedIssuedAt") @Produces("application/json") public jakarta.json.JsonObject verifyInjectedIssuedAt(@QueryParam("iat") Long iat)
-
verifyInjectedOptionalSubject
@GET @Path("/verifyInjectedOptionalSubject") @Produces("application/json") public jakarta.json.JsonObject verifyInjectedOptionalSubject(@QueryParam("sub") String subject)
-
verifyInjectedOptionalAuthTime
@GET @Path("/verifyInjectedOptionalAuthTime") @Produces("application/json") public jakarta.json.JsonObject verifyInjectedOptionalAuthTime(@QueryParam("auth_time") Long authTime)
-
verifyInjectedOptionalCustomMissing
@GET @Path("/verifyInjectedOptionalCustomMissing") @Produces("application/json") public jakarta.json.JsonObject verifyInjectedOptionalCustomMissing()
Verify that values exist and that types match the corresponding Claims enum- Returns:
- a series of pass/fail statements regarding the check for each injected claim
-
verifyInjectedCustomString
@GET @Path("/verifyInjectedCustomString") @Produces("application/json") public jakarta.json.JsonObject verifyInjectedCustomString(@QueryParam("value") String value)
-
verifyInjectedCustomInteger
@GET @Path("/verifyInjectedCustomInteger") @Produces("application/json") public jakarta.json.JsonObject verifyInjectedCustomInteger(@QueryParam("value") Long value)
-
verifyInjectedCustomDouble
@GET @Path("/verifyInjectedCustomDouble") @Produces("application/json") public jakarta.json.JsonObject verifyInjectedCustomDouble(@QueryParam("value") Double value)
-
-