Class AuthorizedApplication.AuthorizedApplicationBuilder
java.lang.Object
swiss.trustbroker.federation.xmlconfig.AuthorizedApplication.AuthorizedApplicationBuilder
- Enclosing class:
AuthorizedApplication
-
Method Summary
Modifier and TypeMethodDescriptionIf configured the value is sent as appUrl instead of sending app=name in the INTERACTIVE AccessRequest.build()centralCICD(String centralCICD) Optional request parameter added to URLs.If an RP contains multiple OIDC clients and AccessRequest configurations and the OIDC client_id or the applicationName (provided viy AuthnRequest.ProviderName) does not match the 'name', this attribute can be used to establish the relation.enableTrigger(Boolean enableTrigger) AccessRequest can be triggered by calling application.endpointReferenceAddress(String endpointReferenceAddress) Overrides the RP ID in requests sent by the AccessRequest.Overrides the global issuer.Matched against minimum QOA from SAML AuthnContextClassRef.Mode to be used for the AccessRequest, depending on the implementation.Required application name (usually corresponding to IDM).Overrides the global AccessRequest recipientId.redirectUrl(String redirectUrl) URL to be redirected to after AccessRequest.serviceUrl(String serviceUrl) Service URL to be called by AccessRequest.toString()triggerRole(String triggerRole) When the given role is missing after the IDM lookup phase (and before the profile selection phase) the access-request handling is initiated.The application can be selected via HTTP Referer matching by configuring the Origin URL in this attribute.validateAssertion(Boolean validateAssertion) Validate assertions in responses to requests sent by the AccessRequest.
-
Method Details
-
name
Required application name (usually corresponding to IDM).- Returns:
this.
-
clientId
If an RP contains multiple OIDC clients and AccessRequest configurations and the OIDC client_id or the applicationName (provided viy AuthnRequest.ProviderName) does not match the 'name', this attribute can be used to establish the relation.- Returns:
this.
-
url
The application can be selected via HTTP Referer matching by configuring the Origin URL in this attribute.- Returns:
this.
-
applUrl
If configured the value is sent as appUrl instead of sending app=name in the INTERACTIVE AccessRequest.- Returns:
this.- Since:
- 1.12.0
-
minQoa
Matched against minimum QOA from SAML AuthnContextClassRef. When an RP has multiple applications, and they cannot be differentiated via HTTP Referer, the minimum AuthnContextClassRef in the AuthnRequest can be used to select the application.
Optional, not recommended.- Returns:
this.
-
mode
Mode to be used for the AccessRequest, depending on the implementation.- Returns:
this.
-
enableTrigger
AccessRequest can be triggered by calling application.- Returns:
this.
-
triggerRole
When the given role is missing after the IDM lookup phase (and before the profile selection phase) the access-request handling is initiated.- Returns:
this.
-
serviceUrl
Service URL to be called by AccessRequest.- Returns:
this.
-
recipient
Overrides the global AccessRequest recipientId. Fallback to serviceUrl.- Returns:
this.
-
issuerId
Overrides the global issuer.- Returns:
this.
-
centralCICD
Optional request parameter added to URLs.- Returns:
this.
-
endpointReferenceAddress
public AuthorizedApplication.AuthorizedApplicationBuilder endpointReferenceAddress(String endpointReferenceAddress) Overrides the RP ID in requests sent by the AccessRequest.- Returns:
this.
-
validateAssertion
public AuthorizedApplication.AuthorizedApplicationBuilder validateAssertion(Boolean validateAssertion) Validate assertions in responses to requests sent by the AccessRequest.
Default: false- Returns:
this.
-
redirectUrl
URL to be redirected to after AccessRequest.- Returns:
this.
-
build
-
toString
-