Class FSLogoutNotification


  • @Deprecated
    public class FSLogoutNotification
    extends AbstractRequest
    Deprecated.
    since 12.0.0
    This class contains methods to construct a LogoutRequest object.
    • Field Detail

      • sessionIndex

        protected String sessionIndex
        Deprecated.
      • xmlString

        protected String xmlString
        Deprecated.
      • signatureString

        protected String signatureString
        Deprecated.
      • id

        protected String id
        Deprecated.
      • notOnOrAfter

        protected Date notOnOrAfter
        Deprecated.
    • Constructor Detail

      • FSLogoutNotification

        public FSLogoutNotification()
        Deprecated.
        Default Constructor.
      • FSLogoutNotification

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

        public FSLogoutNotification​(String requestId,
                                    String providerID,
                                    NameIdentifier nameId,
                                    String relayState)
                             throws FSMsgException
        Deprecated.
        Consturctor creates FSLogoutNotification object.
        Parameters:
        requestId - the RequestId attribute.
        providerID - the ProviderID attribute.
        nameId - the NameIdentifier object.
        relayState - the RelayState attribute.
        Throws:
        FSMsgException - if there is an error creating this object.
    • Method Detail

      • getID

        public String getID()
        Deprecated.
        Returns the value of id attribute.
        Returns:
        the value of id attribute.
        See Also:
        setID(String)
      • setID

        public void setID​(String id)
        Deprecated.
        Sets the value of id attribute.
        Parameters:
        id - the value of id attribute.
        See Also:
        getID()
      • setRelayState

        public void setRelayState​(String relayState)
        Deprecated.
        Sets the value of RelayState attribute.
        Parameters:
        relayState - the value of RelayState attribute.
      • getRelayState

        public String getRelayState()
        Deprecated.
        Returns the value of RelayState attribute.
        Returns:
        the value of RelayState attribute.
      • getSignatureString

        public String getSignatureString()
        Deprecated.
        Returns a signed XML string.
        Returns:
        a signed XML string.
      • setMinorVersion

        public void setMinorVersion​(int version)
        Deprecated.
        Sets the value of MinorVersion attribute.
        Overrides:
        setMinorVersion in class AbstractRequest
        Parameters:
        version - the value of MinorVersion attribute.
        See Also:
        getMinorVersion()
      • toXMLString

        public String toXMLString​(boolean includeNS,
                                  boolean declareNS)
                           throws FSMsgException
        Deprecated.
        Returns the string representation of this object.
        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 creating XML string from this object.
      • toXMLString

        public String toXMLString​(boolean includeNS,
                                  boolean declareNS,
                                  boolean includeHeader)
                           throws FSMsgException
        Deprecated.
        Returns the string representation of this object.
        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.
        includeHeader - Determines whether the output include the xml declaration header.
        Returns:
        a string containing the valid XML for this element
        Throws:
        FSMsgException - if there is an error creating XML string from this object.
      • toXMLString

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

        public String getProviderId()
        Deprecated.
        Returns value of ProviderID attribute.
        Returns:
        value of ProviderID attribute.
        See Also:
        setProviderId(String)
      • setProviderId

        public void setProviderId​(String providerID)
        Deprecated.
        Sets value of ProviderID attribute.
        Parameters:
        providerID - value of ProviderID attribute.
        See Also:
        getProviderId()
      • getSessionIndex

        public String getSessionIndex()
        Deprecated.
        Returns value of SessionIndex attribute.
        Returns:
        value of SessionIndex attribute.
        See Also:
        setSessionIndex(String)
      • setSessionIndex

        public void setSessionIndex​(String sessionIndex)
        Deprecated.
        Sets value of SessionIndex attribute.
        Parameters:
        sessionIndex - value of SessionIndex attribute.
        See Also:
        getSessionIndex()
      • setNameIdentifier

        public void setNameIdentifier​(NameIdentifier nameId)
        Deprecated.
        Sets the NameIdentifier object.
        Parameters:
        nameId - the NameIdentifier object.
        See Also:
        getNameIdentifier()
      • toURLEncodedQueryString

        public String toURLEncodedQueryString()
                                       throws FSMsgException
        Deprecated.
        Returns an URL Encoded String.
        Returns:
        a url encoded query string.
        Throws:
        FSMsgException - if there is an error.
      • toBASE64EncodedString

        public String toBASE64EncodedString()
                                     throws FSMsgException
        Deprecated.
        Returns a Base64 Encoded String.
        Returns:
        a Base64 Encoded String.
        Throws:
        FSMsgException - if there is an error encoding the string.
      • parseURLEncodedRequest

        public static FSLogoutNotification parseURLEncodedRequest​(jakarta.servlet.http.HttpServletRequest request)
                                                           throws FSMsgException
        Deprecated.
        Returns FSLogoutNotification object. The object is created by parsing the HttpServletRequest object.
        Parameters:
        request - the HttpServletRequest object.
        Returns:
        FSLogoutNotification object.
        Throws:
        FSMsgException - if there is an error creating FSAuthnRequest object.
      • signXML

        public void signXML​(String certAlias)
                     throws SAMLException
        Deprecated.
        Signs the FSLogoutNotification object.
        Parameters:
        certAlias - the Certificate Alias
        Throws:
        SAMLException - if FSFederationTerminationNotification cannot be signed.
      • setSignature

        public boolean setSignature​(Element elem)
        Deprecated.
        Sets the Element signature.
        Overrides:
        setSignature in class AbstractRequest
        Parameters:
        elem - the Element object
        Returns:
        true if signature is set otherwise false