Class ConfigSmtpResource

java.lang.Object
io.jans.configapi.core.rest.BaseResource
io.jans.configapi.rest.resource.auth.ConfigBaseResource
io.jans.configapi.rest.resource.auth.ConfigSmtpResource

@Path("/config/smtp") @Produces("application/json") @Consumes("application/json") public class ConfigSmtpResource extends ConfigBaseResource
Author:
Mougang T.Gasmyr
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.ws.rs.core.Response
     
    jakarta.ws.rs.core.Response
     
    jakarta.ws.rs.core.Response
    setupSmtpConfiguration(@Valid io.jans.model.SmtpConfiguration smtpConfiguration)
     
    jakarta.ws.rs.core.Response
    testSmtpConfiguration(@Valid io.jans.model.SmtpTest smtpTest)
     
    jakarta.ws.rs.core.Response
    updateSmtpConfiguration(@Valid io.jans.model.SmtpConfiguration smtpConfiguration)
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ConfigSmtpResource

      public ConfigSmtpResource()
  • Method Details

    • getSmtpServerConfiguration

      @GET public jakarta.ws.rs.core.Response getSmtpServerConfiguration() throws io.jans.util.security.StringEncrypter.EncryptionException
      Throws:
      io.jans.util.security.StringEncrypter.EncryptionException
    • setupSmtpConfiguration

      @POST public jakarta.ws.rs.core.Response setupSmtpConfiguration(@Valid @Valid io.jans.model.SmtpConfiguration smtpConfiguration) throws io.jans.util.security.StringEncrypter.EncryptionException
      Throws:
      io.jans.util.security.StringEncrypter.EncryptionException
    • updateSmtpConfiguration

      @PUT public jakarta.ws.rs.core.Response updateSmtpConfiguration(@Valid @Valid io.jans.model.SmtpConfiguration smtpConfiguration) throws io.jans.util.security.StringEncrypter.EncryptionException
      Throws:
      io.jans.util.security.StringEncrypter.EncryptionException
    • testSmtpConfiguration

      @POST @Path("/test") public jakarta.ws.rs.core.Response testSmtpConfiguration(@Valid @Valid io.jans.model.SmtpTest smtpTest) throws io.jans.util.security.StringEncrypter.EncryptionException
      Throws:
      io.jans.util.security.StringEncrypter.EncryptionException
    • removeSmtpConfiguration

      @DELETE public jakarta.ws.rs.core.Response removeSmtpConfiguration()