Class TranslatedRegistrationRequest

java.lang.Object
pl.edu.icm.unity.engine.api.translation.form.TranslatedRegistrationRequest

public class TranslatedRegistrationRequest extends Object
Output of RegistrationRequest or EnquiryResponse translation with a corresponding translation profile.

Contains data that will be used to create a new entity when the request is accepted or data to update an existing entity (in case of enquires). Additionally contains information whether the request should be automatically processed.

Implementation ensures that the same attribute/group/identity is not added twice. It is checked taking into account only the relevant information, not the source (as remote idp).

Author:
K. Benedyczak
  • Constructor Details

    • TranslatedRegistrationRequest

      public TranslatedRegistrationRequest(String credentialRequirement)
    • TranslatedRegistrationRequest

      public TranslatedRegistrationRequest()
  • Method Details

    • addIdentity

      public void addIdentity(pl.edu.icm.unity.base.identity.IdentityParam identity)
    • removeIdentity

      public void removeIdentity(pl.edu.icm.unity.base.identity.IdentityParam identity)
    • addAttribute

      public void addAttribute(pl.edu.icm.unity.base.attribute.Attribute attribute)
    • removeAttribute

      public void removeAttribute(pl.edu.icm.unity.base.attribute.Attribute attribute)
    • addMembership

      public void addMembership(GroupParam group)
    • removeMembership

      public void removeMembership(String group)
    • addAttributeClass

      public void addAttributeClass(String group, String ac)
    • setAutoAction

      public void setAutoAction(TranslatedRegistrationRequest.AutomaticRequestAction autoAction)
    • setEntityChange

      public void setEntityChange(EntityChange entityChange)
    • setEntityState

      public void setEntityState(pl.edu.icm.unity.base.entity.EntityState entityState)
    • getAutoAction

    • getIdentities

      public Collection<pl.edu.icm.unity.base.identity.IdentityParam> getIdentities()
    • getAttributes

      public Collection<pl.edu.icm.unity.base.attribute.Attribute> getAttributes()
    • getGroups

      public Collection<GroupParam> getGroups()
    • getEntityChange

      public EntityChange getEntityChange()
    • getEntityState

      public pl.edu.icm.unity.base.entity.EntityState getEntityState()
    • getCredentialRequirement

      public String getCredentialRequirement()
    • getRedirectURL

      public String getRedirectURL()
    • setRedirectURL

      public void setRedirectURL(String redirectURL)
    • setCredentialRequirement

      public void setCredentialRequirement(String credentialRequirement)
    • getAttributeClasses

      public Map<String,Set<String>> getAttributeClasses()
    • getPostSubmitMessage

      public pl.edu.icm.unity.base.i18n.I18nMessage getPostSubmitMessage()
    • setPostSubmitMessage

      public void setPostSubmitMessage(pl.edu.icm.unity.base.i18n.I18nMessage message)
    • getInvitationProcessingParams

      public List<AutomaticInvitationProcessingParam> getInvitationProcessingParams()
    • addInvitationProcessingParam

      public void addInvitationProcessingParam(AutomaticInvitationProcessingParam invitationProcessing)
    • getMfaPreferenceStatus

      public Boolean getMfaPreferenceStatus()
    • setMfaPreferenceStatus

      public void setMfaPreferenceStatus(boolean mfaPreferenceStatus)