Class JwksResource

java.lang.Object
io.jans.configapi.core.rest.BaseResource
io.jans.configapi.rest.resource.auth.ConfigBaseResource
io.jans.configapi.rest.resource.auth.JwksResource

@Path("/config/jwks") @Produces("application/json") @Consumes("application/json") public class JwksResource extends ConfigBaseResource
Author:
Yuriy Zabrovarnyy
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.ws.rs.core.Response
    deleteKey(@NotNull String kid)
     
    jakarta.ws.rs.core.Response
    get()
     
    jakarta.ws.rs.core.Response
    getKeyById(@NotNull io.jans.as.model.jwk.JSONWebKey jwk)
     
    jakarta.ws.rs.core.Response
    getKeyById(@NotNull String kid)
     
    jakarta.ws.rs.core.Response
    patch(@NotNull String kid, @NotNull String requestString)
     
    jakarta.ws.rs.core.Response
    patch(String requestString)
     
    jakarta.ws.rs.core.Response
    put(io.jans.as.model.config.WebKeysConfiguration webkeys)
     

    Methods inherited from class io.jans.configapi.rest.resource.auth.ConfigBaseResource

    getMaxCount

    Methods inherited from class io.jans.configapi.core.rest.BaseResource

    checkNotEmpty, checkNotEmpty, checkNotNull, checkNotNull, checkNotNull, checkResourceNotNull, createSearchRequest, findRootError, getBadRequestException, getBadRequestException, getBadRequestException, getHttpHeaders, getHttpRequest, getInternalServerException, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError, throwNotFoundException, throwNotFoundException

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JwksResource

      public JwksResource()
  • Method Details

    • get

      @GET public jakarta.ws.rs.core.Response get()
    • put

      @PUT public jakarta.ws.rs.core.Response put(io.jans.as.model.config.WebKeysConfiguration webkeys)
    • patch

      @PATCH @Consumes("application/json-patch+json") public jakarta.ws.rs.core.Response patch(String requestString) throws com.github.fge.jsonpatch.JsonPatchException, IOException
      Throws:
      com.github.fge.jsonpatch.JsonPatchException
      IOException
    • getKeyById

      @POST @Path("/key") public jakarta.ws.rs.core.Response getKeyById(@NotNull @NotNull io.jans.as.model.jwk.JSONWebKey jwk)
    • getKeyById

      @GET @Path("/{kid}") public jakarta.ws.rs.core.Response getKeyById(@PathParam("kid") @NotNull @NotNull String kid)
    • patch

      @PATCH @Consumes("application/json-patch+json") @Path("/{kid}") public jakarta.ws.rs.core.Response patch(@PathParam("kid") @NotNull @NotNull String kid, @NotNull @NotNull String requestString) throws com.github.fge.jsonpatch.JsonPatchException, IOException
      Throws:
      com.github.fge.jsonpatch.JsonPatchException
      IOException
    • deleteKey

      @DELETE @Path("/{kid}") public jakarta.ws.rs.core.Response deleteKey(@PathParam("kid") @NotNull @NotNull String kid)