/** * Copyright 2013-2015 Seagate Technology LLC. * * This Source Code Form is subject to the terms of the Mozilla * Public License, v. 2.0. If a copy of the MPL was not * distributed with this file, You can obtain one at * https://mozilla.org/MP:/2.0/. * * This program is distributed in the hope that it will be useful, * but is provided AS-IS, WITHOUT ANY WARRANTY; including without * the implied warranty of MERCHANTABILITY, NON-INFRINGEMENT or * FITNESS FOR A PARTICULAR PURPOSE. See the Mozilla Public * License for more details. * * See www.openkinetic.org for more project information */ package kinetic.admin; import java.util.List; public class ACL { // user id private long userId = 1; // key of user private String key = "asdfasdf"; // algorithm private String algorithm = "HmacSHA1"; // domain list private List<Domain> domains; public long getUserId() { return userId; } public void setUserId(long userId) { this.userId = userId; } public String getKey() { return key; } public void setKey(String key) { this.key = key; } public String getAlgorithm() { return algorithm; } public void setAlgorithm(String algorithm) { this.algorithm = algorithm; } public List<Domain> getDomains() { return domains; } public void setDomains(List<Domain> domains) { this.domains = domains; } }