
package org.waterforpeople.mapping.app.web.rest.security.user;

import java.io.Serializable;

public class ApiUser implements Serializable {

    private static final long serialVersionUID = -8372182998303162190L;
    private String userName;
    private String accessKey;
    private String secret;
    private Long userId;

    public ApiUser(String userName, String accessKey, String secret, Long userId) {

        this.setUserName(userName);
        this.setAccessKey(accessKey);
        this.setSecret(secret);
        this.userId = userId;
    }

    public ApiUser() {
        this.setUserName("");
        this.setAccessKey("");
        this.setSecret("");
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }
}

@@ -1,8 +1,712 @@
+/*%0A *  Copyright (C) 2014 Stichting Akvo (Akvo Foundation)%0A *%0A *  This file is part of Akvo FLOW.%0A *%0A *  Akvo FLOW is free software: you can redistribute it and modify it under the terms of%0A *  the GNU Affero General Public License (AGPL) as published by the Free Software Foundation,%0A *  either version 3 of the License or any later version.%0A *%0A *  Akvo FLOW is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;%0A *  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.%0A *  See the GNU Affero General Public License included below for more details.%0A *%0A *  The full license text can also be seen at %3Chttp://www.gnu.org/licenses/agpl.html%3E.%0A */%0A
 %0Apackage

Add license text