Class ConfigSmtpResource


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

      • ConfigSmtpResource

        public ConfigSmtpResource()
    • Method Detail

      • getSmtpServerConfiguration

        @GET
        public jakarta.ws.rs.core.Response getSmtpServerConfiguration()
      • 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()
                                                          throws io.jans.util.security.StringEncrypter.EncryptionException
        Throws:
        io.jans.util.security.StringEncrypter.EncryptionException
      • removeSmtpConfiguration

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