io.gravitee.resource.oauth2.am.configuration.OAuth2ResourceConfiguration Maven / Gradle / Ivy
The newest version!
/*
* Copyright © 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.resource.oauth2.am.configuration;
import io.gravitee.resource.api.ResourceConfiguration;
/**
* @author David BRASSELY (david.brassely at graviteesource.com)
* @author GraviteeSource Team
*/
public class OAuth2ResourceConfiguration implements ResourceConfiguration {
private String serverURL;
private String securityDomain;
private String clientId;
private String clientSecret;
private Version version = Version.V1_X;
private String userClaim;
private boolean useSystemProxy;
public String getServerURL() {
return serverURL;
}
public void setServerURL(String serverURL) {
this.serverURL = serverURL;
}
public String getSecurityDomain() {
return securityDomain;
}
public void setSecurityDomain(String securityDomain) {
this.securityDomain = securityDomain;
}
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 Version getVersion() {
return version;
}
public void setVersion(Version version) {
this.version = version;
}
public String getUserClaim() {
return userClaim;
}
public void setUserClaim(String userClaim) {
this.userClaim = userClaim;
}
public boolean isUseSystemProxy() {
return useSystemProxy;
}
public void setUseSystemProxy(boolean useSystemProxy) {
this.useSystemProxy = useSystemProxy;
}
public enum Version {
V1_X,
V2_X,
V3_X,
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy