Package swiss.trustbroker.api.idm.dto
Class IdmProvisioningRequest.IdmProvisioningRequestBuilder
java.lang.Object
swiss.trustbroker.api.idm.dto.IdmProvisioningRequest.IdmProvisioningRequestBuilder
- Enclosing class:
IdmProvisioningRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccountSource(String accountSource) The account source from CP configadditionalData(Map<Object, Object> additionalData) This is not provided directly by the XTB core code, but is resulting from other custom interface implementations.build()cpAttributes(Map<? extends AttributeName, List<String>> cpAttributes) Map of attributes received from the CP, to be provisioned in the IDM (not null, not modifiable).cpAuthenticationQoa(Integer cpAuthenticationQoa) Quality of authentication provided by CP, mapped to the XTB order model.cpSubjectNameId(String cpSubjectNameId) The subject name ID returned by the CP.The name in the IDM as filtering parameter for the IDM.homeNameMigrationAlias(String homeNameMigrationAlias) Used for provisioning during migration from a CP to another.identifyingClaim(AttributeName identifyingClaim) Claim to address the user in the IDM (not null).idmAttributes(Map<? extends AttributeName, List<String>> idmAttributes) Map of attributes received from the IDM (not null, not modifiable).logOnly(boolean logOnly) If true, provisioning changes are only logged, not applied.Provisioning mode flags specific to implementations.provisioningAttributes(List<? extends AttributeName> provisioningAttributes) List of attributes to provision.queriedStores(Set<String> queriedStores) Returns theIdmLookupstore(s) that were queried for theadditionalData- including those that did not find a result.toString()
-
Method Details
-
identifyingClaim
public IdmProvisioningRequest.IdmProvisioningRequestBuilder identifyingClaim(AttributeName identifyingClaim) Claim to address the user in the IDM (not null).- Returns:
this.
-
homeName
The name in the IDM as filtering parameter for the IDM.- Returns:
this.
-
accountSource
The account source from CP config- Returns:
this.
-
homeNameMigrationAlias
public IdmProvisioningRequest.IdmProvisioningRequestBuilder homeNameMigrationAlias(String homeNameMigrationAlias) Used for provisioning during migration from a CP to another.
It is used to detect data from the source CP of the migration when provisioning for the target CP.- Returns:
this.
-
cpSubjectNameId
The subject name ID returned by the CP.- Returns:
this.
-
cpAuthenticationQoa
public IdmProvisioningRequest.IdmProvisioningRequestBuilder cpAuthenticationQoa(Integer cpAuthenticationQoa) Quality of authentication provided by CP, mapped to the XTB order model.- Returns:
this.
-
logOnly
If true, provisioning changes are only logged, not applied.- Returns:
this.
-
modes
Provisioning mode flags specific to implementations. All flags for all implementations are passed in.- Returns:
this.
-
idmAttributes
public IdmProvisioningRequest.IdmProvisioningRequestBuilder idmAttributes(Map<? extends AttributeName, List<String>> idmAttributes) Map of attributes received from the IDM (not null, not modifiable).
Empty list if the user was not found by theIdmQueryService.- Returns:
this.
-
cpAttributes
public IdmProvisioningRequest.IdmProvisioningRequestBuilder cpAttributes(Map<? extends AttributeName, List<String>> cpAttributes) Map of attributes received from the CP, to be provisioned in the IDM (not null, not modifiable).- Returns:
this.
-
provisioningAttributes
public IdmProvisioningRequest.IdmProvisioningRequestBuilder provisioningAttributes(List<? extends AttributeName> provisioningAttributes) List of attributes to provision.- Returns:
this.
-
additionalData
public IdmProvisioningRequest.IdmProvisioningRequestBuilder additionalData(Map<Object, Object> additionalData) This is not provided directly by the XTB core code, but is resulting from other custom interface implementations.
The map key indicates the source of the data. It can be used by the implementations to match related interface implementations in order to share internal data structures such as lookup results.
Currently the data returned by theIdmQueryServiceinterface implementations is passed here.- Returns:
this.- See Also:
-
queriedStores
public IdmProvisioningRequest.IdmProvisioningRequestBuilder queriedStores(Set<String> queriedStores) Returns theIdmLookupstore(s) that were queried for theadditionalData- including those that did not find a result.
Currently the data returned by theIdmQueryServiceinterface implementations is passed here.- Returns:
this.- Since:
- 1.12.0
- See Also:
-
build
-
toString
-