Uses of Class
io.jans.ca.plugin.adminui.model.auth.GenericResponse
-
-
Uses of GenericResponse in io.jans.ca.plugin.adminui.service.adminui
Methods in io.jans.ca.plugin.adminui.service.adminui that return GenericResponse Modifier and Type Method Description GenericResponseAdminUISecurityService. getPolicyStore()Retrieves the current policy store from the configured local file system path.GenericResponseAdminUISecurityService. syncRoleScopeMapping()Synchronizes Admin UI role-to-scope mappings using the currently configured Cedar policy store.GenericResponseAdminUISecurityService. uploadPolicyStore(AdminUIPolicyStore adminUIPolicyStore)Uploads and overwrites the existing policy store file on the server. -
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 GenericResponseLicenseDetailsService. activateLicense(LicenseRequest licenseRequest)Activate a license with the configured License API and persist updated license details.GenericResponseLicenseDetailsService. checkLicense()Verify that the stored license configuration is present, current, and not expired.GenericResponseLicenseDetailsService. deleteLicenseConfiguration()Deletes the license-related configuration in both the persistent and in-memory Admin UI configuration.GenericResponseLicenseDetailsService. generateTrialLicense()Generates a trial license via the configured License API and saves the returned license key to persistence and the in-memory AUI configuration.GenericResponseLicenseDetailsService. 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 configurationGenericResponseLicenseDetailsService. retrieveLicense()Retrieve license details from the configured License API.GenericResponseLicenseDetailsService. validateLicenseConfiguration()Validates the license configuration by checking for the presence of required parameters. -
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 GenericResponseWebhookCallable. 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 GenericResponseCommonUtils. createGenericResponse(boolean result, int responseCode, String responseMessage)static GenericResponseCommonUtils. createGenericResponse(boolean result, int responseCode, String responseMessage, com.fasterxml.jackson.databind.JsonNode node)Create a GenericResponse populated with the provided status, code, message, and JSON response object.static GenericResponseCommonUtils. createResponseWithByteArray(boolean result, int responseCode, String responseMessage, byte[] byteArray)Creates a GenericResponse populated with the provided success flag, response code, message, and byte array.
-