File tree 5 files changed +11
-7
lines changed
5 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 15
15
#
16
16
"""
17
17
Contains web authentication and login functionality for NAV.
18
-
19
- The "*Middleware" is Django-specific.
20
18
"""
21
19
22
20
from datetime import datetime
Original file line number Diff line number Diff line change 13
13
# more details. You should have received a copy of the GNU General Public
14
14
# License along with NAV. If not, see <http://www.gnu.org/licenses/>.
15
15
#
16
+ """
17
+ Django middleware for handling login, authentication and authorization for NAV.
18
+ """
16
19
17
20
import logging
18
21
import os
Original file line number Diff line number Diff line change 13
13
# more details. You should have received a copy of the GNU General Public
14
14
# License along with NAV. If not, see <http://www.gnu.org/licenses/>.
15
15
#
16
-
16
+ """
17
+ Support logging in by having the web server set the REMOTE_USER header.
18
+ """
17
19
import logging
18
20
from os .path import join
19
21
Original file line number Diff line number Diff line change 14
14
# License along with NAV. If not, see <http://www.gnu.org/licenses/>.
15
15
#
16
16
"""
17
- Contains web authentication and login functionality for NAV.
18
-
19
- The "*Middleware" is Django-specific.
17
+ Sudo functionality for web authentication in NAV.
20
18
"""
21
19
22
20
import logging
Original file line number Diff line number Diff line change 13
13
# more details. You should have received a copy of the GNU General Public
14
14
# License along with NAV. If not, see <http://www.gnu.org/licenses/>.
15
15
#
16
-
16
+ """
17
+ Utilities for authentication/authorization in NAV that is independent of
18
+ login method.
19
+ """
17
20
import logging
18
21
19
22
from django .conf import settings
You can’t perform that action at this time.
0 commit comments