Class Definition.DefinitionBuilder
java.lang.Object
swiss.trustbroker.federation.xmlconfig.Definition.DefinitionBuilder
- Enclosing class:
Definition
-
Method Summary
Modifier and TypeMethodDescriptionKnown external attributes we just document here - used when we cannot use namespaceUri due to semantics.build()Indicates whether this field is considered CID (client identifying data).Comma-separated list of mappers to be used for the value.multiValued(Multivalued multiValued) Multi value handling.Short name used in auditing and for IDM attribute addressing.namespaceUri(String namespaceUri) The long name is used in the generated SAML assertion towards the RP.oidcMapper(ClaimsMapper oidcMapper) Deprecated.use mappersThe claim names used when emitting an attribute to an OIDC client (comma-separated - as an attribute, it cannot be a List).Provision this attribute to IDM.provisioningId(Boolean provisioningId) ID attribute for provisioning.Indicates whether this attribute is mandatory.To restrict emitting an attribute, the scope can be set as follows: saml: Use only in SAML assertions oidc: Use only in OIDC tokens (oidcName must be set) If not set, the attribute is emitted on all protocols and any requested OIDC scope.Source of the definition Compound primary key member in attribute maps using Definition(De)Serializer.toString()Single value from constant configuration (we currently only use single valued in XML via ConstAttributes).
-
Method Details
-
name
Short name used in auditing and for IDM attribute addressing. Compound primary key member in attribute maps using Definition(De)Serializer.- Returns:
this.
-
namespaceUri
The long name is used in the generated SAML assertion towards the RP. Compound primary key member in attribute maps using Definition(De)Serializer.- Returns:
this.
-
source
Source of the definition Compound primary key member in attribute maps using Definition(De)Serializer.- Returns:
this.
-
altName
Known external attributes we just document here - used when we cannot use namespaceUri due to semantics.- Returns:
this.
-
oidcNames
The claim names used when emitting an attribute to an OIDC client (comma-separated - as an attribute, it cannot be a List).- Returns:
this.- See Also:
-
cid
Indicates whether this field is considered CID (client identifying data).
Default: null - global default is used- Returns:
this.- Since:
- 1.8.0
-
multiValued
Multi value handling.
Default: ORIGINAL- Returns:
this.
-
mappers
Comma-separated list of mappers to be used for the value.- Returns:
this.- Since:
- 1.9.0
-
oidcMapper
Deprecated.use mappersMapper to be used for the value.- Returns:
this.
-
provision
Provision this attribute to IDM.
The value or list of comma-separated values indicate into what type(s) of IDM object provisioning services should provision this data.
The actual fields to provision would usually be selected based on name/namespace URI.
Generic values: true (a provisioning service selects an appropriate target), false (not provisioned - single value only).
Default: false- Returns:
this.- Since:
- 1.9.0
- See Also:
-
provisioningId
ID attribute for provisioning.- Returns:
this.- Since:
- 1.9.0
- See Also:
-
value
Single value from constant configuration (we currently only use single valued in XML via ConstAttributes).- Returns:
this.
-
scope
To restrict emitting an attribute, the scope can be set as follows:- saml: Use only in SAML assertions
- oidc: Use only in OIDC tokens (oidcName must be set)
- Returns:
this.
-
required
Indicates whether this attribute is mandatory.
For an AuthnResponse, this attribute must always be included- Returns:
this.- Since:
- 1.14.0
-
build
-
toString
-