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