Class TranslatedRegistrationRequest


  • public class TranslatedRegistrationRequest
    extends java.lang.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 Detail

      • TranslatedRegistrationRequest

        public TranslatedRegistrationRequest​(java.lang.String credentialRequirement)
      • TranslatedRegistrationRequest

        public TranslatedRegistrationRequest()
    • Method Detail

      • addIdentity

        public void addIdentity​(pl.edu.icm.unity.types.basic.IdentityParam identity)
      • removeIdentity

        public void removeIdentity​(pl.edu.icm.unity.types.basic.IdentityParam identity)
      • addAttribute

        public void addAttribute​(pl.edu.icm.unity.types.basic.Attribute attribute)
      • removeAttribute

        public void removeAttribute​(pl.edu.icm.unity.types.basic.Attribute attribute)
      • addMembership

        public void addMembership​(GroupParam group)
      • removeMembership

        public void removeMembership​(java.lang.String group)
      • addAttributeClass

        public void addAttributeClass​(java.lang.String group,
                                      java.lang.String ac)
      • setEntityChange

        public void setEntityChange​(EntityChange entityChange)
      • setEntityState

        public void setEntityState​(pl.edu.icm.unity.types.basic.EntityState entityState)
      • getIdentities

        public java.util.Collection<pl.edu.icm.unity.types.basic.IdentityParam> getIdentities()
      • getAttributes

        public java.util.Collection<pl.edu.icm.unity.types.basic.Attribute> getAttributes()
      • getGroups

        public java.util.Collection<GroupParam> getGroups()
      • getEntityState

        public pl.edu.icm.unity.types.basic.EntityState getEntityState()
      • getCredentialRequirement

        public java.lang.String getCredentialRequirement()
      • getRedirectURL

        public java.lang.String getRedirectURL()
      • setRedirectURL

        public void setRedirectURL​(java.lang.String redirectURL)
      • setCredentialRequirement

        public void setCredentialRequirement​(java.lang.String credentialRequirement)
      • getAttributeClasses

        public java.util.Map<java.lang.String,​java.util.Set<java.lang.String>> getAttributeClasses()
      • getPostSubmitMessage

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

        public void setPostSubmitMessage​(pl.edu.icm.unity.types.I18nMessage message)