Uses of Class
io.jans.ca.plugin.adminui.model.auth.GenericResponse
-
Packages that use GenericResponse Package Description io.jans.ca.plugin.adminui.service.license io.jans.ca.plugin.adminui.service.webhook io.jans.ca.plugin.adminui.utils -
-
Uses of GenericResponse in io.jans.ca.plugin.adminui.service.license
Methods in io.jans.ca.plugin.adminui.service.license that return GenericResponse Modifier and Type Method Description GenericResponse
LicenseDetailsService. activateLicense(LicenseRequest licenseRequest)
The function checks if the license is already active, if not, it creates a header map, creates a body map, and sends a POST request to the license serverGenericResponse
LicenseDetailsService. checkLicense()
GenericResponse
LicenseDetailsService. generateTrialLicense()
This function generates a trial license by sending a request to a specified URL and saving the license key in the configuration.GenericResponse
LicenseDetailsService. postSSA(SSARequest ssaRequest)
The function takes an SSA string as input, calls the DCR API to get the scan hostname and OIDC client settings, and saves the SSA string and the scan hostname and OIDC client settings in the Admin UI configurationGenericResponse
LicenseDetailsService. retrieveLicense()
The function `retrieveLicense()` retrieves a license using the provided configuration and returns a generic response.GenericResponse
LicenseDetailsService. validateLicenseConfiguration()
The function checks the license key and the api key and returns a response object -
Uses of GenericResponse in io.jans.ca.plugin.adminui.service.webhook
Methods in io.jans.ca.plugin.adminui.service.webhook that return GenericResponse Modifier and Type Method Description GenericResponse
WebhookCallable. call()
Methods in io.jans.ca.plugin.adminui.service.webhook that return types with arguments of type GenericResponse Modifier and Type Method Description List<GenericResponse>
WebhookService. triggerEnabledWebhooks(Set<String> webhookIds, List<ShortCodeRequest> shortCodes)
The function triggers enabled webhooks by creating a thread pool, validating each webhook entry, and executing them concurrently. -
Uses of GenericResponse in io.jans.ca.plugin.adminui.utils
Methods in io.jans.ca.plugin.adminui.utils that return GenericResponse Modifier and Type Method Description static GenericResponse
CommonUtils. createGenericResponse(boolean result, int responseCode, String responseMessage)
static GenericResponse
CommonUtils. createGenericResponse(boolean result, int responseCode, String responseMessage, com.fasterxml.jackson.databind.JsonNode node)
-