Class TranslatedRegistrationRequest
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.translation.form.TranslatedRegistrationRequest
-
public class TranslatedRegistrationRequest extends Object
Output ofRegistrationRequest
orEnquiryResponse
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TranslatedRegistrationRequest.AutomaticRequestAction
-
Constructor Summary
Constructors Constructor Description TranslatedRegistrationRequest()
TranslatedRegistrationRequest(String credentialRequirement)
-
Method Summary
-
-
-
Constructor Detail
-
TranslatedRegistrationRequest
public TranslatedRegistrationRequest(String credentialRequirement)
-
TranslatedRegistrationRequest
public TranslatedRegistrationRequest()
-
-
Method Detail
-
addIdentity
public void addIdentity(IdentityParam identity)
-
removeIdentity
public void removeIdentity(IdentityParam identity)
-
addAttribute
public void addAttribute(Attribute attribute)
-
removeAttribute
public void removeAttribute(Attribute attribute)
-
addMembership
public void addMembership(GroupParam group)
-
removeMembership
public void removeMembership(String group)
-
setAutoAction
public void setAutoAction(TranslatedRegistrationRequest.AutomaticRequestAction autoAction)
-
setEntityChange
public void setEntityChange(EntityChange entityChange)
-
setEntityState
public void setEntityState(EntityState entityState)
-
getAutoAction
public TranslatedRegistrationRequest.AutomaticRequestAction getAutoAction()
-
getIdentities
public Collection<IdentityParam> getIdentities()
-
getAttributes
public Collection<Attribute> getAttributes()
-
getGroups
public Collection<GroupParam> getGroups()
-
getEntityChange
public EntityChange getEntityChange()
-
getEntityState
public EntityState getEntityState()
-
getCredentialRequirement
public String getCredentialRequirement()
-
getRedirectURL
public String getRedirectURL()
-
setRedirectURL
public void setRedirectURL(String redirectURL)
-
setCredentialRequirement
public void setCredentialRequirement(String credentialRequirement)
-
getPostSubmitMessage
public I18nMessage getPostSubmitMessage()
-
setPostSubmitMessage
public void setPostSubmitMessage(I18nMessage message)
-
getInvitationProcessingParams
public List<AutomaticInvitationProcessingParam> getInvitationProcessingParams()
-
addInvitationProcessingParam
public void addInvitationProcessingParam(AutomaticInvitationProcessingParam invitationProcessing)
-
getMfaPreferenceStatus
public Boolean getMfaPreferenceStatus()
-
setMfaPreferenceStatus
public void setMfaPreferenceStatus(boolean mfaPreferenceStatus)
-
-