Uses of Class
io.jans.ca.plugin.adminui.model.auth.GenericResponse
Packages that use GenericResponse
Package
Description
-
Uses of GenericResponse in io.jans.ca.plugin.adminui.service.adminui
Methods in io.jans.ca.plugin.adminui.service.adminui that return GenericResponseModifier and TypeMethodDescriptionAdminUISecurityService.getPolicyStore()Retrieves the current policy store from the configured local file system path.AdminUISecurityService.syncRoleScopeMapping()Synchronizes Admin UI role-to-scope mappings using the currently configured Cedar policy store.AdminUISecurityService.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 GenericResponseModifier and TypeMethodDescriptionLicenseDetailsService.activateLicense(LicenseRequest licenseRequest) Activate a license with the configured License API and persist updated license details.LicenseDetailsService.checkLicense()Verify that the stored license configuration is present, current, and not expired.LicenseDetailsService.deleteLicenseConfiguration()Deletes the license-related configuration in both the persistent and in-memory Admin UI configuration.LicenseDetailsService.generateTrialLicense()Generates a trial license via the configured License API and saves the returned license key to persistence and the in-memory AUI configuration.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 configurationLicenseDetailsService.retrieveLicense()Retrieve license details from the configured License API.LicenseDetailsService.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 GenericResponseMethods in io.jans.ca.plugin.adminui.service.webhook that return types with arguments of type GenericResponseModifier and TypeMethodDescriptionWebhookService.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 GenericResponseModifier and TypeMethodDescriptionstatic 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.