Class RemotelyAuthenticatedInput
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.authn.remote.RemotelyAuthenticatedInput
-
public class RemotelyAuthenticatedInput extends java.lang.Object
Holds a raw information obtained from an upstream IdP. The purpose of this class is to provide a common interchange format between a pluggable upstream IdP implementation and a fixed code of RemoteVerficator.The data in this class typically should not be translated, unless an upstream IdP strictly requires some translation to be able to populate the contents. The actual mapping of this data to the locally meaningful information is done using this class as an input.
- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description RemotelyAuthenticatedInput(java.lang.String idpName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttribute(RemoteAttribute attribute)
void
addGroup(RemoteGroupMembership group)
void
addIdentity(RemoteIdentity gm)
void
addSessionParticipant(SessionParticipant sessionParticipant)
java.util.Map<java.lang.String,RemoteAttribute>
getAttributes()
java.util.Map<java.lang.String,RemoteGroupMembership>
getGroups()
java.util.Map<java.lang.String,RemoteIdentity>
getIdentities()
java.lang.String
getIdpName()
java.util.Map<java.lang.String,? extends java.lang.Object>
getRawAttributes()
java.util.Set<SessionParticipant>
getSessionParticipants()
java.lang.String
getTextDump()
void
setAttributes(java.util.List<RemoteAttribute> attributes)
void
setGroups(java.util.List<RemoteGroupMembership> groups)
void
setIdentities(java.util.List<RemoteIdentity> identities)
void
setIdpName(java.lang.String idpName)
void
setRawAttributes(java.util.Map<java.lang.String,? extends java.lang.Object> rawAttributes)
java.lang.String
toString()
-
-
-
Method Detail
-
getIdpName
public java.lang.String getIdpName()
-
setIdpName
public void setIdpName(java.lang.String idpName)
-
setGroups
public void setGroups(java.util.List<RemoteGroupMembership> groups)
-
setAttributes
public void setAttributes(java.util.List<RemoteAttribute> attributes)
-
setIdentities
public void setIdentities(java.util.List<RemoteIdentity> identities)
-
addIdentity
public void addIdentity(RemoteIdentity gm)
-
addAttribute
public void addAttribute(RemoteAttribute attribute)
-
addGroup
public void addGroup(RemoteGroupMembership group)
-
getGroups
public java.util.Map<java.lang.String,RemoteGroupMembership> getGroups()
-
getAttributes
public java.util.Map<java.lang.String,RemoteAttribute> getAttributes()
-
getIdentities
public java.util.Map<java.lang.String,RemoteIdentity> getIdentities()
-
getSessionParticipants
public java.util.Set<SessionParticipant> getSessionParticipants()
-
addSessionParticipant
public void addSessionParticipant(SessionParticipant sessionParticipant)
-
getRawAttributes
public java.util.Map<java.lang.String,? extends java.lang.Object> getRawAttributes()
-
setRawAttributes
public void setRawAttributes(java.util.Map<java.lang.String,? extends java.lang.Object> rawAttributes)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getTextDump
public java.lang.String getTextDump()
- Returns:
- Multiline string with a complete contents
-
-