io.gravitee.am.model.application.ApplicationSettings Maven / Gradle / Ivy
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 io.gravitee.am.model.application;
import io.gravitee.am.model.account.AccountSettings;
/**
* @author Titouan COMPIEGNE (titouan.compiegne at graviteesource.com)
* @author GraviteeSource Team
*/
public class ApplicationSettings {
/**
* OAuth 2.0/OIDC Client settings
*/
private ApplicationOAuthSettings oauth;
/**
* User Account settings
*/
private AccountSettings account;
/**
* Advanced settings
*/
private ApplicationAdvancedSettings advanced;
public ApplicationSettings() {
}
public ApplicationSettings(ApplicationSettings other) {
this.oauth = other.oauth != null ? new ApplicationOAuthSettings(other.oauth) : null;
this.account = other.account != null ? new AccountSettings(other.account) : null;
this.advanced = other.advanced != null ? new ApplicationAdvancedSettings(other.advanced) : null;
}
public ApplicationOAuthSettings getOauth() {
return oauth;
}
public void setOauth(ApplicationOAuthSettings oauth) {
this.oauth = oauth;
}
public AccountSettings getAccount() {
return account;
}
public void setAccount(AccountSettings account) {
this.account = account;
}
public ApplicationAdvancedSettings getAdvanced() {
return advanced;
}
public void setAdvanced(ApplicationAdvancedSettings advanced) {
this.advanced = advanced;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy