2 * ================================================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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 * ================================================================================
20 package org.openecomp.portalapp.portal.domain;
22 import java.util.List;
24 import org.openecomp.portalsdk.core.domain.support.DomainVo;
26 public class BasicAuthCredentials extends DomainVo {
28 private static final long serialVersionUID = 1L;
30 public BasicAuthCredentials() {
35 private String applicationName;
36 private String username;
37 private String password;
38 private String isActive;
39 private List<EPEndpoint> endpoints;
45 public void setId(Long id) {
49 public String getApplicationName() {
50 return applicationName;
53 public void setApplicationName(String applicationName) {
54 this.applicationName = applicationName;
57 public String getUsername() {
61 public void setUsername(String username) {
62 this.username = username;
65 public String getPassword() {
69 public void setPassword(String password) {
70 this.password = password;
73 public String getIsActive() {
77 public void setIsActive(String isActive) {
78 this.isActive = isActive;
81 public List<EPEndpoint> getEndpoints() {
85 public void setEndpoints(List<EPEndpoint> endpoints) {
86 this.endpoints = endpoints;
90 public String toString() {
91 return "BasicAuthCredentials [id=" + id + ", applicationName=" + applicationName + ", username=" + username
92 + ", password=" + password + ", isActive=" + isActive + "]";