Class UserResource


  • @Path("/configuser")
    @Produces("application/json")
    @Consumes("application/json")
    @ApplicationScoped
    public class UserResource
    extends io.jans.configapi.core.rest.BaseResource
    • 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
      UserResource()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.core.Response createUser​(@Valid CustomUser customUser, boolean removeNonLDAPAttributes)  
      jakarta.ws.rs.core.Response deleteUser​(@NotNull String inum)  
      jakarta.ws.rs.core.Response getUserByInum​(@NotNull String inum)  
      jakarta.ws.rs.core.Response getUsers​(int limit, String pattern, int startIndex, String sortBy, String sortOrder, String fieldValuePair)  
      jakarta.ws.rs.core.Response patchUser​(@NotNull String inum, @NotNull UserPatchRequest userPatchRequest, boolean removeNonLDAPAttributes)  
      CustomUser setCustomUserAttributes​(CustomUser customUser, io.jans.as.common.model.common.User user)  
      CustomUser setParentAttributes​(CustomUser customUser, io.jans.as.common.model.common.User user, boolean removeNonLDAPAttributes)  
      jakarta.ws.rs.core.Response updateUser​(@Valid CustomUser customUser, boolean removeNonLDAPAttributes)  
      • Methods inherited from class io.jans.configapi.core.rest.BaseResource

        checkNotEmpty, checkNotEmpty, checkNotNull, checkNotNull, checkNotNull, checkResourceNotNull, createSearchRequest, findRootError, getBadRequestException, getBadRequestException, getHttpHeaders, getHttpRequest, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError