Class SessionResource


  • @Path("/jans-auth-server/session")
    @Produces("application/json")
    @Consumes("application/json")
    public class SessionResource
    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
    • Constructor Summary

      Constructors 
      Constructor Description
      SessionResource()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.core.Response getAllSessions()  
      jakarta.ws.rs.core.Response getAppConfiguration​(@NotNull String userDn)  
      • 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

      • SessionResource

        public SessionResource()
    • Method Detail

      • getAllSessions

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

        @POST
        @Path("/{userDn}")
        public jakarta.ws.rs.core.Response getAppConfiguration​(@PathParam("userDn") @NotNull
                                                               @NotNull String userDn)