| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
For #455
|
|
|
|
| |
`noop()` is a method on the template after all.
|
|
|
|
|
|
| |
For #455. Note that if translation tags were domain-free strings, the
mapping from tab to tabtitle would be redundant. It would still be
necessary to mark the strings as noop however.
|
|
|
|
| |
For #454, #455
|
|
|
|
| |
For #455
|
|\
| |
| | |
Deprecate the certFingerprint option.
|
| |
| |
| |
| |
| |
| | |
Issue a notice when the option is used nonetheless.
Closes: #432
|
| |
| |
| |
| | |
There was a typo in the name of the class, where the module was referenced as "smartattribute" instead of "smartattributes".
|
| |
| |
| |
| | |
This is needed for the autoloader to work, or code calling class_implements(), among others.
|
| | |
|
| |
| |
| |
| | |
Added checks for Date/Time, JSON, cURL and Session.
|
| | |
|
| |
| |
| |
| | |
For: #454
|
| |
| |
| |
| | |
For: #454
|
| |
| |
| |
| | |
Even though the default "exact" is used by most people, and few products support anything else, there's people asking for this.
|
| |
| |
| |
| | |
Since we have updated the version of the SAML2 library in use, we should use SAML2\Constants now.
|
| |
| |
| |
| | |
SimpleSAML_Error_ProxyCountExceeded exceptions.
|
| | |
|
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
This makes it easier to identify error conditions and return errors to an SP. More known errors should also be added here.
|
| |
| |
| |
| | |
The SAML2 IdP should keep the RequestedAuthnContext in the state array, so that authentication sources (or processing filters) can use that information during authentication.
|
| | |
|
| |
| |
| |
| |
| |
| | |
We don't use the MySQL extension directly, but PDO instead. We should therefore check for the PDO extension.
This resolves #448.
|
| |
| |
| |
| |
| |
| |
| | |
- 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.
|
| |
| |
| |
| |
| |
| | |
attribute values.
Due to recent changes in the SAML2 library, when an attribute has a value that contains XML, its contents are returned as a DOMNodeList instead of a string. This causes problems when running as a proxy, since the SAML2 IdP will obtain attributes in a format that cannot be cast to string. Regardless of the attribute encoding configured in the IdP for a remote SP, we should handle those cases gracefully, so that the IdP don't end up in an uncaught exception.
|
|/
|
|
|
|
| |
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"
|
| |
| |
| |
| | |
If we want to access the sandbox, we can do that from admin/ or type the URL directly.
|
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
Fix issue with Facebook authentication retrieving only user id and name
|
| | | |
|
| | |
| | |
| | |
| | | |
Use the recently added SimpleSAML_Configuration::getBasePath() instead. It guarantees the path prepended with a slash, so no need to do that every time when calling the method. As a side effect, we get rid of buggy invocations (calling getBaseUrl() instead of getBaseURL()), and also of old-style convention for the 'baseurlpath' configuration option, allowing a star at the beginning.
|
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
This is related to PR #313. The option was in use but not documented.
|
|\ \ \
| | | |
| | | | |
Added port to the LDAP base filter configuration
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
in session.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Add a configuration option named 'admin.checkforupdates' to enable or disable this feature.
|
| | | |
| | | |
| | | |
| | | | |
We shouldn't wait for long when connecting to github's API to check for the latest release. Set a timeout of a couple of seconds. Also, remove commented debugging code.
|
| | | |
| | | |
| | | |
| | | | |
Now that we have all our releases in github, we can use its API to see of the latest stable release there is newer than the version we are running. In that case, we show a warning in the configuration tab.
|
| |_|/
|/| | |
|
|\ \ \
| | | |
| | | |
| | | | |
YA Merge
|
| | | |
| | | |
| | | |
| | | | |
Both have been migrated to use namespaces.
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
This allows for using twig templates, but does not include code for
localizing twig templates.
|
| | | |
| | | |
| | | |
| | | | |
WTF...
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Improve the comment around error=user_denied
|
| | | |
| | | |
| | | |
| | | |
| | | | |
rather than the discontinued OAuth WRAP. Attributes are now retrieved
from the Microsoft Graph API rather than the Messenger API.
|
| | | |
| | | |
| | | |
| | | | |
This makes the filter a little more useful for people who want to generate default values from another attribute only if none alreay exist.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
they can processed as markdown and displayed in github.
|
| | | |
| | | |
| | | |
| | | | |
we should throw that exception instead of just printing it as plain text and exit. This resolves #401.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
allowed. Reported by John Page (hyp3rlinx).
|
|\ \ \ \
| | | | |
| | | | | |
General improvements of MemcacheMonitor module
|
| | | | |
| | | | |
| | | | | |
Added missing definitions
|
| | |_|/
| |/| |
| | | | |
Fix missing type attribute to comply with W3c XHTML 1.0 Transitional
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Sometimes appear in error logs as:
PHP Notice: Undefined index: ReturnTo in .../modules/core/www/as_login.php on line 9
PHP Notice: Undefined index: AuthId in .../modules/core/www/as_login.php on line 13
|
| | |
| | |
| | |
| | | |
fetching mapping files from modules, not only from the 'attributemap' directory in the root of SSP's installation.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
to log the sspmod_saml_Error exception itself, as that doesn't have any valuable information. We log the exception itself instead. Reword the previous message a bit, too.
|
| | | |
|
| | |
| | |
| | |
| | | |
the form a bit too for those devices, so that the view is better.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
creating a transient session, it only causes trouble.
|
| | |
| | |
| | |
| | | |
configuration, allowing to set not only the format, but also the value for "AllowCreate".
|
| | |
| | |
| | | |
Fixes: Mar 25 11:06:53 simplesamlphp INFO [0015a148dc] Template: Looking up [{login:processing]: not translated at all.
|
|\ \ \
| | | |
| | | | |
Add Greek support
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
An empty array shouldn't lead to an aborted logon.
Example when we try to get the 'mail' attribute:
UserA has a value set in the mail-attribute and passes the test -> Negotiate logon succeeds
UserB has an empty mail-attribute and fails the test -> Negotiate logon fails and the user has to log on manually (fallback to LDAP is initiated)
|
| | | |
| | | |
| | | |
| | | | |
the state array, and set logout as "saml1" to avoid SLO, since SLO requires NameIDs.
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Changes for PHP 7.
|
| | | | | |
|
|/ / / / |
|
|/ / / |
|
| | | |
|
| | | |
|