Class IdmProvisioningRequest

java.lang.Object
swiss.trustbroker.api.idm.dto.IdmProvisioningRequest

public class IdmProvisioningRequest extends Object
Definition of the request to provision the IDM.
  • Method Details

    • builder

    • getIdentifyingClaim

      public AttributeName getIdentifyingClaim()
      Claim to address the user in the IDM (not null).
    • getHomeName

      public String getHomeName()
      The name in the IDM as filtering parameter for the IDM.
    • getAccountSource

      public String getAccountSource()
      The account source from CP config
    • getHomeNameMigrationAlias

      public String getHomeNameMigrationAlias()
      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.
    • getCpSubjectNameId

      public String getCpSubjectNameId()
      The subject name ID returned by the CP.
    • getCpAuthenticationQoa

      public Integer getCpAuthenticationQoa()
      Quality of authentication provided by CP, mapped to the XTB order model.
    • isLogOnly

      public boolean isLogOnly()
      If true, provisioning changes are only logged, not applied.
    • getModes

      public List<String> getModes()
      Provisioning mode flags specific to implementations. All flags for all implementations are passed in.
    • getIdmAttributes

      public Map<? extends AttributeName,List<String>> getIdmAttributes()
      Map of attributes received from the IDM (not null, not modifiable).
      Empty list if the user was not found by the IdmQueryService.
    • getCpAttributes

      public Map<? extends AttributeName,List<String>> getCpAttributes()
      Map of attributes received from the CP, to be provisioned in the IDM (not null, not modifiable).
    • getProvisioningAttributes

      public List<? extends AttributeName> getProvisioningAttributes()
      List of attributes to provision.
    • getAdditionalData

      public Map<Object,Object> getAdditionalData()
      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 the IdmQueryService interface implementations is passed here.
      See Also:
    • getQueriedStores

      public Set<String> getQueriedStores()
      Returns the IdmLookup store(s) that were queried for the additionalData - including those that did not find a result.
      Currently the data returned by the IdmQueryService interface implementations is passed here.
      Since:
      1.12.0
      See Also:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object