question: public static RequestSecurityTokenResponse parseXML ( InputStream is ) throws WSFederationException { Document doc = XMLUtils . toDOMDocument ( is , debug ) ; Element root = doc . getDocumentElement ( ) ; return new RequestSecurityTokenResponse ( root ) ; }
target:  Returns RequestSecurityTokenResponse object based on the data in the  input stream. This method is used primarily at the client side.  The schema of the XML document is defined in WS-Trust.