it.smartcommunitylab.aac.keymanager.model.AACClient.java Source code

Java tutorial

Introduction

Here is the source code for it.smartcommunitylab.aac.keymanager.model.AACClient.java

Source

/**
 *    Copyright 2012-2013 Trento RISE
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

package it.smartcommunitylab.aac.keymanager.model;

import java.util.Set;

import com.google.common.collect.Sets;

public class AACClient {

    private String clientId;
    private String clientSecret;
    private String name;
    private String redirectUris;
    private Set<String> grantedTypes;
    private String scope;
    private String userName;

    public AACClient() {
        grantedTypes = Sets.newHashSet();
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRedirectUris() {
        return redirectUris;
    }

    public void setRedirectUris(String redirectUris) {
        this.redirectUris = redirectUris;
    }

    public Set<String> getGrantedTypes() {
        return grantedTypes;
    }

    public void setGrantedTypes(Set<String> grantedTypes) {
        this.grantedTypes = grantedTypes;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getUserName() {
        return userName;
    }

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