Class RemotelyAuthenticatedInput
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.authn.remote.RemotelyAuthenticatedInput
-
public class RemotelyAuthenticatedInput extends 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(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)
Map<String,RemoteAttribute>
getAttributes()
Map<String,RemoteGroupMembership>
getGroups()
Map<String,RemoteIdentity>
getIdentities()
String
getIdpName()
Map<String,? extends Object>
getRawAttributes()
Set<SessionParticipant>
getSessionParticipants()
String
getTextDump()
void
setAttributes(List<RemoteAttribute> attributes)
void
setGroups(List<RemoteGroupMembership> groups)
void
setIdentities(List<RemoteIdentity> identities)
void
setIdpName(String idpName)
void
setRawAttributes(Map<String,? extends Object> rawAttributes)
String
toString()
-
-
-
Constructor Detail
-
RemotelyAuthenticatedInput
public RemotelyAuthenticatedInput(String idpName)
-
-
Method Detail
-
getIdpName
public String getIdpName()
-
setIdpName
public void setIdpName(String idpName)
-
setGroups
public void setGroups(List<RemoteGroupMembership> groups)
-
setAttributes
public void setAttributes(List<RemoteAttribute> attributes)
-
setIdentities
public void setIdentities(List<RemoteIdentity> identities)
-
addIdentity
public void addIdentity(RemoteIdentity gm)
-
addAttribute
public void addAttribute(RemoteAttribute attribute)
-
addGroup
public void addGroup(RemoteGroupMembership group)
-
getGroups
public Map<String,RemoteGroupMembership> getGroups()
-
getAttributes
public Map<String,RemoteAttribute> getAttributes()
-
getIdentities
public Map<String,RemoteIdentity> getIdentities()
-
getSessionParticipants
public Set<SessionParticipant> getSessionParticipants()
-
addSessionParticipant
public void addSessionParticipant(SessionParticipant sessionParticipant)
-
getTextDump
public String getTextDump()
- Returns:
- Multiline string with a complete contents
-
-