diff --git a/.gitignore b/.gitignore index aa09d23..89c4398 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ ### Java template # Compiled class file *.class -src/main/java/Credentials/*.java + src/main/java/Data/*.json node_modules diff --git a/src/main/java/Credentials/UserCredentials.java b/src/main/java/Credentials/UserCredentials.java new file mode 100644 index 0000000..0a9f441 --- /dev/null +++ b/src/main/java/Credentials/UserCredentials.java @@ -0,0 +1,51 @@ +package Credentials; + +public class UserCredentials { + + private final String username = "kevin.shehu@hochschule-rhein-waal.de"; + private final String password = "DK7SxFkGJgnLhnU3"; + private final String baseURL = "https://api.whysor.com/"; + private final String devUrl = "https://api.dev.whysor.com/"; + private static final String homeRoot = + "D:\\WORK\\GGD\\src\\main\\java\\Data\\"; + + public static String getHomeRoot() { + return homeRoot; + } + + public String getUsername() { + return username; + } + + public String getPassword() { + return password; + } + + public String getBaseURL() { + return baseURL; + } + + public String getDevUrl() { + return devUrl; + } + + @Override + public String toString() { + return ( + "UserCredentials{" + + "username='" + + username + + '\'' + + ", password='" + + password + + '\'' + + ", baseURL='" + + baseURL + + '\'' + + ", devUrl='" + + devUrl + + '\'' + + '}' + ); + } +}