This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<samlp:Response xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol" IssueInstant="2015-05-13T18:09:17Z" MajorVersion="1" MinorVersion="1" ResponseID="pfxc5e6b585-79ea-8f24-e69f-0c7fd89ed1d5" Recipient="https://pfs.postini.com/pfs/spServlet"> | |
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> | |
<ds:SignedInfo> | |
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> | |
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> | |
<ds:Reference URI="#pfxc5e6b585-79ea-8f24-e69f-0c7fd89ed1d5"> | |
<ds:Transforms> | |
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> | |
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol" Recipient="https://www.egencia.com/pub/agent.dll?qscr=sson&gpid={gpid}" IssueInstant="2015-05-13T18:01:53Z" MinorVersion="1" MajorVersion="1" ResponseID="pfx946b3ff1-095c-403f-314b-b2099865f5bb"> | |
<samlp:Status> | |
<samlp:StatusCode Value="samlp:Success"/> | |
</samlp:Status> | |
<saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" Issuer="https://app.onelogin-shadow.com/saml/metadata/408390" IssueInstant="2015-05-13T18:01:53Z" AssertionID="A73fd0865378c1723851f402f5c0fb371af79ba25" MinorVersion="1" MajorVersion="1"> | |
<saml:Conditions NotOnOrAfter="2015-05-13T18:04:53Z" NotBefore="2015-05-13T17:58:53Z"> | |
<saml:AudienceRestrictionCondition> | |
<saml:Audience>https://www.egencia.com/</saml:Audience> | |
</saml:AudienceRestrictionCondition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AuthType Basic | |
AuthName "Private" | |
AuthUserFile /var/www/.htpasswd | |
AuthGroupFile /dev/null | |
Require valid-user | |
# BEGIN Primary Feedburner | |
RewriteEngine On | |
RewriteBase / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rexml/document' | |
xml = File.read('cia-1996.xml') | |
doc = REXML::Document.new(xml) | |
continents = [] | |
countries = [] | |
doc.elements.each('cia/continent') do |continent| | |
continents << {:name => continent.attribute('name').to_s} | |
end |