Class STSHelper


  • public class STSHelper
    extends Object
    The Class STSHelper.
    • Method Detail

      • getStatusCode

        public static String getStatusCode​(Element stsResponse)
        Gets the status code.
        Parameters:
        stsResponse - the sts response
        Returns:
        the status code
      • getStatusMessage

        public static String getStatusMessage​(Element stsResponse)
        Gets the status message.
        Parameters:
        stsResponse - the sts response
        Returns:
        the status message
      • getNotOnOrAfterConditions

        public static Calendar getNotOnOrAfterConditions​(Element stsResponse)
        Gets the not on or after conditions.
        Parameters:
        stsResponse - the sts response
        Returns:
        the not on or after conditions
      • getConditions

        public static NodeList getConditions​(Element stsResponse)
        Gets the conditions.
        Parameters:
        stsResponse - the sts response
        Returns:
        the conditions
      • getAttributes

        public static NodeList getAttributes​(Element stsResponse)
        Gets the attributes.
        Parameters:
        stsResponse - the sts response
        Returns:
        the attributes
      • getAssertion

        public static Element getAssertion​(Element stsResponse)
        Gets the assertion.
        Parameters:
        stsResponse - the sts response
        Returns:
        the assertion
      • getNiss

        public static String getNiss​(Element element)
        Gets the niss.
        Parameters:
        element - the element
        Returns:
        the niss
      • convert

        public static Element convert​(Source stsResponse)
        Convert.
        Parameters:
        stsResponse - the sts response
        Returns:
        the element