public class TranslatedRegistrationRequest extends Object
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).
Modifier and Type | Class and Description |
---|---|
static class |
TranslatedRegistrationRequest.AutomaticRequestAction |
Constructor and Description |
---|
TranslatedRegistrationRequest() |
TranslatedRegistrationRequest(String credentialRequirement) |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(pl.edu.icm.unity.types.basic.Attribute attribute) |
void |
addAttributeClass(String group,
String ac) |
void |
addIdentity(pl.edu.icm.unity.types.basic.IdentityParam identity) |
void |
addMembership(GroupParam group) |
Map<String,Set<String>> |
getAttributeClasses() |
Collection<pl.edu.icm.unity.types.basic.Attribute> |
getAttributes() |
TranslatedRegistrationRequest.AutomaticRequestAction |
getAutoAction() |
String |
getCredentialRequirement() |
EntityChange |
getEntityChange() |
pl.edu.icm.unity.types.basic.EntityState |
getEntityState() |
Collection<GroupParam> |
getGroups() |
Collection<pl.edu.icm.unity.types.basic.IdentityParam> |
getIdentities() |
AutomaticInvitationProcessingParam |
getInvitationProcessing() |
pl.edu.icm.unity.types.I18nMessage |
getPostSubmitMessage() |
String |
getRedirectURL() |
void |
removeAttribute(pl.edu.icm.unity.types.basic.Attribute attribute) |
void |
removeIdentity(pl.edu.icm.unity.types.basic.IdentityParam identity) |
void |
removeMembership(String group) |
void |
setAutoAction(TranslatedRegistrationRequest.AutomaticRequestAction autoAction) |
void |
setCredentialRequirement(String credentialRequirement) |
void |
setEntityChange(EntityChange entityChange) |
void |
setEntityState(pl.edu.icm.unity.types.basic.EntityState entityState) |
void |
setInvitationProcessing(AutomaticInvitationProcessingParam invitationProcessing) |
void |
setPostSubmitMessage(pl.edu.icm.unity.types.I18nMessage message) |
void |
setRedirectURL(String redirectURL) |
public TranslatedRegistrationRequest(String credentialRequirement)
public TranslatedRegistrationRequest()
public void addIdentity(pl.edu.icm.unity.types.basic.IdentityParam identity)
public void removeIdentity(pl.edu.icm.unity.types.basic.IdentityParam identity)
public void addAttribute(pl.edu.icm.unity.types.basic.Attribute attribute)
public void removeAttribute(pl.edu.icm.unity.types.basic.Attribute attribute)
public void addMembership(GroupParam group)
public void removeMembership(String group)
public void setAutoAction(TranslatedRegistrationRequest.AutomaticRequestAction autoAction)
public void setEntityChange(EntityChange entityChange)
public void setEntityState(pl.edu.icm.unity.types.basic.EntityState entityState)
public TranslatedRegistrationRequest.AutomaticRequestAction getAutoAction()
public Collection<pl.edu.icm.unity.types.basic.IdentityParam> getIdentities()
public Collection<pl.edu.icm.unity.types.basic.Attribute> getAttributes()
public Collection<GroupParam> getGroups()
public EntityChange getEntityChange()
public pl.edu.icm.unity.types.basic.EntityState getEntityState()
public String getCredentialRequirement()
public String getRedirectURL()
public void setRedirectURL(String redirectURL)
public void setCredentialRequirement(String credentialRequirement)
public pl.edu.icm.unity.types.I18nMessage getPostSubmitMessage()
public void setPostSubmitMessage(pl.edu.icm.unity.types.I18nMessage message)
public AutomaticInvitationProcessingParam getInvitationProcessing()
public void setInvitationProcessing(AutomaticInvitationProcessingParam invitationProcessing)
Copyright © 2019 Unity. All rights reserved.