Class TranslatedRegistrationRequest
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.translation.form.TranslatedRegistrationRequest
-
public class TranslatedRegistrationRequest extends java.lang.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(java.lang.String credentialRequirement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttribute(pl.edu.icm.unity.types.basic.Attribute attribute)
void
addAttributeClass(java.lang.String group, java.lang.String ac)
void
addIdentity(pl.edu.icm.unity.types.basic.IdentityParam identity)
void
addMembership(GroupParam group)
java.util.Map<java.lang.String,java.util.Set<java.lang.String>>
getAttributeClasses()
java.util.Collection<pl.edu.icm.unity.types.basic.Attribute>
getAttributes()
TranslatedRegistrationRequest.AutomaticRequestAction
getAutoAction()
java.lang.String
getCredentialRequirement()
EntityChange
getEntityChange()
pl.edu.icm.unity.types.basic.EntityState
getEntityState()
java.util.Collection<GroupParam>
getGroups()
java.util.Collection<pl.edu.icm.unity.types.basic.IdentityParam>
getIdentities()
AutomaticInvitationProcessingParam
getInvitationProcessing()
pl.edu.icm.unity.types.I18nMessage
getPostSubmitMessage()
java.lang.String
getRedirectURL()
void
removeAttribute(pl.edu.icm.unity.types.basic.Attribute attribute)
void
removeIdentity(pl.edu.icm.unity.types.basic.IdentityParam identity)
void
removeMembership(java.lang.String group)
void
setAutoAction(TranslatedRegistrationRequest.AutomaticRequestAction autoAction)
void
setCredentialRequirement(java.lang.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(java.lang.String redirectURL)
-
-
-
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)
-
setAutoAction
public void setAutoAction(TranslatedRegistrationRequest.AutomaticRequestAction autoAction)
-
setEntityChange
public void setEntityChange(EntityChange entityChange)
-
setEntityState
public void setEntityState(pl.edu.icm.unity.types.basic.EntityState entityState)
-
getAutoAction
public TranslatedRegistrationRequest.AutomaticRequestAction getAutoAction()
-
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()
-
getEntityChange
public EntityChange getEntityChange()
-
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)
-
getInvitationProcessing
public AutomaticInvitationProcessingParam getInvitationProcessing()
-
setInvitationProcessing
public void setInvitationProcessing(AutomaticInvitationProcessingParam invitationProcessing)
-
-