com.capitalone.dashboard.ApiSettings Maven / Gradle / Ivy
package com.capitalone.dashboard;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@Component
@ConfigurationProperties
public class ApiSettings {
/**
* TODO The property name 'key' is too vague. This key is used only for encryption. Would suggest to rename it to
* encryptionKey to be specific. For now (for backwards compatibility) keeping it as it was.
*/
private String key;
private boolean logRequest;
public String getKey() {
return key;
}
public void setKey(final String key) {
this.key = key;
}
public boolean isLogRequest() {
return logRequest;
}
public void setLogRequest(boolean logRequest) {
this.logRequest = logRequest;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy