Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
5197f6c6
Commit
5197f6c6
authored
Nov 28, 2018
by
Lukas Burgey
Browse files
Remove obsolete logging from the auth module
parent
e432e3d2
Changes
3
Hide whitespace changes
Inline
Side-by-side
feudal/backend/auth/v1/models/__init__.py
View file @
5197f6c6
...
...
@@ -162,7 +162,6 @@ class OIDCTokenAuthBackend(object):
try
:
if
issuer_uri
is
not
None
:
LOGGER
.
debug
(
'Attempting to find IdP %s'
,
issuer_uri
)
oidc_client
=
OIDCConfig
.
objects
.
get
(
issuer_uri
=
issuer_uri
)
elif
idp_id
is
not
None
:
...
...
feudal/backend/auth/v1/models/vo.py
View file @
5197f6c6
...
...
@@ -27,7 +27,6 @@ class EntitlementNameSpace(models.Model):
name_space
=
cls
(
name
=
name
,
)
LOGGER
.
info
(
'New EntitlementNameSpace: %s'
,
name
)
name_space
.
save
()
return
name_space
...
...
@@ -88,7 +87,6 @@ class Group(VO):
name
=
name
,
idp
=
idp
,
)
LOGGER
.
info
(
'New Group: %s'
,
name
)
group
.
save
()
return
group
...
...
@@ -187,8 +185,6 @@ class Entitlement(VO):
idp
=
idp
,
)
LOGGER
.
info
(
'New Entitlement: %s'
,
entitlement
.
name
)
name_space_search
=
re
.
search
(
'^(.*):group'
,
name
)
if
name_space_search
:
entitlement
.
name_space
=
EntitlementNameSpace
.
get_name_space
(
name_space_search
.
group
(
1
))
...
...
feudal/backend/auth/v1/views/webpage.py
View file @
5197f6c6
...
...
@@ -159,7 +159,7 @@ class AuthCallback(View):
else
:
# user authenticated -> back to frontend
login
(
request
,
user
)
LOGGER
.
info
(
'
AuthCallback:
IdP %s authenticated user as %s'
,
oidc_config
,
user
)
LOGGER
.
info
(
'IdP %s authenticated user as %s'
,
oidc_config
,
user
)
return
response
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment