[PORTAL-7] Rebase
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / lm / FusionLicenseManagerImpl.java
1 /*-\r
2  * ================================================================================\r
3  * ECOMP Portal\r
4  * ================================================================================\r
5  * Copyright (C) 2017 AT&T Intellectual Property\r
6  * ================================================================================\r
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  * \r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  * \r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.\r
18  * ================================================================================\r
19  */\r
20 package org.openecomp.portalapp.lm;\r
21 \r
22 import java.util.Date;\r
23 import java.util.List;\r
24 import java.util.Map;\r
25 \r
26 import javax.servlet.ServletContext;\r
27 \r
28 import org.openecomp.portalsdk.core.lm.FusionLicenseManager;\r
29 import org.springframework.stereotype.Component;\r
30 \r
31 /*\r
32  *  Please note that this class is not being used; its a dummy stub to have a qualifying bean for the interface.\r
33  */\r
34 \r
35 @Component\r
36 public class FusionLicenseManagerImpl implements FusionLicenseManager {\r
37 \r
38         @Override\r
39         public void initKeyStoreParam() {\r
40                 \r
41         }\r
42         \r
43         @Override\r
44         public void initCipherParam() {\r
45                 \r
46         }\r
47 \r
48         @Override       \r
49         public void initLicenseParam() {\r
50                 \r
51         }\r
52 \r
53         @Override\r
54         public void doInitWork() {\r
55                 \r
56         }\r
57 \r
58         @Override\r
59         public int installLicense() {\r
60                 return 0;\r
61         }\r
62 \r
63         @Override\r
64         public synchronized int verifyLicense(ServletContext context) {\r
65                 return 0;\r
66         }\r
67 \r
68         @Override\r
69         public void generateLicense(Map<String, String> clientInfoMap, List<String> ipAddressList) throws Exception {\r
70                 \r
71         }\r
72         \r
73         @Override\r
74         public String nvl(String s) {\r
75                 return null;\r
76         }\r
77 \r
78         @Override\r
79         public Date getExpiredDate() {\r
80                 return null;\r
81         }\r
82 \r
83         @Override       \r
84         public void setExpiredDate(Date expiredDate) {\r
85                 \r
86         }\r
87 \r
88 }\r