Class LdapConfigurationResource


  • @Path("/config/database/ldap")
    @Produces("application/json")
    @Consumes("application/json")
    public class LdapConfigurationResource
    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 addLdapConfiguration​(@Valid @NotNull io.jans.model.ldap.GluuLdapConfiguration ldapConfiguration)  
      jakarta.ws.rs.core.Response deleteLdapConfigurationByName​(String name)  
      jakarta.ws.rs.core.Response getLdapConfiguration()  
      jakarta.ws.rs.core.Response getLdapConfigurationByName​(String name)  
      jakarta.ws.rs.core.Response patchLdapConfigurationByName​(String name, @NotNull String requestString)  
      jakarta.ws.rs.core.Response testLdapConfigurationByName​(@Valid @NotNull io.jans.model.ldap.GluuLdapConfiguration ldapConfiguration)  
      jakarta.ws.rs.core.Response updateLdapConfiguration​(@Valid @NotNull io.jans.model.ldap.GluuLdapConfiguration ldapConfiguration)  
      • 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

      • LdapConfigurationResource

        public LdapConfigurationResource()
    • Method Detail

      • getLdapConfiguration

        @GET
        public jakarta.ws.rs.core.Response getLdapConfiguration()
      • getLdapConfigurationByName

        @GET
        @Path("/{name}")
        public jakarta.ws.rs.core.Response getLdapConfigurationByName​(@PathParam("name")
                                                                      String name)
      • addLdapConfiguration

        @POST
        public jakarta.ws.rs.core.Response addLdapConfiguration​(@Valid @NotNull
                                                                @Valid @NotNull io.jans.model.ldap.GluuLdapConfiguration ldapConfiguration)
      • updateLdapConfiguration

        @PUT
        public jakarta.ws.rs.core.Response updateLdapConfiguration​(@Valid @NotNull
                                                                   @Valid @NotNull io.jans.model.ldap.GluuLdapConfiguration ldapConfiguration)
      • deleteLdapConfigurationByName

        @DELETE
        @Path("/{name}")
        public jakarta.ws.rs.core.Response deleteLdapConfigurationByName​(@PathParam("name")
                                                                         String name)
      • patchLdapConfigurationByName

        @PATCH
        @Path("/{name}")
        @Consumes("application/json-patch+json")
        public jakarta.ws.rs.core.Response patchLdapConfigurationByName​(@PathParam("name")
                                                                        String name,
                                                                        @NotNull
                                                                        @NotNull String requestString)
                                                                 throws com.github.fge.jsonpatch.JsonPatchException,
                                                                        IOException
        Throws:
        com.github.fge.jsonpatch.JsonPatchException
        IOException
      • testLdapConfigurationByName

        @POST
        @Path("/test")
        public jakarta.ws.rs.core.Response testLdapConfigurationByName​(@Valid @NotNull
                                                                       @Valid @NotNull io.jans.model.ldap.GluuLdapConfiguration ldapConfiguration)