Class FSSubject

  • Direct Known Subclasses:
    SessionSubject

    @Deprecated
    public class FSSubject
    extends Subject
    Deprecated.
    since 12.0.0
    This class has methods to create Subject object.
    • Constructor Detail

      • FSSubject

        protected FSSubject()
        Deprecated.
        Default Constructor.
      • FSSubject

        public FSSubject​(Element subjectElement)
                  throws FSMsgException,
                         SAMLException
        Deprecated.
        Constructor creates FSSubject object from the Document Element.
        Parameters:
        subjectElement - the Document Element
        Throws:
        FSMsgException - if there is an error creating this object.
        SAMLException - if there is an error creating this object.
      • FSSubject

        public FSSubject​(SubjectConfirmation subjectConfirmation)
                  throws SAMLException
        Deprecated.
        Constructor creates FSSubject object.
        Parameters:
        subjectConfirmation - the SubjectConfirmation object.
        Throws:
        SAMLException - if there is an error creating this object.
    • Method Detail

      • setIDPProvidedNameIdentifier

        public boolean setIDPProvidedNameIdentifier​(IDPProvidedNameIdentifier idpNameIdentifier)
        Deprecated.
        Sets the Identity Provider's NameIdentifier.
        Parameters:
        idpNameIdentifier - the Identity Provider's NameIdentifier.
      • getIDPProvidedNameIdentifier

        public IDPProvidedNameIdentifier getIDPProvidedNameIdentifier()
        Deprecated.
        Returns the Identity Provider's NameIdentifier.
        Returns:
        the Identity Provider's NameIdentifier.
      • toXMLString

        public String toXMLString()
                           throws FSMsgException
        Deprecated.
        Returns a String representation of this object.
        Returns:
        a string containing the valid XML for this element
        Throws:
        FSMsgException - if there is an error converting this object ot a string.
      • toXMLString

        public String toXMLString​(boolean includeNS,
                                  boolean declareNS)
                           throws FSMsgException
        Deprecated.
        Returns a String representation of the Logout Response.
        Parameters:
        includeNS - : Determines whether or not the namespace qualifier is prepended to the Element when converted
        declareNS - : Determines whether or not the namespace is declared within the Element.
        Returns:
        a string containing the valid XML for this element
        Throws:
        FSMsgException - if there is an error converting this object ot a string.