9b03f638a6143ad9cef351f009fafadaa169a3a1
[sdc.git] /
1 package org.openecomp.server.configuration;
2
3 import java.util.List;
4
5 public class CookieConfig {
6
7     String securityKey = "";
8     long maxSessionTimeOut = 600*1000;
9     long sessionIdleTimeOut = 30*1000;
10     String cookieName = "AuthenticationCookie";
11     String redirectURL = "portal_url";
12     List<String> excludedUrls;
13     List<String> onboardingExcludedUrls;
14     String domain = "";
15     String path = "";
16     boolean isHttpOnly = true;
17
18     public String getSecurityKey() {
19         return securityKey;
20     }
21
22     public void setSecurityKey(String securityKey) {
23         this.securityKey = securityKey;
24     }
25
26     public long getMaxSessionTimeOut() {
27         return maxSessionTimeOut;
28     }
29
30     public void setMaxSessionTimeOut(long maxSessionTimeOut) {
31         this.maxSessionTimeOut = maxSessionTimeOut;
32     }
33
34     public long getSessionIdleTimeOut() {
35         return sessionIdleTimeOut;
36     }
37
38     public void setSessionIdleTimeOut(long sessionIdleTimeOut) {
39         this.sessionIdleTimeOut = sessionIdleTimeOut;
40     }
41
42     public String getCookieName() {
43         return cookieName;
44     }
45
46     public void setCookieName(String cookieName) {
47         this.cookieName = cookieName;
48     }
49
50     public String getRedirectURL() {
51         return redirectURL;
52     }
53
54     public void setRedirectURL(String redirectURL) {
55         this.redirectURL = redirectURL;
56     }
57
58     public List<String> getExcludedUrls() {
59         return excludedUrls;
60     }
61
62     public void setExcludedUrls(List<String> excludedUrls) {
63         this.excludedUrls = excludedUrls;
64     }
65
66     public String getDomain() {
67         return domain;
68     }
69
70     public void setDomain(String domain) {
71         this.domain = domain;
72     }
73
74     public String getPath() {
75         return path;
76     }
77
78     public void setPath(String path) {
79         this.path = path;
80     }
81
82     public boolean isHttpOnly() {
83         return isHttpOnly;
84     }
85
86     public void setIsHttpOnly(boolean isHttpOnly) {
87         this.isHttpOnly = isHttpOnly;
88     }
89
90     public List<String> getOnboardingExcludedUrls() {
91         return onboardingExcludedUrls;
92     }
93
94     public void setOnboardingExcludedUrls(List<String> onboardingExcludedUrls) {
95         this.onboardingExcludedUrls = onboardingExcludedUrls;
96     }
97 }