Class ProfileSelection
java.lang.Object
swiss.trustbroker.federation.xmlconfig.ProfileSelection
- All Implemented Interfaces:
Serializable,swiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties
public class ProfileSelection
extends Object
implements Serializable, swiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties
Configures the profile selection.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionProfileSelection(Boolean enabled, String filter, Boolean filterOutbound, Boolean sort, Boolean needToKnow, Boolean oidcOnly, Boolean customizeProperties, Boolean customizeUnits, Boolean filterUnits, String profileSelector, String organizationSelector, String displayName, List<String> displayClaims, List<String> translationAttributes, ProfileSelectionMode mode) Creates a newProfileSelectioninstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanApply name/value transformation for CustomProperties (if true regardless of n2k).Apply name/value transformation for UnitProperties if n2k=true.Attribute used as displayName for profile selection UI.Enable this featureApply filtering on roles.Apply filtering on roles to claims output as well reducing data to what has been selected by the user in INTERACTIVE mode.Filter unit properties by selected/default profile ID if n2k=true.getMode()Mode for profile selection.Apply name/value transformation.Apply name/value transformation for n2k only for Oidc.Attribute used as selector (kind of unique Secondary Key) for organization selection.Attribute used as selector (kind of unique Primary Key) for profile selection.getSort()Apply sorting on profiles and roles.inthashCode()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetCustomizeProperties(Boolean customizeProperties) Apply name/value transformation for CustomProperties (if true regardless of n2k).voidsetCustomizeUnits(Boolean customizeUnits) Apply name/value transformation for UnitProperties if n2k=true.voidsetDisplayClaims(List<String> displayClaims) Additional information to be displayed for profile selection.voidsetDisplayName(String displayName) Attribute used as displayName for profile selection UI.voidsetEnabled(Boolean enabled) Enable this featurevoidApply filtering on roles.voidsetFilterOutbound(Boolean filterOutbound) Apply filtering on roles to claims output as well reducing data to what has been selected by the user in INTERACTIVE mode.voidsetFilterUnits(Boolean filterUnits) Filter unit properties by selected/default profile ID if n2k=true.voidsetMode(ProfileSelectionMode mode) Mode for profile selection.voidsetNeedToKnow(Boolean needToKnow) Apply name/value transformation.voidsetOidcOnly(Boolean oidcOnly) Apply name/value transformation for n2k only for Oidc.voidsetOrganizationSelector(String organizationSelector) Attribute used as selector (kind of unique Secondary Key) for organization selection.voidsetProfileSelector(String profileSelector) Attribute used as selector (kind of unique Primary Key) for profile selection.voidApply sorting on profiles and roles.voidsetTranslationAttributes(List<String> translationAttributes) Names of attributes that should be translated.toString()
-
Constructor Details
-
ProfileSelection
public ProfileSelection() -
ProfileSelection
public ProfileSelection(Boolean enabled, String filter, Boolean filterOutbound, Boolean sort, Boolean needToKnow, Boolean oidcOnly, Boolean customizeProperties, Boolean customizeUnits, Boolean filterUnits, String profileSelector, String organizationSelector, String displayName, List<String> displayClaims, List<String> translationAttributes, ProfileSelectionMode mode) Creates a newProfileSelectioninstance.- Parameters:
enabled- Enable this featurefilter- Apply filtering on roles.
Default: true Alternatives: false to disable, regexp for picking custom role list.filterOutbound- Apply filtering on roles to claims output as well reducing data to what has been selected by the user in INTERACTIVE mode.
Default: falsesort- Apply sorting on profiles and roles.
Default: true (sort ascending) Alternatives: false to disable sortingneedToKnow- Apply name/value transformation.
Default: falseoidcOnly- Apply name/value transformation for n2k only for Oidc.
Default: true, disable if SAML should also be donecustomizeProperties- Apply name/value transformation for CustomProperties (if true regardless of n2k).
Set to false if for n2k=true to leave custom profile props alone.customizeUnits- Apply name/value transformation for UnitProperties if n2k=true.
Default: falsefilterUnits- Filter unit properties by selected/default profile ID if n2k=true.
Default: falseprofileSelector- Attribute used as selector (kind of unique Primary Key) for profile selection.organizationSelector- Attribute used as selector (kind of unique Secondary Key) for organization selection.displayName- Attribute used as displayName for profile selection UI.displayClaims- Additional information to be displayed for profile selection.translationAttributes- Names of attributes that should be translated.mode- Mode for profile selection.- Since:
- 1.12.0, 1.12.0, 1.12.0, 1.13.0, 1.14.0, 1.13.0, 1.13.0, 1.14.0
-
-
Method Details
-
isProfileSelectionEnabled
public boolean isProfileSelectionEnabled()- Specified by:
isProfileSelectionEnabledin interfaceswiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties
-
getProfileSelectionMode
- Specified by:
getProfileSelectionModein interfaceswiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties
-
isForOidcOnly
public boolean isForOidcOnly()- Specified by:
isForOidcOnlyin interfaceswiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties
-
isN2kEnabled
public boolean isN2kEnabled()- Specified by:
isN2kEnabledin interfaceswiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties
-
isTransformCustomPropsEnabled
public boolean isTransformCustomPropsEnabled()- Specified by:
isTransformCustomPropsEnabledin interfaceswiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties
-
isTransformUnitPropsEnabled
public boolean isTransformUnitPropsEnabled()- Specified by:
isTransformUnitPropsEnabledin interfaceswiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties
-
isFilterUnitPropsEnabled
public boolean isFilterUnitPropsEnabled()- Specified by:
isFilterUnitPropsEnabledin interfaceswiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties
-
isSortRoleEnabled
public boolean isSortRoleEnabled()- Specified by:
isSortRoleEnabledin interfaceswiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties
-
isFilterRoleEnabled
public boolean isFilterRoleEnabled()- Specified by:
isFilterRoleEnabledin interfaceswiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties
-
isFilterRoleOutput
public boolean isFilterRoleOutput()- Specified by:
isFilterRoleOutputin interfaceswiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties
-
getFilterRoleConfiguration
- Specified by:
getFilterRoleConfigurationin interfaceswiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties
-
getDisplayClaims
- Specified by:
getDisplayClaimsin interfaceswiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties
-
getTranslationAttributes
- Specified by:
getTranslationAttributesin interfaceswiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties
-
builder
-
getEnabled
Enable this feature -
getFilter
Apply filtering on roles.
Default: true Alternatives: false to disable, regexp for picking custom role list.- Since:
- 1.12.0
-
getFilterOutbound
Apply filtering on roles to claims output as well reducing data to what has been selected by the user in INTERACTIVE mode.
Default: false- Since:
- 1.12.0
-
getSort
Apply sorting on profiles and roles.
Default: true (sort ascending) Alternatives: false to disable sorting- Since:
- 1.12.0
-
getNeedToKnow
Apply name/value transformation.
Default: false -
getOidcOnly
Apply name/value transformation for n2k only for Oidc.
Default: true, disable if SAML should also be done -
getCustomizeProperties
Apply name/value transformation for CustomProperties (if true regardless of n2k).
Set to false if for n2k=true to leave custom profile props alone. -
getCustomizeUnits
Apply name/value transformation for UnitProperties if n2k=true.
Default: false -
getFilterUnits
Filter unit properties by selected/default profile ID if n2k=true.
Default: false -
getProfileSelector
Attribute used as selector (kind of unique Primary Key) for profile selection.- Specified by:
getProfileSelectorin interfaceswiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties- Since:
- 1.13.0
-
getOrganizationSelector
Attribute used as selector (kind of unique Secondary Key) for organization selection.- Specified by:
getOrganizationSelectorin interfaceswiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties- Since:
- 1.14.0
-
getDisplayName
Attribute used as displayName for profile selection UI.- Specified by:
getDisplayNamein interfaceswiss.trustbroker.api.profileselection.dto.ProfileSelectionProperties- Since:
- 1.13.0
-
getMode
Mode for profile selection. -
setEnabled
Enable this feature -
setFilter
Apply filtering on roles.
Default: true Alternatives: false to disable, regexp for picking custom role list.- Since:
- 1.12.0
-
setFilterOutbound
Apply filtering on roles to claims output as well reducing data to what has been selected by the user in INTERACTIVE mode.
Default: false- Since:
- 1.12.0
-
setSort
Apply sorting on profiles and roles.
Default: true (sort ascending) Alternatives: false to disable sorting- Since:
- 1.12.0
-
setNeedToKnow
Apply name/value transformation.
Default: false -
setOidcOnly
Apply name/value transformation for n2k only for Oidc.
Default: true, disable if SAML should also be done -
setCustomizeProperties
Apply name/value transformation for CustomProperties (if true regardless of n2k).
Set to false if for n2k=true to leave custom profile props alone. -
setCustomizeUnits
Apply name/value transformation for UnitProperties if n2k=true.
Default: false -
setFilterUnits
Filter unit properties by selected/default profile ID if n2k=true.
Default: false -
setProfileSelector
Attribute used as selector (kind of unique Primary Key) for profile selection.- Since:
- 1.13.0
-
setOrganizationSelector
Attribute used as selector (kind of unique Secondary Key) for organization selection.- Since:
- 1.14.0
-
setDisplayName
Attribute used as displayName for profile selection UI.- Since:
- 1.13.0
-
setDisplayClaims
Additional information to be displayed for profile selection.- Since:
- 1.13.0
-
setTranslationAttributes
Names of attributes that should be translated.- Since:
- 1.14.0
-
setMode
Mode for profile selection. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-