package com.sun.identity.saml2.profile;

import com.sun.identity.saml2.assertion.Assertion;
import com.sun.identity.saml2.assertion.NameID;
import com.sun.identity.saml2.protocol.Response;
import java.util.Map;
import java.util.Set;

public class ResponseInfo {
   private Response resp;
   private String relayState;
   private String profileBinding;
   private Assertion assertion;
   private Map<String, Set<String>> attrMap;
   private NameID nameId;
   private String sessionIndex;

   public ResponseInfo(Response response, String binding, String relayState) {
      this.resp = response;
      this.profileBinding = binding;
      this.relayState = relayState;
   }

   public Response getResponse() {
      return this.resp;
   }

   public String getRelayState() {
      return this.relayState;
   }

   public String getProfileBinding() {
      return this.profileBinding;
   }

   public void setAssertion(Assertion assertion) {
      this.assertion = assertion;
   }

   public Assertion getAssertion() {
      return this.assertion;
   }

   public void setAttributeMap(Map<String, Set<String>> attrs) {
      this.attrMap = attrs;
   }

   public Map<String, Set<String>> getAttributeMap() {
      return this.attrMap;
   }

   public void setNameId(NameID id) {
      this.nameId = id;
   }

   public NameID getNameId() {
      return this.nameId;
   }

   public void setSessionIndex(String index) {
      this.sessionIndex = index;
   }

   public String getSessionIndex() {
      return this.sessionIndex;
   }
}
