| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Even though the default "exact" is used by most people, and few products support anything else, there's people asking for this.
|
| |
|
|
|
|
| |
Instead of keeping SAML-specific error exceptions in lib/SimpleSAML/Error, it makes more sense to have those in the saml module. Now that we have the recent NoAvailableIDP and NoSupportedIDP errors moved there, it's time to change the code implemented recently that uses them.
|
|
|
|
|
|
|
| |
- Bugfix: the modules/saml/www/proxy/invalid_session.php shouldn't call directly the error handler in sspmod_saml_IdP_SAML2. Instead, it should use the SimpleSAML_Auth_State::throwException() method to let it handle the exception appropriately (in this case, it should always return back to the requester).
- The standard specifies that a "urn:oasis:names:tc:SAML:2.0:status:NoSupportedIDP" or "urn:oasis:names:tc:SAML:2.0:status:NoAvailableIDP" second-level status code should be returned to the requester in case an error occurs. Add a couple of exceptions to represent both statuses, and use them to set the right status code in the response.
- We shouldn't ask the user to logout in case the IDPList does not offer an IdP we recognize, or in case the proxy enforces the use of an IdP ('idp' configuration option in the auth source) and such IdP is in the IDPList.
- Similarly, these two cases should also handled in case we are authenticating for the first time, not only when reauthenticating.
|
|
|
|
|
|
| |
When acting as a proxy, SimpleSAMLphp was re-authenticating the user in case the IdP that authenticated a user in a valid session was not included in the list of IdPs provided by an SP asking for authentication. Since we cannot use Single Sign On there, we should ask the user to logout before authenticating again, avoiding an inconsistent session with SPs associated to different IdPs.
This resolves #84.
|
|\
| |
| | |
Test for https://github.com/simplesamlphp/simplesamlphp/pull/400
|
| |
| |
| |
| | |
"saml:NameID"
|
| |
| |
| |
| | |
The saml:FilterScopes filter was removing values that did not contain a scope. It shouldn't.
|
| |
| |
| |
| |
| |
| | |
The new saml:FilterScopes allows a SAML Service Provider to remove the values from a scoped attribute whose scope is not declared in the IdP metadata and/or does not match with the domain in use by the IdP itself.
This closes #22.
|
|/
|
|
| |
Now we are finally using the 2.x branch of the SAML2 library, which was also migrated to use namespaces. Even though the library provides an autoloader that allows loading the classes with the old names using class aliasing, we need to do the migration in one commit (at least for most part of it). This is due to the way SimpleSAMLphp checks data types, using inheritance to check objects agains abstract or more general classes. Even though class aliasing works, there's no way to replicate those relationships, and type checks that use the old class names will fail because the aliases are virtually new classes that don't inherit from others.
|
| |
|
| |
|
| |
|
|
|
|
| |
$state['SimpleSAML_Auth_Source.*'] where needed, while we are transitioning to 2.0. Leave those that will be removed in SimpleSAML_Auth_Default. Move the rest of the code to the new entries in the state array.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Make SQLPersistentNameID more flexible
|
| |
| |
| |
| | |
about creating entries in the SQL datastore, whilst preserving default behaviour
|
| |
| |
| |
| | |
getPersistentAuthData() to avoid confusions around the behaviour of this method.
|
|/
|
|
| |
persistent authentication data. This resolves #247.
|
|
|
|
| |
sspmod_saml_Auth_Source_SP::handleUnsolicitedAuth() and deprecate the former.
|
|
|
|
| |
SimpleSAML_Auth_State::extractPersistentAuthState() and deprecate the former.
|
|
|
|
| |
redirectTrustedURL() and deprecate the former.
|
| |
|
| |
|
| |
|
|
|
|
| |
SimpleSAML_Utils_Config::getSecretSalt(). Deprecate the former and stop using it.
|
|
|
|
| |
SimpleSAML_Utils_Random::generateID(). Deprecate the former and schedule it for removal in 2.0.
|
|
|
|
| |
using it.
|
|
|
|
| |
and stop using it.
|
|
|
|
|
|
| |
arrayize().
Schedule SimpleSAML_Utilities:: arrayize() for removal.
|
| |
|
|
|
|
| |
SimpleSAML_Session::getSessionFromRequest(), and leave the former as deprecated.
|
|
|
|
| |
IdP authenticating the user, not an intermediate proxy.
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3326 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3319 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
| |
getEndpointPrioritizedByBinding function.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3303 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
|
|
| |
hosted metadata (SingleSignOnServiceBinding and SingleLogoutServiceBinding) to control the bindings published as supported in the metadata.
Bugfix in the logout handler (SOAP binding should be reused when responding a request).
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3257 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
|
|
|
|
| |
The saml:sp:IdP authentication data was only saved for SAML 2.0
authentication. This patch moves this variable into common code, so
that it is shared between SAML 2.0 and SAML 1.1.
Thanks to Tim Jobling for reporting this bug!
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3240 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
| |
in eduPersonTargetedID attribute.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3221 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
| |
response from the same entity ID we sent the request to.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3189 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3124 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
|
|
|
| |
This filter verifies the authentication context received from the IdP
against a list of allowed values.
Thanks to Gyula Szabó for creating this filter!
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3031 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
| |
Thanks to Thijs Kinkhorst for fixing this!
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3005 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2868 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2834 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2833 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2832 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2811 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2784 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
| |
partners.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2783 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
| |
datastore.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2781 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2779 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2763 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2762 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2745 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2743 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2679 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2678 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2677 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2610 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
|
| |
This filter can create an attribute from the NameID we receive in
the authentication response.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2548 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2542 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2372 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2339 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2337 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
| |
Thanks to Patrick Honing for providing this patch.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2327 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
|
|
|
|
| |
This patch adds the necessary code for receiving authentication
responses using the HTTP-Artifact binding.
Thanks to Shoaib Ali and Bill Young from New Zealand for spending the
time to implement this.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2305 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2297 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2287 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
|
| |
AuthenticatingAuthority and RequesterID.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2278 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
| |
Fixes issue 295.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2224 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2170 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2055 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2000 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1969 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1956 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1924 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
|
|
|
|
| |
starting SSO.
Fixes issue 230
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1900 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1841 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1840 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1830 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1798 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1786 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1785 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1784 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1782 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1753 44740490-163a-0410-bde0-09ae8108e29a
|
|
|
|
| |
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1742 44740490-163a-0410-bde0-09ae8108e29a
|
|
SAML 2.0.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1695 44740490-163a-0410-bde0-09ae8108e29a
|