Skip to content

Instantly share code, notes, and snippets.

@A-pZ
Created August 6, 2023 07:37
Show Gist options
  • Save A-pZ/c7017a6912018d9355aecbc2d3af59a4 to your computer and use it in GitHub Desktop.
Save A-pZ/c7017a6912018d9355aecbc2d3af59a4 to your computer and use it in GitHub Desktop.
package com.github.apz.salesforcesample.config;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@Component
@ConfigurationProperties(prefix = "salesforce")
@Getter @Setter
public class SalesforceProperties {
private String applicationName;
private String url;
private String grantType;
private String consumerKey;
private String consumerSecret;
private String mailAddress;
private String password;
private String securityToken;
private String applicationUrl;
private String applicationPath;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment