Class IDPSessionCopy

  • All Implemented Interfaces:
    Serializable

    public class IDPSessionCopy
    extends Object
    implements Serializable
    This class represents a copy of a session in the identity provider side. It keeps track of information that is needed for single sign on as well as single log out. The difference between IDPSession and IDPSessionCopy is IDPSessionCopy only keeps SSOToken id so that it can be Serializable.
    See Also:
    Serialized Form
    • Constructor Detail

      • IDPSessionCopy

        public IDPSessionCopy()
        Default constructor for deserialization.
      • IDPSessionCopy

        public IDPSessionCopy​(String ssoToken)
        Constructor for a IDPSessionCopy
        Parameters:
        ssoToken - the SSO Token corresponding to the IDPSessionCopy
      • IDPSessionCopy

        public IDPSessionCopy​(IDPSession idpSession)
    • Method Detail

      • getSSOToken

        public String getSSOToken()
        Returns the SSO Token of the session
        Returns:
        the SSO Token of the session
      • getNameIDandSPpairs

        public List<NameIDandSPpair> getNameIDandSPpairs()
        Returns the list of NameID and SPEntityID pair of the session
        Returns:
        the list of NameID and SPEntityID pair of the session
      • setPendingLogoutRequestID

        public void setPendingLogoutRequestID​(String id)
        Sets the pending log out request id of the session
        Parameters:
        id - the request id
      • getPendingLogoutRequestID

        public String getPendingLogoutRequestID()
        Returns the pending log out request id of the session
        Returns:
        id the pending log out request id
      • setOriginatingLogoutRequestBinding

        public void setOriginatingLogoutRequestBinding​(String originatingLogoutRequestBinding)
        Sets the original logout request binding.
        Parameters:
        originatingLogoutRequestBinding - The original logout request binding.
      • getOriginatingLogoutRequestBinding

        public String getOriginatingLogoutRequestBinding()
        Returns the original logout request binding.
        Returns:
        The original logout request binding.
      • setOriginatingLogoutRequestID

        public void setOriginatingLogoutRequestID​(String id)
        Sets the original log out request id of the session
        Parameters:
        id - the request id
      • getOriginatingLogoutRequestID

        public String getOriginatingLogoutRequestID()
        Returns the original log out request id of the session
        Returns:
        the original log out request id
      • setOriginatingLogoutSPEntityID

        public void setOriginatingLogoutSPEntityID​(String id)
        Sets the original log out SPEntityID of the session
        Parameters:
        id - the SPEntityID
      • getOriginatingLogoutSPEntityID

        public String getOriginatingLogoutSPEntityID()
        Returns the original log out SPEntityID of the session
        Returns:
        the original log out SPEntityID
      • setLogoutAll

        public void setLogoutAll​(boolean enable)
        Sets the logoutAll property
        Parameters:
        enable - true or false
      • getLogoutAll

        public boolean getLogoutAll()
        Returnss the logoutAll property
      • setMetaAlias

        public void setMetaAlias​(String metaAlias)
        Sets the IDP Meta Alias.
        Parameters:
        metaAlias - Meta Alias
      • getMetaAlias

        public String getMetaAlias()
        Returns the IDP Meta Alias.
        Returns:
        the IDP Meta Alias