2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright © 2018 European Software Marketing Ltd.
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 * ============LICENSE_END=========================================================
20 package org.onap.aaf.fproxy.data;
22 public class CredentialCacheData {
24 public enum CredentialType {
28 private String credentialName;
29 private String credentialValue;
30 private CredentialType credentialType;
32 public CredentialCacheData() {
36 public CredentialCacheData(String credentialName, String credentialValue, CredentialType credentialType) {
38 this.credentialName = credentialName;
39 this.credentialValue = credentialValue;
40 this.credentialType = credentialType;
43 public String getCredentialName() {
44 return credentialName;
47 public void setCredentialName(String credentialName) {
48 this.credentialName = credentialName;
51 public String getCredentialValue() {
52 return credentialValue;
55 public void setCredentialValue(String credentialValue) {
56 this.credentialValue = credentialValue;
59 public Enum<CredentialType> getCredentialType() {
60 return credentialType;
63 public void setCredentialType(CredentialType credentialType) {
64 this.credentialType = credentialType;
68 public String toString() {
69 return "CredentialCacheData [credentialName=" + credentialName + ", credentialType=" + credentialType + "]";