Class 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 Detail

      • RemotelyAuthenticatedInput

        public RemotelyAuthenticatedInput​(java.lang.String idpName)
    • Method Detail

      • getIdpName

        public java.lang.String getIdpName()
      • setIdpName

        public void setIdpName​(java.lang.String idpName)
      • setAttributes

        public void setAttributes​(java.util.List<RemoteAttribute> attributes)
      • setIdentities

        public void setIdentities​(java.util.List<RemoteIdentity> identities)
      • 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 class java.lang.Object
      • getTextDump

        public java.lang.String getTextDump()
        Returns:
        Multiline string with a complete contents