Class AuthConfigResource


  • @Path("/jans-auth-server/config")
    @Produces("application/json")
    @Consumes("application/json")
    public class AuthConfigResource
    extends ConfigBaseResource
    • Field Summary

      • Fields inherited from class io.jans.configapi.core.rest.BaseResource

        FIELD_VALUE_SEPARATOR, MISSING_ATTRIBUTE_CODE, MISSING_ATTRIBUTE_MESSAGE, TOKEN_DELIMITER
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.core.Response getAppConfiguration()  
      jakarta.ws.rs.core.Response getFeatureFlagType()  
      jakarta.ws.rs.core.Response getPersistenceDetails()  
      jakarta.ws.rs.core.Response patchAppConfigurationProperty​(@NotNull String jsonPatchString)  
      • 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
    • Constructor Detail

      • AuthConfigResource

        public AuthConfigResource()
    • Method Detail

      • getAppConfiguration

        @GET
        public jakarta.ws.rs.core.Response getAppConfiguration()
      • patchAppConfigurationProperty

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

        @GET
        @Path("/persistence")
        public jakarta.ws.rs.core.Response getPersistenceDetails()
      • getFeatureFlagType

        @GET
        @Path("/feature-flags")
        public jakarta.ws.rs.core.Response getFeatureFlagType()