org.onap migration
[vid.git] / epsdk-app-onap / src / main / java / org / onap / portalapp / service / AdminAuthExtension.java
1 /*-
2  * ================================================================================
3  * ECOMP Portal SDK
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ================================================================================
19  */
20 package org.onap.portalapp.service;
21
22 import java.util.Set;
23
24 import org.openecomp.portalapp.service.IAdminAuthExtension;
25 import org.openecomp.portalsdk.core.domain.Role;
26 import org.openecomp.portalsdk.core.domain.User;
27 import org.openecomp.portalsdk.core.logging.logic.EELFLoggerDelegate;
28 import org.springframework.stereotype.Service;
29 import org.springframework.transaction.annotation.Transactional;
30
31
32 @Service("adminAuthExtension")
33 @Transactional
34 /**
35  * Provides empty implementations of the methods in IAdminAuthExtension.
36  */
37 public class AdminAuthExtension implements IAdminAuthExtension {
38
39         EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(AdminAuthExtension.class);
40
41         /*
42          * (non-Javadoc)
43          * @see org.openecomp.portalapp.service.IAdminAuthExtension#saveUserExtension(org.openecomp.portalsdk.core.domain.User)
44          */
45         public void saveUserExtension(User user) {
46                 logger.debug("saveUserExtension");
47         }
48
49         /*
50          * (non-Javadoc)
51          * @see org.openecomp.portalapp.service.IAdminAuthExtension#editUserExtension(org.openecomp.portalsdk.core.domain.User)
52          */
53         public void editUserExtension(User user) {
54                 logger.debug("editUserExtension");
55         }
56
57         /*
58          * (non-Javadoc)
59          * @see org.openecomp.portalapp.service.IAdminAuthExtension#saveUserRoleExtension(java.util.Set, org.openecomp.portalsdk.core.domain.User)
60          */
61         public void saveUserRoleExtension(Set<Role> roles, User user) {
62                 logger.debug("saveUserRoleExtension");
63         }
64
65 }