private static ResponseEntity<String> buildResponseEntity(final String result,
                                                              final OAuthRegisteredService registeredService) {
        val context = CollectionUtils.<String, Object>wrap(
            HttpHeaders.CONTENT_TYPE, OAuth20Constants.INTROSPECTION_JWT_HEADER_CONTENT_TYPE,
            "Client ID", registeredService.getClientId(),
            "Service", registeredService.getName());
        LoggingUtils.protocolMessage("OpenID Connect Introspection Response", context, result);
        val headers = new HttpHeaders();
        headers.put(HttpHeaders.CONTENT_TYPE, CollectionUtils.wrapList(OAuth20Constants.INTROSPECTION_JWT_HEADER_CONTENT_TYPE));
        return ResponseEntity.ok().headers(headers).body(result);
    }
/" + OidcConstants.INTROSPECTION_URL
        })
    @Operation(summary = "Handle OIDC introspection request")
    @Override
    public ResponseEntity handleRequest(final HttpServletRequest request, final HttpServletResponse response) throws Throwable {
        val webContext = new JEEContext(request, response);
        if (!getConfigurationContext().getIssuerService().validateIssuer(webContext, List.of(OidcConstants.INTROSPECTION_URL))) {
            val body = OAuth20Utils.getErrorResponseBody(OAuth20Constants.INVALID_REQUEST, "Invalid issuer");
            return new ResponseEntity(body, HttpStatus.BAD_REQUEST);
        }
        return super.handleRequest(request, response);
    }

    @PostMapping(consumes = {
        OAuth20Constants.INTROSPECTION_JWT_HEADER_CONTENT_TYPE,
        MediaType.APPLICATION_JSON_VALUE,
        MediaType.APPLICATION_FORM_URLENCODED_VALUE
    }, produces = {
        MediaType.APPLICATION_JSON_VALUE,
        OAuth20Constants.INTROSPECTION_JWT_HEADER_CONTENT_TYPE
    },
        value = {
            '/' + OidcConstants.BASE_OIDC_URL + '/' + OidcConstants.INTROSPECTION_URL,
            "/*
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/web/controllers/introspection/OidcIntrospectionEndpointController.java