Class CommonIdPProperties


  • public class CommonIdPProperties
    extends java.lang.Object
    Contains settings which are common for all IdP endpoints
    Author:
    Krzysztof Benedyczak
    • Field Detail

      • TRANSLATION_PROFILE

        public static final java.lang.String TRANSLATION_PROFILE
        See Also:
        Constant Field Values
      • EMBEDDED_TRANSLATION_PROFILE

        public static final java.lang.String EMBEDDED_TRANSLATION_PROFILE
        See Also:
        Constant Field Values
      • USERIMPORT_IMPORTER

        public static final java.lang.String USERIMPORT_IMPORTER
        See Also:
        Constant Field Values
      • USERIMPORT_IDENTITY_TYPE

        public static final java.lang.String USERIMPORT_IDENTITY_TYPE
        See Also:
        Constant Field Values
      • ACTIVE_VALUE_SELECTION_PFX

        public static final java.lang.String ACTIVE_VALUE_SELECTION_PFX
        See Also:
        Constant Field Values
      • ACTIVE_VALUE_CLIENT

        public static final java.lang.String ACTIVE_VALUE_CLIENT
        See Also:
        Constant Field Values
      • ACTIVE_VALUE_SINGLE_SELECTABLE

        public static final java.lang.String ACTIVE_VALUE_SINGLE_SELECTABLE
        See Also:
        Constant Field Values
      • ACTIVE_VALUE_MULTI_SELECTABLE

        public static final java.lang.String ACTIVE_VALUE_MULTI_SELECTABLE
        See Also:
        Constant Field Values
    • Constructor Detail

      • CommonIdPProperties

        public CommonIdPProperties()
    • Method Detail

      • getDefaultsWithCategory

        public static java.util.Map<java.lang.String,​eu.unicore.util.configuration.PropertyMD> getDefaultsWithCategory​(eu.unicore.util.configuration.PropertyMD.DocumentationCategory category,
                                                                                                                             java.lang.String defaultProfileMessage,
                                                                                                                             java.lang.String defaultProfile)
      • getDefaults

        public static java.util.Map<java.lang.String,​eu.unicore.util.configuration.PropertyMD> getDefaults​(java.lang.String defaultProfileMessage,
                                                                                                                 java.lang.String defaultProfile)
      • getUserImportsLegacy

        public static java.util.List<UserImportSpec> getUserImportsLegacy​(eu.unicore.util.configuration.PropertiesHelper cfg,
                                                                          java.lang.String identity,
                                                                          java.lang.String type)
      • getUserImports

        public static java.util.List<UserImportSpec> getUserImports​(eu.unicore.util.configuration.PropertiesHelper cfg,
                                                                    java.util.Map<java.lang.String,​java.lang.String> identitiesByType)
      • getActiveValueSelectionConfig

        public static java.util.Optional<CommonIdPProperties.ActiveValueSelectionConfig> getActiveValueSelectionConfig​(eu.unicore.util.configuration.PropertiesHelper cfg,
                                                                                                                       java.lang.String client,
                                                                                                                       java.util.Collection<pl.edu.icm.unity.types.basic.DynamicAttribute> allAttributes)
      • isActiveValueSelectionConfiguredForClient

        public static boolean isActiveValueSelectionConfiguredForClient​(eu.unicore.util.configuration.PropertiesHelper cfg,
                                                                        java.lang.String client)