Class ProfileSelection.ProfileSelectionBuilder
java.lang.Object
swiss.trustbroker.federation.xmlconfig.ProfileSelection.ProfileSelectionBuilder
- Enclosing class:
ProfileSelection
-
Method Summary
Modifier and TypeMethodDescriptionbuild()customizeProperties(Boolean customizeProperties) Apply name/value transformation for CustomProperties (if true regardless of n2k).customizeUnits(Boolean customizeUnits) Apply name/value transformation for UnitProperties if n2k=true.displayClaims(List<String> displayClaims) Additional information to be displayed for profile selection.displayName(String displayName) Attribute used as displayName for profile selection UI.Enable this featureApply filtering on roles.filterOutbound(Boolean filterOutbound) Apply filtering on roles to claims output as well reducing data to what has been selected by the user in INTERACTIVE mode.filterUnits(Boolean filterUnits) Filter unit properties by selected/default profile ID if n2k=true.mode(ProfileSelectionMode mode) Mode for profile selection.needToKnow(Boolean needToKnow) Apply name/value transformation.Apply name/value transformation for n2k only for Oidc.organizationSelector(String organizationSelector) Attribute used as selector (kind of unique Secondary Key) for organization selection.profileSelector(String profileSelector) Attribute used as selector (kind of unique Primary Key) for profile selection.Apply sorting on profiles and roles.toString()translationAttributes(List<String> translationAttributes) Names of attributes that should be translated.
-
Method Details
-
enabled
Enable this feature- Returns:
this.
-
filter
Apply filtering on roles.
Default: true Alternatives: false to disable, regexp for picking custom role list.- Returns:
this.- Since:
- 1.12.0
-
filterOutbound
Apply filtering on roles to claims output as well reducing data to what has been selected by the user in INTERACTIVE mode.
Default: false- Returns:
this.- Since:
- 1.12.0
-
sort
Apply sorting on profiles and roles.
Default: true (sort ascending) Alternatives: false to disable sorting- Returns:
this.- Since:
- 1.12.0
-
needToKnow
Apply name/value transformation.
Default: false- Returns:
this.
-
oidcOnly
Apply name/value transformation for n2k only for Oidc.
Default: true, disable if SAML should also be done- Returns:
this.
-
customizeProperties
Apply name/value transformation for CustomProperties (if true regardless of n2k).
Set to false if for n2k=true to leave custom profile props alone.- Returns:
this.
-
customizeUnits
Apply name/value transformation for UnitProperties if n2k=true.
Default: false- Returns:
this.
-
filterUnits
Filter unit properties by selected/default profile ID if n2k=true.
Default: false- Returns:
this.
-
profileSelector
Attribute used as selector (kind of unique Primary Key) for profile selection.- Returns:
this.- Since:
- 1.13.0
-
organizationSelector
Attribute used as selector (kind of unique Secondary Key) for organization selection.- Returns:
this.- Since:
- 1.14.0
-
displayName
Attribute used as displayName for profile selection UI.- Returns:
this.- Since:
- 1.13.0
-
displayClaims
Additional information to be displayed for profile selection.- Returns:
this.- Since:
- 1.13.0
-
translationAttributes
public ProfileSelection.ProfileSelectionBuilder translationAttributes(List<String> translationAttributes) Names of attributes that should be translated.- Returns:
this.- Since:
- 1.14.0
-
mode
Mode for profile selection.- Returns:
this.
-
build
-
toString
-