Skip to content

Commit

Permalink
fix: Add missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
mfd2007 committed Oct 26, 2023
1 parent 08d20a7 commit 2a2a7fa
Showing 1 changed file with 58 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
package de.bsi.secvisogram.csaf_cms_backend.config;

import org.springframework.context.annotation.Configuration;

@Configuration
public class CsafAutoPublishConfiguration {

private boolean enabled = false;
private boolean enableInsecureTLS = false;
private String url = "";
private String password = "";
private String cron = "0 * * * * *";

public boolean isEnabled() {
return enabled;
}

public CsafAutoPublishConfiguration setEnabled(boolean enabled) {
this.enabled = enabled;
return this;
}

public String getUrl() {
return url;
}

public CsafAutoPublishConfiguration setUrl(String url) {
this.url = url;
return this;
}

public String getPassword() {
return password;
}

public CsafAutoPublishConfiguration setPassword(String password) {
this.password = password;
return this;
}

public String getCron() {
return cron;
}

public CsafAutoPublishConfiguration setCron(String cron) {
this.cron = cron;
return this;
}

public boolean isEnableInsecureTLS() {
return enableInsecureTLS;
}

public CsafAutoPublishConfiguration setEnableInsecureTLS(boolean enableInsecureTLS) {
this.enableInsecureTLS = enableInsecureTLS;
return this;
}
}

0 comments on commit 2a2a7fa

Please sign in to comment.