Package pl.edu.icm.unity.engine.api.idp
Class CommonIdPProperties
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.idp.CommonIdPProperties
-
public class CommonIdPProperties extends Object
Contains settings which are common for all IdP endpoints- Author:
- Krzysztof Benedyczak
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CommonIdPProperties.ActiveValueSelectionConfig
-
Field Summary
Fields Modifier and Type Field Description static String
ACTIVE_VALUE_CLIENT
static String
ACTIVE_VALUE_MULTI_SELECTABLE
static String
ACTIVE_VALUE_SELECTION_PFX
static String
ACTIVE_VALUE_SINGLE_SELECTABLE
static String
EMBEDDED_TRANSLATION_PROFILE
static String
POLICY_AGREEMENT_DOCUMENTS
static String
POLICY_AGREEMENT_PRESENTATION_TYPE
static String
POLICY_AGREEMENT_TEXT
static String
POLICY_AGREEMENTS_INFO
static String
POLICY_AGREEMENTS_PFX
static String
POLICY_AGREEMENTS_TITLE
static String
POLICY_AGREEMENTS_WIDTH
static String
POLICY_AGREEMENTS_WIDTH_UNIT
static String
SKIP_CONSENT
static String
SKIP_USERIMPORT
static String
TRANSLATION_PROFILE
static String
USERIMPORT_IDENTITY_TYPE
static String
USERIMPORT_IMPORTER
static String
USERIMPORT_PFX
-
Constructor Summary
Constructors Constructor Description CommonIdPProperties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optional<CommonIdPProperties.ActiveValueSelectionConfig>
getActiveValueSelectionConfig(eu.unicore.util.configuration.PropertiesHelper cfg, String client, Collection<DynamicAttribute> allAttributes)
static Map<String,eu.unicore.util.configuration.PropertyMD>
getDefaults(String defaultProfileMessage, String defaultProfile)
static Map<String,eu.unicore.util.configuration.PropertyMD>
getDefaultsWithCategory(eu.unicore.util.configuration.PropertyMD.DocumentationCategory category, String defaultProfileMessage, String defaultProfile)
static IdpPolicyAgreementsConfiguration
getPolicyAgreementsConfig(MessageSource msg, UnityPropertiesHelper cfg)
static List<UserImportSpec>
getUserImports(eu.unicore.util.configuration.PropertiesHelper cfg, Map<String,String> identitiesByType)
static List<UserImportSpec>
getUserImportsLegacy(eu.unicore.util.configuration.PropertiesHelper cfg, String identity, String type)
static boolean
isActiveValueSelectionConfiguredForClient(eu.unicore.util.configuration.PropertiesHelper cfg, String client)
static boolean
isIdpPolicyAgreementsConfigured(MessageSource msg, UnityPropertiesHelper cfg)
-
-
-
Field Detail
-
SKIP_CONSENT
public static final String SKIP_CONSENT
- See Also:
- Constant Field Values
-
TRANSLATION_PROFILE
public static final String TRANSLATION_PROFILE
- See Also:
- Constant Field Values
-
EMBEDDED_TRANSLATION_PROFILE
public static final String EMBEDDED_TRANSLATION_PROFILE
- See Also:
- Constant Field Values
-
SKIP_USERIMPORT
public static final String SKIP_USERIMPORT
- See Also:
- Constant Field Values
-
USERIMPORT_PFX
public static final String USERIMPORT_PFX
- See Also:
- Constant Field Values
-
USERIMPORT_IMPORTER
public static final String USERIMPORT_IMPORTER
- See Also:
- Constant Field Values
-
USERIMPORT_IDENTITY_TYPE
public static final String USERIMPORT_IDENTITY_TYPE
- See Also:
- Constant Field Values
-
ACTIVE_VALUE_SELECTION_PFX
public static final String ACTIVE_VALUE_SELECTION_PFX
- See Also:
- Constant Field Values
-
ACTIVE_VALUE_CLIENT
public static final String ACTIVE_VALUE_CLIENT
- See Also:
- Constant Field Values
-
ACTIVE_VALUE_SINGLE_SELECTABLE
public static final String ACTIVE_VALUE_SINGLE_SELECTABLE
- See Also:
- Constant Field Values
-
ACTIVE_VALUE_MULTI_SELECTABLE
public static final String ACTIVE_VALUE_MULTI_SELECTABLE
- See Also:
- Constant Field Values
-
POLICY_AGREEMENTS_TITLE
public static final String POLICY_AGREEMENTS_TITLE
- See Also:
- Constant Field Values
-
POLICY_AGREEMENTS_INFO
public static final String POLICY_AGREEMENTS_INFO
- See Also:
- Constant Field Values
-
POLICY_AGREEMENTS_WIDTH
public static final String POLICY_AGREEMENTS_WIDTH
- See Also:
- Constant Field Values
-
POLICY_AGREEMENTS_WIDTH_UNIT
public static final String POLICY_AGREEMENTS_WIDTH_UNIT
- See Also:
- Constant Field Values
-
POLICY_AGREEMENTS_PFX
public static final String POLICY_AGREEMENTS_PFX
- See Also:
- Constant Field Values
-
POLICY_AGREEMENT_DOCUMENTS
public static final String POLICY_AGREEMENT_DOCUMENTS
- See Also:
- Constant Field Values
-
POLICY_AGREEMENT_PRESENTATION_TYPE
public static final String POLICY_AGREEMENT_PRESENTATION_TYPE
- See Also:
- Constant Field Values
-
POLICY_AGREEMENT_TEXT
public static final String POLICY_AGREEMENT_TEXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultsWithCategory
public static Map<String,eu.unicore.util.configuration.PropertyMD> getDefaultsWithCategory(eu.unicore.util.configuration.PropertyMD.DocumentationCategory category, String defaultProfileMessage, String defaultProfile)
-
getDefaults
public static Map<String,eu.unicore.util.configuration.PropertyMD> getDefaults(String defaultProfileMessage, String defaultProfile)
-
getUserImportsLegacy
public static List<UserImportSpec> getUserImportsLegacy(eu.unicore.util.configuration.PropertiesHelper cfg, String identity, String type)
-
getUserImports
public static List<UserImportSpec> getUserImports(eu.unicore.util.configuration.PropertiesHelper cfg, Map<String,String> identitiesByType)
-
getActiveValueSelectionConfig
public static Optional<CommonIdPProperties.ActiveValueSelectionConfig> getActiveValueSelectionConfig(eu.unicore.util.configuration.PropertiesHelper cfg, String client, Collection<DynamicAttribute> allAttributes)
-
isActiveValueSelectionConfiguredForClient
public static boolean isActiveValueSelectionConfiguredForClient(eu.unicore.util.configuration.PropertiesHelper cfg, String client)
-
getPolicyAgreementsConfig
public static IdpPolicyAgreementsConfiguration getPolicyAgreementsConfig(MessageSource msg, UnityPropertiesHelper cfg)
-
isIdpPolicyAgreementsConfigured
public static boolean isIdpPolicyAgreementsConfigured(MessageSource msg, UnityPropertiesHelper cfg)
-
-