Class RelyingParty.RelyingPartyBuilder<C extends RelyingParty,B extends RelyingParty.RelyingPartyBuilder<C,B>>
java.lang.Object
swiss.trustbroker.federation.xmlconfig.CounterParty.CounterPartyBuilder<C,B>
swiss.trustbroker.federation.xmlconfig.RelyingParty.RelyingPartyBuilder<C,B>
- Enclosing class:
RelyingParty
public abstract static class RelyingParty.RelyingPartyBuilder<C extends RelyingParty,B extends RelyingParty.RelyingPartyBuilder<C,B>>
extends CounterParty.CounterPartyBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessRequest(AccessRequest accessRequest) AccessRequest configuration for this RP.acWhitelist(AcWhitelist acWhitelist) Assertion consumer service URL authorized to access XTB federation services for this RP.announcement(AnnouncementRpConfig announcement) Announcement configuration for this RP.applicationName(String applicationName) If the SAML ProviderName or OIDC client_id are wrong or missing, a relying party can be configured with a global ApplicationName used for AccessRequest ProfileSelection or AnnouncementService to select the matching data items.attributesSelection(AttributesSelection attributesSelection) RP side attribute selection.Base profile.We introduce the billing field, so we can start make some trials adding it to the config.abstract Cbuild()certificates(Certificates certificates) For verification and signing.claimsProviderMappings(ClaimsProviderMappings claimsProviderMappings) List of CPs mapped to this RP.claimsSelection(AttributesSelection claimsSelection) RP side claims selection.clientExtId(String clientExtId) Primary key of the IDM client identifying an access tenant.clientName(String clientName) ClientName is the access tenant identifier (somewhat a short form of the relying party ID) applied to allconstAttributes(ConstAttributes constAttributes) Deprecated.replaced with ClaimsSelectionenabled(FeatureEnum enabled) Flag to enable/disable this RP.flowPolicies(FlowPolicies flowPolicies) Error flow policies for this RP.RP ID.IDM lookup configuration for this RP.OIDC client configuration for this RP.profileSelection(ProfileSelection profileSelection) Profile selection configuration for this RP.propertiesSelection(AttributesSelection propertiesSelection) Properties selection identifies the computed/derived attributes passed through to the RP.QoA configurations for this RP.rpDecryptionCredentials(List<org.opensaml.security.credential.Credential> rpDecryptionCredentials) rpEncryptionTrustCredential(org.opensaml.security.credential.Credential rpEncryptionTrustCredential) rpSigner(org.opensaml.security.credential.Credential rpSigner) rpTrustCredentials(List<org.opensaml.security.credential.Credential> rpTrustCredentials) SAML protocol configuration for this RP.Script hooks.securityPolicies(SecurityPolicies securityPolicies) Global security policy overrides for this RP.protected abstract Bself()SSO configuration for this RP.subjectNameMappings(SubjectNameMappings subjectNameMappings) Subject Name ID mappings for this RP.toString()unaliasedId(String unaliasedId) WS-Trust protocol configuration for this RP.Methods inherited from class swiss.trustbroker.federation.xmlconfig.CounterParty.CounterPartyBuilder
subPath, validationStatus
-
Constructor Details
-
RelyingPartyBuilder
public RelyingPartyBuilder()
-
-
Method Details
-
id
RP ID.
Notes:- RP IDs must be unique within the configuration of each environment
(
trustbroker-inventories/environment) - RP IDs may overlap with CP IDs.
- For SAML this ID is also used by the actual RP.
- For OIDC this just an internal ID.
- Returns:
this.
- RP IDs must be unique within the configuration of each environment
(
-
unaliasedId
- Returns:
this.
-
enabled
Flag to enable/disable this RP.
Default is true.- Returns:
this.
-
base
Base profile.
The full file name of theProfileRP_name.xml.- Returns:
this.
-
clientName
ClientName is the access tenant identifier (somewhat a short form of the relying party ID) applied to all%clientname%
placeholders in the configuration, specifically the attributes as listed above.- Returns:
this.
-
applicationName
If the SAML ProviderName or OIDC client_id are wrong or missing, a relying party can be configured with a global ApplicationName used for AccessRequest ProfileSelection or AnnouncementService to select the matching data items.- Returns:
this.- Since:
- 1.12.0
-
billingId
We introduce the billing field, so we can start make some trials adding it to the config. We might need to move it to the access request application section later if RP-ID is not 1:1 related to billingId. The value is currently only used in the XTB auditing.- Returns:
this.
-
clientExtId
Primary key of the IDM client identifying an access tenant.- Returns:
this.
-
acWhitelist
Assertion consumer service URL authorized to access XTB federation services for this RP.- Returns:
this.
-
certificates
For verification and signing. For signing the SignerKeystore declared on is (re-)used on the CP side.- Returns:
this.- See Also:
-
securityPolicies
Global security policy overrides for this RP.- Returns:
this.
-
oidc
OIDC client configuration for this RP.- Returns:
this.
-
saml
SAML protocol configuration for this RP.- Returns:
this.
-
wsTrust
WS-Trust protocol configuration for this RP.- Returns:
this.- Since:
- 1.14.0
-
announcement
Announcement configuration for this RP.- Returns:
this.
-
sso
SSO configuration for this RP.- Returns:
this.
-
claimsProviderMappings
List of CPs mapped to this RP.- Returns:
this.
-
subjectNameMappings
Subject Name ID mappings for this RP.- Returns:
this.
-
qoa
QoA configurations for this RP.- Returns:
this.
-
flowPolicies
Error flow policies for this RP.- Returns:
this.
-
accessRequest
AccessRequest configuration for this RP.- Returns:
this.
-
attributesSelection
RP side attribute selection.- Returns:
this.- See Also:
-
constAttributes
Deprecated.replaced with ClaimsSelectionConstant attributes to be added for this RP.- Returns:
this.
-
idmLookup
IDM lookup configuration for this RP.- Returns:
this.
-
propertiesSelection
Properties selection identifies the computed/derived attributes passed through to the RP.- Returns:
this.
-
claimsSelection
RP side claims selection.- Returns:
this.- Since:
- 1.9.0
-
profileSelection
Profile selection configuration for this RP.- Returns:
this.
-
scripts
Script hooks. Only scripts related to this RP are executed.- Returns:
this.
-
rpTrustCredentials
- Returns:
this.
-
rpSigner
- Returns:
this.
-
rpEncryptionTrustCredential
public B rpEncryptionTrustCredential(org.opensaml.security.credential.Credential rpEncryptionTrustCredential) - Returns:
this.
-
rpDecryptionCredentials
public B rpDecryptionCredentials(List<org.opensaml.security.credential.Credential> rpDecryptionCredentials) - Returns:
this.
-
self
- Specified by:
selfin classCounterParty.CounterPartyBuilder<C extends RelyingParty,B extends RelyingParty.RelyingPartyBuilder<C, B>>
-
build
- Specified by:
buildin classCounterParty.CounterPartyBuilder<C extends RelyingParty,B extends RelyingParty.RelyingPartyBuilder<C, B>>
-
toString
- Overrides:
toStringin classCounterParty.CounterPartyBuilder<C extends RelyingParty,B extends RelyingParty.RelyingPartyBuilder<C, B>>
-