Lukas Reschke
4691870887
Don't advertise ability to change display name
...
Otherwise users can change their display name and email address which is in a SAML scenario undesired.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-31 16:58:51 +02:00
Lukas Reschke
a5a406fb1f
Backend also supports setting a displayname
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-31 16:28:31 +02:00
Lukas Reschke
d9245ae533
Follow PSR file naming
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-31 16:28:31 +02:00
Lukas Reschke
034e2d7c8a
Claim to always support \OC\User\Backend::GET_DISPLAYNAME
...
`\OC_User::loginWithApache` sets the display name otherwise to the login name which is wrong.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-31 16:28:26 +02:00
Lukas Reschke
c55614dc3c
Add baseurl to SAML settings
...
In case the protected server is behind reverse proxies with a different protocol this is required.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-31 09:33:39 +02:00
Morris Jobke
7a1cd3c216
Use proper namespace for user backend class
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-07-27 16:05:02 +02:00
Allan Nordhøy
9cd8a36cf1
Fix spelling
...
XML, exists
admintest.php XML / exists
advanced_settings_example.php XML
removed "is" exists
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-07-18 19:42:35 +02:00
Lukas Reschke
1a1a11c8e9
Add support for mapping attributes
...
This adds support for mapping attributes for full name and email
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-02-16 15:23:46 +01:00
Lukas Reschke
c1ab62ddac
Log last error reason
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-02-14 16:24:17 +01:00
Lukas Reschke
29c60c3869
Add better error handling
...
1. Enable `debug` mode if debug mode is enabled in config.php
2. Log errors to the log file
Also I fixed the unit tests that broke with https://github.com/nextcloud/user_saml/pull/81
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-02-03 12:30:10 +01:00
Morris Jobke
722e94c0d0
Add icon to admin page sidebar
...
* follow up to nextcloud/server#3151
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-01-24 12:01:34 -06:00
Lukas Reschke
dd4ebe6e3d
Add integration test for Environment Variable
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-01-19 01:46:26 +01:00
Lukas Reschke
fb56b76710
Enable strict mode
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-01-12 22:10:57 +01:00
Joas Schilling
a0662caf61
Do not use deprecated class anymore
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-12-14 11:45:50 +01:00
Lukas Reschke
a616f1d238
No password confirmation for SAML
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-24 10:11:12 +01:00
Lukas Reschke
79462b37fd
Disable debug mode
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-11-14 14:13:33 +01:00
Lukas Reschke
59fc3d0fc9
ADFS lower-case support
2016-11-14 14:02:54 +01:00
Lukas Reschke
314ae475f6
Add support for environment variable login
2016-11-14 13:47:30 +01:00
Lukas Reschke
e8d38fbd39
Add tests for Application class
2016-09-30 14:38:57 +02:00
Lukas Reschke
da7afd3828
Add tests for "Admin"
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-30 14:19:12 +02:00
Lukas Reschke
5f6ab59075
Add test for OnlyLoggedInMiddleware
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-30 13:52:02 +02:00
Lukas Reschke
6cdc174fdd
Add switch to configure whether SAML auth is used for desktop clients
2016-09-26 22:06:17 +02:00
Lukas Reschke
f60698dc0f
Merge branch 'master' of https://github.com/nextcloud/user_saml
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 21:33:50 +02:00
Lukas Reschke
c27d002d10
Remove unrequired controllers
2016-09-26 21:33:19 +02:00
Lukas Reschke
9b97c7350b
Remove unused code
...
This is now also part of core
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 21:24:44 +02:00
Arthur Schiwon
f511e7e887
IAdmin is now ISettings
2016-08-11 14:48:45 +02:00
Lukas Reschke
85364aeb34
Use new admin page module
...
Makes this page a single page as implemented in https://github.com/nextcloud/server/pull/796
2016-08-10 16:27:21 +02:00
Lukas Reschke
a5a8b98512
It should be uid not token
...
That happens when testing locally with SQLite...
2016-07-06 15:11:54 +02:00
Lukas Reschke
53b182990c
Only allow access if user is not authed
...
Fixes https://github.com/nextcloud/user_saml/issues/15
2016-07-04 14:33:26 +02:00
Lukas Reschke
07a98d66f1
Add Shibboleth users to DB
...
So search etc. works fine
2016-07-04 11:34:20 +02:00
Lukas Reschke
b9a157e36d
Add wantsnameid
2016-06-29 21:50:09 +02:00
Lukas Reschke
f734958836
Add possibility to enforce local user account
...
Fixes https://github.com/nextcloud/user_saml/issues/12
Fixes https://github.com/nextcloud/user_saml/issues/5
2016-06-29 20:34:10 +02:00
Lukas Reschke
84c1547c85
Add application specific passwords
...
Fixes https://github.com/nextcloud/user_saml/issues/1
2016-06-29 18:50:02 +02:00
Lukas Reschke
03646e6159
Make compatible with desktop clients
...
The cookie "_SHIBSESSION_" is expected.
Fixes https://github.com/nextcloud/user_saml/issues/9
2016-06-29 12:06:50 +02:00
Lukas Reschke
77499230a2
Only show logout if SLO is set
...
Fixes https://github.com/nextcloud/user_saml/issues/10
2016-06-29 11:10:59 +02:00
Lukas Reschke
906a1aba34
Require CSRF token
2016-06-29 10:58:05 +02:00
Lukas Reschke
46bab66c28
Proper session keys
2016-06-29 10:56:27 +02:00
Lukas Reschke
75d0e0d124
Reuse variable
2016-06-29 10:52:23 +02:00
Lukas Reschke
0e66028025
Add CSRF token and track AuthnRequestID
...
Fixes https://github.com/nextcloud/user_saml/issues/11
2016-06-29 10:51:07 +02:00
Lukas Reschke
99bbde20dc
Add mapping editor
...
Fixes https://github.com/nextcloud/user_saml/issues/4
2016-06-29 10:25:09 +02:00
Lukas Reschke
ada6b6ebc8
Initial import
2016-06-29 00:04:23 +02:00