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 java.lang.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 java.lang.String
ACTIVE_VALUE_CLIENT
static java.lang.String
ACTIVE_VALUE_MULTI_SELECTABLE
static java.lang.String
ACTIVE_VALUE_SELECTION_PFX
static java.lang.String
ACTIVE_VALUE_SINGLE_SELECTABLE
static java.lang.String
EMBEDDED_TRANSLATION_PROFILE
static java.lang.String
SKIP_CONSENT
static java.lang.String
SKIP_USERIMPORT
static java.lang.String
TRANSLATION_PROFILE
static java.lang.String
USERIMPORT_IDENTITY_TYPE
static java.lang.String
USERIMPORT_IMPORTER
static java.lang.String
USERIMPORT_PFX
-
Constructor Summary
Constructors Constructor Description CommonIdPProperties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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)
static java.util.Map<java.lang.String,eu.unicore.util.configuration.PropertyMD>
getDefaults(java.lang.String defaultProfileMessage, java.lang.String defaultProfile)
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)
static java.util.List<UserImportSpec>
getUserImports(eu.unicore.util.configuration.PropertiesHelper cfg, java.util.Map<java.lang.String,java.lang.String> identitiesByType)
static java.util.List<UserImportSpec>
getUserImportsLegacy(eu.unicore.util.configuration.PropertiesHelper cfg, java.lang.String identity, java.lang.String type)
static boolean
isActiveValueSelectionConfiguredForClient(eu.unicore.util.configuration.PropertiesHelper cfg, java.lang.String client)
-
-
-
Field Detail
-
SKIP_CONSENT
public static final java.lang.String SKIP_CONSENT
- See Also:
- Constant Field Values
-
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
-
SKIP_USERIMPORT
public static final java.lang.String SKIP_USERIMPORT
- See Also:
- Constant Field Values
-
USERIMPORT_PFX
public static final java.lang.String USERIMPORT_PFX
- 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
-
-
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)
-
-