All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.edu.icm.unity.oauth.BaseRemoteASProperties Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2016 ICM Uniwersytet Warszawski All rights reserved.
 * See LICENCE.txt file for licensing information.
 */
package pl.edu.icm.unity.oauth;

import com.nimbusds.oauth2.sdk.http.HTTPRequest.Method;

import eu.emi.security.authn.x509.X509CertChainValidator;
import eu.unicore.util.configuration.PropertiesHelperAPI;
import pl.edu.icm.unity.oauth.client.config.CustomProviderProperties.ClientAuthnMode;

/**
 * Common configuration settings which are shared by both the configuration of a remote OAuth AS
 * when unity authenticates as OAuth RP and particular trusted providers when unity authenticates 
 * as OAuth client.
 *  
 * @author K. Benedyczak
 */
public interface BaseRemoteASProperties extends PropertiesHelperAPI
{
	public static final String PROFILE_ENDPOINT = "profileEndpoint";
	public static final String CLIENT_ID = "clientId";
	public static final String CLIENT_SECRET = "clientSecret";
	public static final String CLIENT_AUTHN_MODE = "clientAuthenticationMode";
	public static final String CLIENT_AUTHN_MODE_FOR_PROFILE_ACCESS = "clientAuthenticationModeForProfileAccess";
	public static final String CLIENT_HTTP_METHOD_FOR_PROFILE_ACCESS = "httpMethodForProfileAccess";
	public static final String CLIENT_TRUSTSTORE = "httpClientTruststore";
	public static final String CLIENT_HOSTNAME_CHECKING = "httpClientHostnameChecking";
	
	X509CertChainValidator getValidator();
	ClientAuthnMode getClientAuthModeForProfileAccess();
	Method getClientHttpMethodForProfileAccess();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy