Thomas Gelf
da47c7fc7e
Merge remote-tracking branch 'origin/master' into feature/redesign-7144
2014-11-14 21:32:57 +01:00
Johannes Meyer
775c20d9ad
Rename namespace Icinga\Form to Icinga\Forms
...
refs #7553
2014-11-14 10:57:14 +01:00
Bernd Erk
c98a6d5912
Fixes type in error message
2014-11-13 15:41:31 +01:00
Johannes Meyer
259a465f97
Show only the most important warning on the login page
2014-11-12 16:23:55 +01:00
Johannes Meyer
2eb9a771c9
Do not check for any config file, just the directory to show the login-warning
...
refs #7163
2014-11-12 15:58:18 +01:00
Johannes Meyer
b26e585837
Fix that the authentication.ini is being used as trigger for the config warning
...
Should have been the config.ini instead.
refs #7163
2014-11-11 12:42:49 +01:00
Johannes Meyer
8909bd5d59
Show warning on login page even if the configuration directory exists
...
refs #7163
2014-11-11 10:04:01 +01:00
Johannes Meyer
79493592bb
Do not use Installer anywhere.
...
"It's setup."
refs #7163
2014-11-10 10:30:52 +01:00
Johannes Meyer
170ded6510
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
library/Icinga/Authentication/Backend/LdapUserBackend.php
library/Icinga/File/Ini/IniWriter.php
2014-11-04 14:22:53 +01:00
Eric Lippmann
16352fc10c
Move Logger to the Application namespace
...
fixes #7148
2014-10-31 10:27:17 +01:00
Johannes Meyer
c1bff9a26e
Merge branch 'master' into feature/setup-wizard-7163
2014-10-30 10:38:21 +01:00
Eric Lippmann
2698516005
Auth: Remove setting the not existent layout 'login' when logging out externally authenticated users
...
fixes #7191
2014-10-29 16:31:17 +01:00
Johannes Meyer
b4a69792d8
Add note to login page when the configuration directory is missing
...
refs #7163
refs #7409
2014-10-21 16:11:49 +02:00
Johannes Meyer
1cbe2451a8
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
application/forms/Config/Resource/StatusdatResourceForm.php
2014-10-08 16:34:31 +02:00
Eric Lippmann
266936b9b5
Fix that logout of unauthenticated users throws exceptions
2014-10-01 08:13:17 +02:00
Matthias Jentsch
8008387559
Fix typo
2014-09-30 15:59:11 +02:00
Matthias Jentsch
9a57ddcfa6
Fix login redirects when AutologinBackend is used
2014-09-30 15:49:31 +02:00
Johannes Meyer
98fbfe68a8
Redirect to /setup if necessary
...
A user gets now redirected to /setup in case he is not logged in, the token
file exists and no config.ini was found.
refs #7163
2014-09-24 10:46:34 +02:00
Johannes Meyer
bb7972aa39
Merge branch 'master' into bugfix/rebuild-form-builder-5525
...
Conflicts:
application/controllers/AuthenticationController.php
application/controllers/ConfigController.php
application/forms/Authentication/LoginForm.php
application/forms/Preference/GeneralForm.php
modules/monitoring/application/controllers/ChartController.php
2014-08-20 13:13:50 +02:00
Thomas Gelf
736113c80c
AuthenticationController: show friendlier hints...
...
...while not disclosing sensitive information. More to come once we
have our setup wizard.
fixes #6534
2014-08-19 18:55:58 +02:00
Thomas Gelf
f67d273bbd
AuthenticationController: handle redirect parameter
...
This is a form field instead of a get parameter right now.
fixes #6584
2014-08-19 10:14:46 +02:00
Marius Hein
e2c761a7aa
AutoLogin/Logout: Remove own session namespace
...
Store data in the user and implement interface to left
backends store remote information.
fixes #6461
2014-07-30 12:35:55 +02:00
Marius Hein
8b9d446d2e
Autologin: Remove deprecated autologin methods
...
Remove methods from manager because autologin
is now handled with special backends (AutoLoginBackend).
The session is used to store the status about a remote
user authentication to send a 401 header to the client
upon logout.
refs #6461
2014-07-29 10:48:57 +02:00
Johannes Meyer
5da14d3fc5
Adjust LoginForm to suit the "final" form builder implementation
...
refs #5525
2014-07-18 10:23:04 +02:00
Johannes Meyer
1de2d0c14f
Merge branch 'master' into bugfix/rebuild-form-builder-5525
...
Conflicts:
application/forms/Authentication/LoginForm.php
library/Icinga/Test/BaseTestCase.php
library/Icinga/Web/Form.php
library/Icinga/Web/Form/Decorator/BootstrapForm.php
2014-07-17 13:15:42 +02:00
Johannes Meyer
3105c2059e
Remove license headers from all files
...
refs #6309
2014-07-15 13:43:52 +02:00
Johannes Meyer
630b36e706
Adjust Icinga\Form\Authentication\LoginForm to suit the new form builder
...
refs #5525
2014-07-10 11:15:46 +02:00
Johannes Meyer
e21b4243ca
Fix error message when no authentication method available
...
The error handling for configuration files has slightly changed (non
existent files are treated as empty) so the authentication chain handling
needed to be adjusted as well.
fixes #6268
2014-07-09 12:53:25 +02:00
Johannes Meyer
f2e5d8afa5
Remove @codeCoverageIgnoreStart/-Stop annotations
...
refs #6091
2014-06-30 13:58:37 +02:00
Thomas Gelf
3fc1205175
AuthenticationController: use Auth() helper function
2014-06-22 20:08:55 +02:00
Thomas Gelf
23ed744747
params/_render: replace it everywhere
...
Cleaning up controllers and JS, using headers only and respecting
history.
2014-06-22 20:07:44 +02:00
Eric Lippmann
7215ba4f59
Autologin: Do not require a bogus password in the source code
2014-06-11 15:46:58 +02:00
Eric Lippmann
a5e9d6cf0d
auth: increase backends tried counter AFTER skipping autologin backends
2014-06-06 09:33:29 +02:00
Marius Hein
29f593a357
Authentication: Add backend to handle external authentication
...
Drop external auth configuration from config.ini and move
implementation into a single backend provider named
'autologin'. This provider can strip realm names from
username with a custom regexp.
fixes #6081
2014-06-03 17:59:22 +02:00
Eric Lippmann
086e2b6197
Auth: Log and notify user about authentication backend errors
...
refs #5685
2014-06-02 15:47:21 +02:00
Eric Lippmann
ede403977a
Auth: Get password from form only once
...
Before, the user's password was retrieved for every authentication
backend tried for authentication.
2014-06-02 14:04:45 +02:00
Thomas Gelf
cfa0251dbf
Translation: another bunch of translatable strings
...
refs #6339
2014-05-27 21:47:13 +00:00
Johannes Meyer
98ca15d1fb
Mark less important or non-testable code as skipped for code coverage
...
refs #6011
2014-04-28 14:06:41 +02:00
Johannes Meyer
bafa8cc032
Fix authentication error handling
2014-03-28 14:45:03 +01:00
Thomas Gelf
95189fbf46
Fix layout re-rendering after login (thank you, automerge)
2014-03-06 11:07:24 +00:00
Thomas Gelf
c58f79c161
One more automerge issue
2014-03-04 12:45:22 +00:00
Thomas Gelf
57caacb93f
Merge branch 'feature/fanzzzy-5481' into feature/master-1
...
Conflicts:
application/controllers/AuthenticationController.php
application/controllers/ErrorController.php
application/views/scripts/authentication/login.phtml
library/Icinga/Application/ApplicationBootstrap.php
library/Icinga/Web/Controller/ActionController.php
library/Icinga/Web/Hook.php
library/Icinga/Web/Widget/Dashboard.php
2014-03-04 09:42:25 +00:00
Eric Lippmann
07d04628cf
Merge branch 'feature/installation-and-configuration-cleanup-5638'
...
Conflicts:
config/config.ini.in
library/Icinga/Application/ApplicationBootstrap.php
library/Icinga/Application/Cli.php
library/Icinga/Application/EmbeddedWeb.php
library/Icinga/Application/Logger.php
library/Icinga/Application/Modules/Manager.php
library/Icinga/Application/Web.php
library/Icinga/Authentication/Backend/DbUserBackend.php
library/Icinga/Authentication/Manager.php
library/Icinga/User/Preferences/IniStore.php
test/php/library/Icinga/Application/LoggerTest.php
2014-03-03 19:03:39 +01:00
Eric Lippmann
39c80dccaf
Decouple authentication backend creation from Icinga\Authentication\Manager
...
Add authentication backend type msldap with default values for user_class
and user_name_attribute. Backend type ldap now logs an error when user_class
and user_name_attribute ist not configured. Rename membership.ini to
memberships.ini since all our INI configuration files are in the plurar
where it makes sense. The AuthenticationController now handles
authentication
refs #5685
refs #5638
fixes #5218
2014-03-03 17:21:17 +01:00
Matthias Jentsch
a8f765fa3b
Add extern authentication
...
Provide a new settings authenticationMode and delegate the
authentication handling to the webserver when the external authentication mode
is set. Add a new view 'logout' that will be shown after logout from external
authentication as the regular redirect to login is not possible.
refs #5405
2014-02-26 18:08:48 +01:00
Thomas Gelf
39b3af4b51
We no longer need a dedicated layout for login
2014-02-21 14:03:48 +00:00
Eric Lippmann
69a482d106
Auth: Connect only when a authentication backend is used. Fix log in error messages
...
refs #5506
refs #5638
fixes #4931
2014-02-18 09:33:33 +01:00
Eric Lippmann
68086f1b79
Fix PHP Warning: The use statement with non-compound name 'Exception' has no effect
2014-02-12 16:59:53 +01:00
Thomas Gelf
f6692ba436
We should catch all Exceptions when showing errors on the login screen
2014-02-12 12:57:17 +00:00
Eric Lippmann
2242973568
XHR: Force redirect to login if session is expired
...
resolves #5507
2014-01-23 16:03:47 +01:00