Class LoggingResource
- java.lang.Object
-
- io.jans.configapi.core.rest.BaseResource
-
- io.jans.configapi.rest.resource.auth.ConfigBaseResource
-
- io.jans.configapi.rest.resource.auth.LoggingResource
-
@Path("/logging") @Produces("application/json") @Consumes("application/json") public class LoggingResource extends ConfigBaseResource
-
-
Constructor Summary
Constructors Constructor Description LoggingResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.ResponsegetLogging()Retrieve the current Jans Authorization Server logging configuration.jakarta.ws.rs.core.ResponseupdateLogConf(@Valid io.jans.configapi.rest.model.Logging logging)Update Jans Authorization Server logging settings from the provided model and persist the changes.-
Methods inherited from class io.jans.configapi.rest.resource.auth.ConfigBaseResource
getMaxCount
-
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
-
-
-
-
Method Detail
-
getLogging
@GET public jakarta.ws.rs.core.Response getLogging()
Retrieve the current Jans Authorization Server logging configuration.- Returns:
- an HTTP response whose entity is the current Logging configuration serialized as JSON
-
updateLogConf
@PUT public jakarta.ws.rs.core.Response updateLogConf(@Valid @Valid io.jans.configapi.rest.model.Logging logging)Update Jans Authorization Server logging settings from the provided model and persist the changes. The request's values are applied to the server's live logging configuration; after persisting, the current effective logging configuration is returned.- Parameters:
logging- the logging settings to apply (fields left blank will not overwrite existing values)- Returns:
- the current Logging configuration after the update
-
-