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

com.liferay.saml.internal.constants.LegacySamlPropsKeys Maven / Gradle / Ivy

The newest version!
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */

package com.liferay.saml.internal.constants;

/**
 * @author Mika Koivisto
 */
public interface LegacySamlPropsKeys {

	public static final String SAML_ENABLED = "saml.enabled";

	public static final String SAML_ENTITY_ID = "saml.entity.id";

	public static final String SAML_IDP_ASSERTION_LIFETIME =
		"saml.idp.assertion.lifetime";

	public static final String SAML_IDP_AUTHN_REQUEST_SIGNATURE_REQUIRED =
		"saml.idp.authn.request.signature.required";

	public static final String SAML_IDP_METADATA_ATTRIBUTE_NAMES =
		"saml.idp.metadata.attribute.names";

	public static final String SAML_IDP_METADATA_ATTRIBUTE_RESOLVER =
		"saml.idp.metadata.attribute.resolver";

	public static final String SAML_IDP_METADATA_ATTRIBUTES_ENABLED =
		"saml.idp.metadata.attributes.enabled";

	public static final String SAML_IDP_METADATA_ATTRIBUTES_NAMESPACE_ENABLED =
		"saml.idp.metadata.attributes.namespace.enabled";

	public static final String SAML_IDP_METADATA_NAME_ID_ATTRIBUTE =
		"saml.idp.metadata.name.id.attribute";

	public static final String SAML_IDP_METADATA_NAME_ID_FORMAT =
		"saml.idp.metadata.name.id.format";

	public static final String SAML_IDP_METADATA_NAME_ID_RESOLVER =
		"saml.idp.metadata.name.id.resolver";

	public static final String SAML_IDP_METADATA_SALESFORCE_ATTRIBUTES_ENABLED =
		"saml.idp.metadata.salesforce.attributes.enabled";

	public static final String SAML_IDP_METADATA_SALESFORCE_LOGOUT_URL =
		"saml.idp.metadata.salesforce.logout.url";

	public static final String SAML_IDP_METADATA_SALESFORCE_SSO_START_PAGE =
		"saml.idp.metadata.salesforce.sso.start.page";

	public static final String SAML_IDP_METADATA_SESSION_KEEP_ALIVE_URL =
		"saml.idp.metadata.session.keep.alive.url";

	public static final String SAML_IDP_SESSION_MAXIMUM_AGE =
		"saml.idp.session.maximum.age";

	public static final String SAML_IDP_SESSION_TIMEOUT =
		"saml.idp.session.timeout";

	public static final String SAML_IDP_SSO_SESSION_CHECK_INTERVAL =
		"saml.idp.sso.session.check.interval";

	public static final String SAML_IDP_SSO_SESSION_MAX_AGE =
		"saml.idp.sso.session.max.age";

	public static final String[] SAML_KEYS_DEPRECATED = {
		SAML_IDP_METADATA_ATTRIBUTE_NAMES, SAML_IDP_METADATA_ATTRIBUTES_ENABLED,
		SAML_IDP_METADATA_ATTRIBUTES_NAMESPACE_ENABLED,
		SAML_IDP_METADATA_NAME_ID_ATTRIBUTE, SAML_IDP_METADATA_NAME_ID_FORMAT,
		SAML_IDP_SSO_SESSION_MAX_AGE,
		LegacySamlPropsKeys.SAML_METADATA_MAX_REFRESH_DELAY,
		LegacySamlPropsKeys.SAML_METADATA_MIN_REFRESH_DELAY,
		LegacySamlPropsKeys.SAML_METADATA_PATHS,
		LegacySamlPropsKeys.SAML_SP_NAME_ID_FORMAT,
		LegacySamlPropsKeys.SAML_SP_USER_ATTRIBUTE_MAPPINGS
	};

	public static final String[] SAML_KEYS_FILTERED = {
		SAML_IDP_ASSERTION_LIFETIME, SAML_IDP_METADATA_ATTRIBUTE_NAMES,
		SAML_IDP_METADATA_ATTRIBUTE_RESOLVER,
		SAML_IDP_METADATA_ATTRIBUTES_ENABLED,
		SAML_IDP_METADATA_ATTRIBUTES_NAMESPACE_ENABLED,
		SAML_IDP_METADATA_NAME_ID_ATTRIBUTE, SAML_IDP_METADATA_NAME_ID_FORMAT,
		SAML_IDP_METADATA_NAME_ID_RESOLVER,
		SAML_IDP_METADATA_SALESFORCE_ATTRIBUTES_ENABLED,
		SAML_IDP_METADATA_SESSION_KEEP_ALIVE_URL,
		LegacySamlPropsKeys.SAML_KEYSTORE_CREDENTIAL_PASSWORD
	};

	public static final String[] SAML_KEYS_PREFS_PROPS = {
		SAML_ENABLED, SAML_ENTITY_ID, SAML_IDP_ASSERTION_LIFETIME,
		SAML_IDP_AUTHN_REQUEST_SIGNATURE_REQUIRED,
		SAML_IDP_METADATA_ATTRIBUTE_NAMES, SAML_IDP_METADATA_ATTRIBUTES_ENABLED,
		SAML_IDP_METADATA_ATTRIBUTES_NAMESPACE_ENABLED,
		SAML_IDP_METADATA_NAME_ID_ATTRIBUTE, SAML_IDP_METADATA_NAME_ID_FORMAT,
		SAML_IDP_SESSION_MAXIMUM_AGE, SAML_IDP_SESSION_TIMEOUT,
		LegacySamlPropsKeys.SAML_KEYSTORE_CREDENTIAL_PASSWORD,
		LegacySamlPropsKeys.SAML_ROLE, LegacySamlPropsKeys.SAML_SIGN_METADATA,
		LegacySamlPropsKeys.SAML_SP_ASSERTION_SIGNATURE_REQUIRED,
		LegacySamlPropsKeys.SAML_SP_CLOCK_SKEW,
		LegacySamlPropsKeys.SAML_SP_DEFAULT_IDP_ENTITY_ID,
		LegacySamlPropsKeys.SAML_SP_LDAP_IMPORT_ENABLED,
		LegacySamlPropsKeys.SAML_SP_NAME_ID_FORMAT,
		LegacySamlPropsKeys.SAML_SP_SIGN_AUTHN_REQUEST,
		LegacySamlPropsKeys.SAML_SP_USER_ATTRIBUTE_MAPPINGS,
		LegacySamlPropsKeys.SAML_SSL_REQUIRED
	};

	public static final String[] SAML_KEYS_PROPS = {
		SAML_IDP_METADATA_ATTRIBUTE_RESOLVER,
		SAML_IDP_METADATA_NAME_ID_RESOLVER,
		SAML_IDP_METADATA_SALESFORCE_ATTRIBUTES_ENABLED,
		SAML_IDP_METADATA_SALESFORCE_LOGOUT_URL,
		SAML_IDP_METADATA_SALESFORCE_SSO_START_PAGE,
		SAML_IDP_METADATA_SESSION_KEEP_ALIVE_URL,
		SAML_IDP_SSO_SESSION_CHECK_INTERVAL, SAML_IDP_SSO_SESSION_MAX_AGE,
		LegacySamlPropsKeys.SAML_KEYSTORE_MANAGER_IMPL,
		LegacySamlPropsKeys.SAML_KEYSTORE_PASSWORD,
		LegacySamlPropsKeys.SAML_KEYSTORE_PATH,
		LegacySamlPropsKeys.SAML_KEYSTORE_TYPE,
		LegacySamlPropsKeys.SAML_METADATA_MAX_REFRESH_DELAY,
		LegacySamlPropsKeys.SAML_METADATA_MIN_REFRESH_DELAY,
		LegacySamlPropsKeys.SAML_METADATA_PATHS,
		LegacySamlPropsKeys.SAML_METADATA_REFRESH_INTERVAL,
		LegacySamlPropsKeys.SAML_REPLAY_CACHE_DURATION,
		LegacySamlPropsKeys.SAML_SP_AUTH_REQUEST_CHECK_INTERVAL,
		LegacySamlPropsKeys.SAML_SP_AUTH_REQUEST_MAX_AGE,
		LegacySamlPropsKeys.SAML_SP_MESSAGE_CHECK_INTERVAL
	};

	public static final String SAML_KEYSTORE_CREDENTIAL_PASSWORD =
		"saml.keystore.credential.password";

	public static final String SAML_KEYSTORE_MANAGER_IMPL =
		"saml.keystore.manager.impl";

	public static final String SAML_KEYSTORE_PASSWORD =
		"saml.keystore.password";

	public static final String SAML_KEYSTORE_PATH = "saml.keystore.path";

	public static final String SAML_KEYSTORE_TYPE = "saml.keystore.type";

	public static final String SAML_METADATA_MAX_REFRESH_DELAY =
		"saml.metadata.max.refresh.delay";

	public static final String SAML_METADATA_MIN_REFRESH_DELAY =
		"saml.metadata.min.refresh.delay";

	public static final String SAML_METADATA_PATHS = "saml.metadata.paths";

	public static final String SAML_METADATA_REFRESH_INTERVAL =
		"saml.metadata.refresh.interval";

	public static final String SAML_REPLAY_CACHE_DURATION =
		"saml.replay.cache.duration";

	public static final String SAML_ROLE = "saml.role";

	public static final String SAML_SIGN_METADATA = "saml.sign.metadata";

	public static final String SAML_SP_ASSERTION_SIGNATURE_REQUIRED =
		"saml.sp.assertion.signature.required";

	public static final String SAML_SP_AUTH_REQUEST_CHECK_INTERVAL =
		"saml.sp.auth.request.check.interval";

	public static final String SAML_SP_AUTH_REQUEST_MAX_AGE =
		"saml.sp.auth.request.max.age";

	public static final String SAML_SP_CLOCK_SKEW = "saml.sp.clock.skew";

	public static final String SAML_SP_DEFAULT_IDP_ENTITY_ID =
		"saml.sp.default.idp.entity.id";

	public static final String SAML_SP_LDAP_IMPORT_ENABLED =
		"saml.sp.ldap.import.enabled";

	public static final String SAML_SP_MESSAGE_CHECK_INTERVAL =
		"saml.sp.message.check.interval";

	public static final String SAML_SP_NAME_ID_FORMAT =
		"saml.sp.name.id.format";

	public static final String SAML_SP_SIGN_AUTHN_REQUEST =
		"saml.sp.sign.authn.request";

	public static final String SAML_SP_USER_ATTRIBUTE_MAPPINGS =
		"saml.sp.user.attribute.mappings";

	public static final String SAML_SSL_REQUIRED = "saml.ssl.required";

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy