summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML/XML
Commit message (Collapse)AuthorAgeFilesLines
...
* Cleaning up authentication request code, and saml 2 sp hosted metadataAndreas Åkre Solberg2008-03-061-40/+62
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@373 44740490-163a-0410-bde0-09ae8108e29a
* Adding a SIMPLESAML_INCPREFIX parameter before the inclusion of new files. ↵Andreas Åkre Solberg2008-03-058-34/+34
| | | | | | This workaround was neccessary for university of oslo to make simplesamlphp work when ini_Set was not available. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@353 44740490-163a-0410-bde0-09ae8108e29a
* Adding option for protecting metadata. Default is that metadata is not ↵Andreas Åkre Solberg2008-03-031-1/+1
| | | | | | protected (publicly available) git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@340 44740490-163a-0410-bde0-09ae8108e29a
* Extracted the attribute filtering code into AttributeFilterAndreas Åkre Solberg2008-02-271-0/+53
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@328 44740490-163a-0410-bde0-09ae8108e29a
* Adding support for full paths outside the simplesamlphp installation. This ↵Andreas Åkre Solberg2008-02-271-1/+1
| | | | | | patch was provided by Kenneth Svee! Thanks! git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@327 44740490-163a-0410-bde0-09ae8108e29a
* Added statistics logging for auth modules, sp entities and sloAndreas Åkre Solberg2008-02-151-0/+2
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@313 44740490-163a-0410-bde0-09ae8108e29a
* remove email addressAndreas Åkre Solberg2008-02-141-1/+1
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@307 44740490-163a-0410-bde0-09ae8108e29a
* Creating metadata in simplesamlphp format, not just saml 2 meta data format.Andreas Åkre Solberg2008-02-141-2/+2
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@301 44740490-163a-0410-bde0-09ae8108e29a
* Adding namequalifier in the shibboleth 1.3 idp Andreas Åkre Solberg2008-02-131-4/+5
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@289 44740490-163a-0410-bde0-09ae8108e29a
* Adding SPNameQualifier again since some implementations need it.Andreas Åkre Solberg2008-02-132-7/+21
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@287 44740490-163a-0410-bde0-09ae8108e29a
* Added support for attribute injection and attribute convertion by the ↵Andreas Åkre Solberg2008-02-131-0/+28
| | | | | | attribute attributealter. Will be documented in the advanced feature user guide git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@284 44740490-163a-0410-bde0-09ae8108e29a
* fix wrong default value for forceauthn settingHans Zandbelt2008-02-041-2/+2
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@250 44740490-163a-0410-bde0-09ae8108e29a
* Alot of template options is now moved from beeing required to beeing optional.Andreas Åkre Solberg2008-02-042-5/+14
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@249 44740490-163a-0410-bde0-09ae8108e29a
* Using AssertionConsumerService instead of shire to better match saml2 ↵Andreas Åkre Solberg2008-02-011-5/+6
| | | | | | metadata. also making audience optional, and make some error proofing. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@237 44740490-163a-0410-bde0-09ae8108e29a
* Implementeed better error handling. Separate static function for fatal error ↵Andreas Åkre Solberg2008-01-311-0/+1
| | | | | | in utitilies that present a error the user. This page to the user shows a error text that can be localized to several languages, the error page also shows debug text, and a way to submit errors to the administrators. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@232 44740490-163a-0410-bde0-09ae8108e29a
* Changed SAML2 AuthnResponse processing.Olav Morken2008-01-311-109/+312
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@231 44740490-163a-0410-bde0-09ae8108e29a
* Removed unnecessary class variables from Shib13:AuthnResponse class.Olav Morken2008-01-311-8/+0
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@230 44740490-163a-0410-bde0-09ae8108e29a
* Changed SAML2:AuthnResponse to use the new Validator class, and cleaned up ↵Olav Morken2008-01-311-171/+82
| | | | | | getAttributes(). git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@229 44740490-163a-0410-bde0-09ae8108e29a
* Changed Shib13:AuthnResponse to use a DOM parser.Olav Morken2008-01-311-85/+70
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@227 44740490-163a-0410-bde0-09ae8108e29a
* Reenabled caching of parsed XML in AuthnResponse.Olav Morken2008-01-311-2/+0
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@226 44740490-163a-0410-bde0-09ae8108e29a
* Setting file properties in svn metadata. Adding header in all library php ↵Andreas Åkre Solberg2008-01-305-43/+22
| | | | | | files with version etc. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@222 44740490-163a-0410-bde0-09ae8108e29a
* Improved the SAML messages templates regarding XML namespaces optimalization ↵Andreas Åkre Solberg2008-01-302-42/+27
| | | | | | etc. in the logout request and response. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@221 44740490-163a-0410-bde0-09ae8108e29a
* At the shibboleth 1.3 idp, move base64attributes option from idphosted to ↵Andreas Åkre Solberg2008-01-301-1/+1
| | | | | | spremote git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@220 44740490-163a-0410-bde0-09ae8108e29a
* The session class now takes the nameid as an array with value and format, ↵Andreas Åkre Solberg2008-01-303-43/+45
| | | | | | instead of two separate methods. this resulted in changes in several files. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@218 44740490-163a-0410-bde0-09ae8108e29a
* Adding support for multivalued attributes in the Shib 1.3 IdPAndreas Åkre Solberg2008-01-291-6/+9
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@217 44740490-163a-0410-bde0-09ae8108e29a
* Removed references to SPNameIdentifier, and added support for at SP to ↵Andreas Åkre Solberg2008-01-293-16/+10
| | | | | | define ForceAuthn = true in metadata. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@216 44740490-163a-0410-bde0-09ae8108e29a
* Changed Shib13:AuthnResponse class to use the new XML validator.Olav Morken2008-01-291-104/+18
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@215 44740490-163a-0410-bde0-09ae8108e29a
* Added XML validator helper class.Olav Morken2008-01-291-0/+136
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@214 44740490-163a-0410-bde0-09ae8108e29a
* Changed the authentication request in SAML 2.0. More effective xml ↵Andreas Åkre Solberg2008-01-291-33/+24
| | | | | | namespaces, removed some unneccessary optional fields, etc. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@213 44740490-163a-0410-bde0-09ae8108e29a
* forgot to checkin the bitmap for favicon, here it isAndreas Åkre Solberg2008-01-283-18/+3
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@207 44740490-163a-0410-bde0-09ae8108e29a
* More efficient session usage. Now caching only assoc array for values from ↵Andreas Åkre Solberg2008-01-281-1/+0
| | | | | | logout request. Also implemented a clean() function to call after successfully logged out. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@205 44740490-163a-0410-bde0-09ae8108e29a
* Removed caching of AuthnResponses in Session object. This reduces the ↵Andreas Åkre Solberg2008-01-281-1/+1
| | | | | | session storage with approx 90%!! git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@203 44740490-163a-0410-bde0-09ae8108e29a
* Adding some headers in files, and setting the ID keyword in svnAndreas Åkre Solberg2008-01-283-35/+19
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@201 44740490-163a-0410-bde0-09ae8108e29a
* Implemented more efficient storage of AuthnRequests in session. Instead of ↵Andreas Åkre Solberg2008-01-283-76/+32
| | | | | | | | | caching the complete request object, we now cache an assoc array with the neccessary parameters. Both for SAML 2.0 and Shib 1.3. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@200 44740490-163a-0410-bde0-09ae8108e29a
* XML:SAML20: Escape variables in XML output.Olav Morken2008-01-244-16/+16
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@190 44740490-163a-0410-bde0-09ae8108e29a
* Shib13:AuthnResponse: Escape data in xml output.Olav Morken2008-01-241-8/+8
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@189 44740490-163a-0410-bde0-09ae8108e29a
* Shib13:AuthResponse: Fix code to return FALSE if the node wasn't found.Olav Morken2008-01-221-0/+5
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@187 44740490-163a-0410-bde0-09ae8108e29a
* Shib13:AuthResponse: Change to use the new node validation method.Olav Morken2008-01-221-2/+37
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@186 44740490-163a-0410-bde0-09ae8108e29a
* Change SAML2 & Shib13 AuthResponse to use the new ↵Olav Morken2008-01-222-37/+24
| | | | | | fingerprint-retrival-function in xmlseclibs. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@184 44740490-163a-0410-bde0-09ae8108e29a
* Rewrite of SAML2 HTTP Redirect request signing, now using xmlseclibs. Lasse Birnbaum Jensen2008-01-201-1/+0
| | | | | | | | | | | | | | | Implemented verification of authenticationrequest, logoutrequest and logoutresponse. Moved config of signing and verification to individual metadata entries. To sign/verify on hosted SP there must be a certificate and a privatekey. The normal certificate and privatekey of the IdP are reused when signing is enabled. To verify remote SP and/or IdP the remote certificate must be present. This commit is tested to some extend - please post bugs on google code project page. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@178 44740490-163a-0410-bde0-09ae8108e29a
* Updating the SAML 2.0 authnresponse generation to use the new API in ↵Andreas Åkre Solberg2008-01-171-1/+1
| | | | | | xmlseclibs for adding reference ID attribute... Basicly an updated needed to make the saml 2 part work with the new xmlseclib version git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@176 44740490-163a-0410-bde0-09ae8108e29a
* Typo NameIDFormat versus NameIDformat. Thanks to James HartfordAndreas Åkre Solberg2008-01-171-3/+3
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@174 44740490-163a-0410-bde0-09ae8108e29a
* Applied patch from Hans Zandbelt (with some modifications). This patch ↵Olav Morken2008-01-172-1/+3
| | | | | | enables signing of authentication requests if there is an privatekey-element in the SP's metadata. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@172 44740490-163a-0410-bde0-09ae8108e29a
* Added the possibility for the logger to get the trackID it self... Temporary ↵Andreas Åkre Solberg2008-01-171-0/+9
| | | | | | thing, we shuold rewrite and improve the logging class a bit. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@165 44740490-163a-0410-bde0-09ae8108e29a
* Syntax error. replaced next with continueAndreas Åkre Solberg2008-01-171-3/+2
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@163 44740490-163a-0410-bde0-09ae8108e29a
* Shib13:AuthnResponse - Fix attribute parsing.Olav Morken2008-01-151-2/+2
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@160 44740490-163a-0410-bde0-09ae8108e29a
* Removed the SimpleSAML_XML_MetaDataStore class and replaced all references ↵Olav Morken2008-01-153-170/+4
| | | | | | to it with the SimpleSAML_Metadata_MetaDataStorageHandler class. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@159 44740490-163a-0410-bde0-09ae8108e29a
* Change the metadata set we retrieve the base64encode parameter from. Now at ↵Andreas Åkre Solberg2008-01-111-1/+1
| | | | | | the IdP side it will read this option from the SAML 2.0 SP Remote metadata. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@151 44740490-163a-0410-bde0-09ae8108e29a
* Implemented SAML 2.0 XML parsing of SAML 2.0 IdP Remote (yet untested)Andreas Åkre Solberg2008-01-091-0/+13
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@149 44740490-163a-0410-bde0-09ae8108e29a
* Progress on the SAML 2.0 XML Meta data handler... Added a separate sipleXML ↵Andreas Åkre Solberg2008-01-091-0/+55
| | | | | | parser, that I will reuse other places in the code. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@148 44740490-163a-0410-bde0-09ae8108e29a
* Updated files to use the new abstraction classes for metadata instead of the ↵Andreas Åkre Solberg2008-01-075-10/+10
| | | | | | old class. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@143 44740490-163a-0410-bde0-09ae8108e29a
* base64 decoding of attributes in shib13 spAndreas Åkre Solberg2008-01-071-1/+13
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@134 44740490-163a-0410-bde0-09ae8108e29a
* SAML2:AuthnResponse - Changed getInResponseTo() to use a different xPath ↵Olav Morken2007-12-171-3/+4
| | | | | | approach. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@123 44740490-163a-0410-bde0-09ae8108e29a
* SAML2:AuthnResponse - Changed functions in class to use self::<constant> ↵Olav Morken2007-12-171-6/+6
| | | | | | instead of <constant>. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@122 44740490-163a-0410-bde0-09ae8108e29a
* SAML2:AuthnResponse - Changed getInResponseTo() to use class constant ↵Olav Morken2007-12-171-1/+1
| | | | | | SAML2_PROTOCOL_NS instead of string. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@121 44740490-163a-0410-bde0-09ae8108e29a
* SAML2:AuthnResponse - Removed SAML2_BINDINGS_POST and SAML2_STATUS_SUCCESS ↵Olav Morken2007-12-171-4/+0
| | | | | | unused run-time defines. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@120 44740490-163a-0410-bde0-09ae8108e29a
* SAML2:AuthnResponse - Made SAML2_ASSERT_NS and SAML2_PROTOCOL_NS constants ↵Olav Morken2007-12-171-3/+7
| | | | | | of the class instead of run-time defines. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@119 44740490-163a-0410-bde0-09ae8108e29a
* SAML2:LogoutResponse - Escape InResponseTo value in response data.Olav Morken2007-12-171-1/+1
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@117 44740490-163a-0410-bde0-09ae8108e29a
* SAML2:AuthnResponse - Added getInResponseTo() method to get the InResponseTo ↵Olav Morken2007-12-171-1/+29
| | | | | | attribute of the response-element. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@116 44740490-163a-0410-bde0-09ae8108e29a
* SAML2/AuthnResponse: Encode values that may contain special characters (such ↵Olav Morken2007-12-141-9/+9
| | | | | | as '"&<>'). git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@109 44740490-163a-0410-bde0-09ae8108e29a
* Changed scripts to use ->getBaseDir() instead of ->getValue('basedir').Olav Morken2007-12-142-2/+2
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@106 44740490-163a-0410-bde0-09ae8108e29a
* SAML2/AuthnResponse: Removed commented-out $authnResponse assignment.Olav Morken2007-12-131-72/+0
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@98 44740490-163a-0410-bde0-09ae8108e29a
* Added support for multivalued attributes in the IdP.Olav Morken2007-11-301-7/+35
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@90 44740490-163a-0410-bde0-09ae8108e29a
* Adding support for openid metadata in metadatastore classAndreas Åkre Solberg2007-11-081-1/+7
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@67 44740490-163a-0410-bde0-09ae8108e29a
* Adding support for handling the shire parameter, and do a prefix match on ↵Andreas Åkre Solberg2007-11-021-0/+11
| | | | | | the AssertionConsumerURL parameter in the sp remote metadata. This request come from Ajay in RedIRIS. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@65 44740490-163a-0410-bde0-09ae8108e29a
* Traversing multiple attribute statements in one assertion in Shib SPAndreas Åkre Solberg2007-10-231-5/+12
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@47 44740490-163a-0410-bde0-09ae8108e29a
* Implementing attributemapping and attribute filteringAndreas Åkre Solberg2007-10-211-0/+65
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@40 44740490-163a-0410-bde0-09ae8108e29a
* Updated doc. Fixed bug with retrieving autommatically generated ↵Andreas Åkre Solberg2007-10-151-1/+1
| | | | | | assertionconsumerurl in authnrequest (shib) git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@28 44740490-163a-0410-bde0-09ae8108e29a
* Added SAML 2.0 IdP Discovery service. Read more here: ↵Andreas Åkre Solberg2007-10-122-0/+10
| | | | | | http://rnd.feide.no/2007/10/12/saml-20-idp-discovery-service-implemented/ git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@23 44740490-163a-0410-bde0-09ae8108e29a
* Simplified metadata! tidy up in metadata. Added support for sending metadata ↵Andreas Åkre Solberg2007-09-305-6/+49
| | | | | | to feide. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@16 44740490-163a-0410-bde0-09ae8108e29a
* Adding debug info about host to lookup for missing metadata.Andreas Åkre Solberg2007-09-271-1/+1
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@13 44740490-163a-0410-bde0-09ae8108e29a
* fix exception with fingerprint mismatch. Fix discovery of HTTP-HOST when ↵Andreas Åkre Solberg2007-09-252-1/+7
| | | | | | Host: header contains port number. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@12 44740490-163a-0410-bde0-09ae8108e29a
* Adding initial support for Shibboleth IdPAndreas Åkre Solberg2007-09-172-53/+80
| | | | git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@8 44740490-163a-0410-bde0-09ae8108e29a
* Initial commit of version 0.4 of simplesamlphpAndreas Åkre Solberg2007-09-148-0/+1789
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2 44740490-163a-0410-bde0-09ae8108e29a