Class RequestAuthnContext


  • @Deprecated
    public class RequestAuthnContext
    extends Object
    Deprecated.
    since 12.0.0
    This class RequestAuthnContext represents the requesting Authentication Context as part of the FSAuthnRequest.
    • Constructor Detail

      • RequestAuthnContext

        public RequestAuthnContext​(List authnContextClassRefList,
                                   List authnContextStatementRefList,
                                   String authnContextComparison)
        Deprecated.
        Constructor to create RequestAuthnContext object.
        Parameters:
        authnContextClassRefList - Ordered list of AuthnContext Classes Refs.
        authnContextStatementRefList - Ordered list of AuthnContext Statement Refs. Note: authnContextClassRefList and authContextStatementRefList are mutually exclusive lists.
        authnContextComparison - AuthnContext Comparison Type. Possible values are exact, minimum, better and maximum.
      • RequestAuthnContext

        public RequestAuthnContext()
        Deprecated.
        Default constructor.
      • RequestAuthnContext

        public RequestAuthnContext​(Element root)
                            throws FSMsgException
        Deprecated.
        Constructor to create RequestAuthnContext object from Docuemnt Element.
        Parameters:
        root - the Document Element.
        Throws:
        FSMsgException - on error.
    • Method Detail

      • getAuthnContextClassRefList

        public List getAuthnContextClassRefList()
        Deprecated.
        Returns List of AuthnContext Class References.
        Returns:
        List of AuthnContext Class Reference classes.
        See Also:
        setAuthnContextClassRefList(List)
      • setAuthnContextClassRefList

        public void setAuthnContextClassRefList​(List authnContextClassRefList)
        Deprecated.
        Sets a List of AuthnContext Class References.
        Parameters:
        authnContextClassRefList - a List of AuthnContext Class References.
        See Also:
        getAuthnContextClassRefList()
      • getAuthnContextStatementRefList

        public List getAuthnContextStatementRefList()
        Deprecated.
        Returns a List of AuthnContext Statement References.
        Returns:
        a List of AuthnContext Statement References.
        See Also:
        setAuthnContextStatementRefList(List)
      • setAuthnContextStatementRefList

        public void setAuthnContextStatementRefList​(List authnContextStatementRefList)
        Deprecated.
        Sets a List of AuthnContext Statement References.
        Parameters:
        authnContextStatementRefList - a List of AuthnContext Statement References.
        See Also:
        getAuthnContextStatementRefList()
      • getAuthnContextComparison

        public String getAuthnContextComparison()
        Deprecated.
        Returns the AuthnContext Comparison type.
        Returns:
        authnContextComparison the AuthnContext Comparison type.
        See Also:
        setAuthnContextComparison(String)
      • setAuthnContextComparison

        public void setAuthnContextComparison​(String authnContextComparison)
        Deprecated.
        Sets the AuthnContext comparison type.
        Parameters:
        authnContextComparison - the AuthnContext comparison type.
        See Also:
        getAuthnContextComparison()
      • getMinorVersion

        public int getMinorVersion()
        Deprecated.
        Returns the MinorVersion.
        Returns:
        the MinorVersion.
        See Also:
        setMinorVersion(int)
      • setMinorVersion

        public void setMinorVersion​(int minorVersion)
        Deprecated.
        Sets the MinorVersion.
        Parameters:
        minorVersion - the MinorVersion.
        See Also:
        getMinorVersion()
      • toXMLString

        public String toXMLString()
                           throws FSMsgException
        Deprecated.
        Returns a String representation of the Logout Response.
        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 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 converting this object to a string.
      • toXMLString

        public String toXMLString​(boolean includeNS,
                                  boolean declareNS,
                                  boolean includeHeader)
                           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.
        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 converting this object ot a string.
      • parseURLEncodedRequest

        public static RequestAuthnContext parseURLEncodedRequest​(jakarta.servlet.http.HttpServletRequest request,
                                                                 int minorVersion)
                                                          throws FSMsgException
        Deprecated.
        Returns RequestAuthnContext object. The object is creating by parsing the HttpServletRequest object.
        Parameters:
        request - the HttpServletRequest object.
        Returns:
        object.
        Throws:
        FSMsgException - if there is an error creating RequestAuthnContext object.
      • 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.