- Jul 18, 2009
-
-
Andreas Åkre Solberg authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1591 44740490-163a-0410-bde0-09ae8108e29a
-
- Jul 17, 2009
-
-
Olav Morken authored
Disable the custom handlers until the logger class and the configuration class can avoid calling recursing into each other. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1590 44740490-163a-0410-bde0-09ae8108e29a
-
- Jul 16, 2009
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1589 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
Change the SimpleSAML_Error_Assertion class to inherit from SimpleSAML_Error_Exception, to signal it being an internal error. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1588 44740490-163a-0410-bde0-09ae8108e29a
-
- Jul 15, 2009
-
-
Andreas Åkre Solberg authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1587 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
Patch by sylvain@demarque.com. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1586 44740490-163a-0410-bde0-09ae8108e29a
-
- Jul 14, 2009
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1585 44740490-163a-0410-bde0-09ae8108e29a
-
- Jul 13, 2009
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1584 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
A small bug with the previously committed code, which could result in a response being sent with a status code of success when it was actually an error. The error was in the code which was included for backwards- compatibility. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1583 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1582 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1581 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
saml2: Make SP authentication source throw a detailed exception when receiving an error from the IdP. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1580 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1579 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
Add a getStatus() function, which retrieves the status code of the response as a sspmod_saml2_Error object. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1578 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
This patch uses the recently added infrastructure for passing exceptions from authentication modules and filters. Exceptions will be passed to the service provider. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1577 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
Since the exception message is now passed back to the SP, the error should be more informative. This patch change the error message to indicate that we are unable to give consent on a passive request. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1576 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1575 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
This changes the SimpleSAML_Auth_ProcessingChain class to pass all exceptions to the user of the processing chain. To use this, the user should define one of SimpleSAML_Auth_State::ERROR_HANDLER_URL or SimpleSAML_Auth_State::ERROR_HANDLER_FUNC in the state array. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1574 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1573 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
This function makes SimpleSAML_Auth_Default save the errorURL given to the login functionin the state array. This will make the SimpleSAML_Auth_State class pass exceptions to this url. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1572 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
This patch removes the loginFailed handler in preparation for replacing it with a new handler based on the exception handler code added to the SimpleSAML_Auth_State class. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1571 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
Introduce a new class: sspmod_saml2_Error, which represents SAML 2 status codes. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1570 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
This patch adds the SimpleSAML_XML_SAML2 class, which currently contain SAML 2 status codes constants. New SAML2 constants should be added to this class. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1569 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
This patch introduces infrastructure for throwing exceptions within authentication modules and processing filters, and later catching them in the application which uses the filters. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1568 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
Makes this exception a subclass of SimpleSAML_Error_Exception. This makes it possible to serialize this exception. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1567 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
This patch adds several functions for writing the exception to the logs with a full backtrace, including the causes for the exception. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1566 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
Including the cause of the exception will make it simpler to trace exceptions through the program. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1565 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
The SimpleSAML_Error_Exception class is a base class for serializable exceptions. This patch adds SimpleSAML_Error_UnserializableException. That class saves some of the information from an Exception and saves it in an serializable exception. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1564 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
Make the SimpleSAML_Error_Exception class suitable for serialization by making it _not_ serialize the trace variable in the Exception class. Serializing the trace-variable is problematic because it contains the parameters to all function calls. This can make the exception very big. This can also make the exception unserializable, if one of the parameters is unserializable. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1563 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
Remove the getAssertionBacktrace() function, which isn't used anywhere. This function is also a bit misleading, since it doesn't actually return the backtrace from where the assertion failed. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1562 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
This patch adds an exception handler which will catch all unhandled exceptions and display an error page to the user. It also adds a handler for PHP errors and warnings. This handler will show a stacktrace of the error, and then pass the error to the normal PHP error handler. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1561 44740490-163a-0410-bde0-09ae8108e29a
-
- Jul 10, 2009
-
-
Andreas Åkre Solberg authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1560 44740490-163a-0410-bde0-09ae8108e29a
-
Andreas Åkre Solberg authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1559 44740490-163a-0410-bde0-09ae8108e29a
-
Andreas Åkre Solberg authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1558 44740490-163a-0410-bde0-09ae8108e29a
-
Andreas Åkre Solberg authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1557 44740490-163a-0410-bde0-09ae8108e29a
-
Andreas Åkre Solberg authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1556 44740490-163a-0410-bde0-09ae8108e29a
-
- Jul 09, 2009
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1555 44740490-163a-0410-bde0-09ae8108e29a
-
- Jul 08, 2009
-
-
Andreas Åkre Solberg authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1554 44740490-163a-0410-bde0-09ae8108e29a
-
Olav Morken authored
Fix a warning from the post template caused by attempting to include a RelayState parameter with the value NULL. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1553 44740490-163a-0410-bde0-09ae8108e29a
-
- Jul 07, 2009
-
-
Olav Morken authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1552 44740490-163a-0410-bde0-09ae8108e29a
-